Class MetadataElementBuilder
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
-
- org.odpi.openmetadata.accessservices.governanceengine.handlers.MetadataElementBuilder
-
public class MetadataElementBuilder extends OpenMetadataAPIGenericBuilder
MetadataElementBuilder is able to build the properties for an entity that extends OpenMetadataRoot. It works with property maps for the properties and relies on the validation in the repository services to ensure that only valid properties are stored.
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
errorHandler, existingClassifications, extendedProperties, instanceStatus, newClassifications, repositoryHelper, serverName, serviceName, templateProperties, typeGUID, typeName
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstancePropertiesgetInstanceProperties(String methodName)Return the supplied bean properties in an InstanceProperties object.-
Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
getEntityClassificationProperties, getEntityClassifications, getExistingEntityClassificationHeader, getInstanceProperties, getInstanceStatus, getTypeGUID, getTypeName, setAnchors, setClassification, setEffectivityDates, setEffectivityDates, setLatestChange, setTemplateClassifications, updateInstanceProperties, updateInstanceProperties
-
-
-
-
Method Detail
-
getInstanceProperties
public InstanceProperties getInstanceProperties(String methodName) throws InvalidParameterException
Return the supplied bean properties in an InstanceProperties object.- Overrides:
getInstancePropertiesin classOpenMetadataAPIGenericBuilder- Parameters:
methodName- name of the calling method- Returns:
- InstanceProperties object
- Throws:
InvalidParameterException- there is a problem with the properties
-
-