Class ProcessBuilder
java.lang.Object
org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
org.odpi.openmetadata.commonservices.generichandlers.ReferenceableBuilder
org.odpi.openmetadata.commonservices.generichandlers.AssetBuilder
org.odpi.openmetadata.commonservices.generichandlers.ProcessBuilder
ProcessBuilder creates the parts of a root repository entity for a process. The default type of this process
is DeployedSoftwareComponent.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.commonservices.generichandlers.ReferenceableBuilder
qualifiedName
Fields inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
errorHandler, existingClassifications, extendedProperties, instanceStatus, newClassifications, repositoryHelper, serverName, serviceName, templateProperties, typeGUID, typeName
-
Method Summary
Modifier and TypeMethodDescriptiongetInstanceProperties
(String methodName) Return the supplied bean properties in an InstanceProperties object.getProcessHierarchyProperties
(int processContainmentOrdinal) Create the properties for the ProcessHierarchy relationship.Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.AssetBuilder
setAssetOwnership, setAssetZones
Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.ReferenceableBuilder
getMementoProperties, getQualifiedName, setMemento, setOwnershipClassification, setSecurityTags, setTemplate
Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
getEntityClassifications, getInstanceProperties, getInstanceStatus, getTypeGUID, getTypeName, isClassificationSet, setAnchors, setClassification, setEffectivityDates, setEffectivityDates, setTemplateClassifications, setTemplateSubstitute, updateInstanceProperties
-
Method Details
-
getProcessHierarchyProperties
public InstanceProperties getProcessHierarchyProperties(int processContainmentOrdinal) throws InvalidParameterException Create the properties for the ProcessHierarchy relationship.- Parameters:
processContainmentOrdinal
- ordinal for the containmentType property- Returns:
- instance properties
- Throws:
InvalidParameterException
- enum type not supported (should not happen)
-
getInstanceProperties
Return the supplied bean properties in an InstanceProperties object.- Overrides:
getInstanceProperties
in classAssetBuilder
- Parameters:
methodName
- name of the calling method- Returns:
- InstanceProperties object
- Throws:
InvalidParameterException
- there is a problem with the properties
-