Class MetadataElementBuilder
java.lang.Object
org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
org.odpi.openmetadata.frameworkservices.gaf.handlers.MetadataElementBuilder
public class MetadataElementBuilder
extends org.odpi.openmetadata.commonservices.generichandlers.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.
-
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstancePropertiesgetInstanceProperties(String methodName) Return the supplied bean properties in an InstanceProperties object.Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
getEntityClassifications, getInstanceProperties, getInstanceStatus, getTypeGUID, getTypeName, isClassificationSet, setAnchors, setClassification, setEffectivityDates, setTemplateClassifications, setTemplateSubstitute
-
Method Details
-
getInstanceProperties
public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProperties getInstanceProperties(String methodName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Return the supplied bean properties in an InstanceProperties object.- Overrides:
getInstancePropertiesin classorg.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder- Parameters:
methodName- name of the calling method- Returns:
- InstanceProperties object
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- there is a problem with the properties
-