Class ReferenceableBuilder
java.lang.Object
org.odpi.openmetadata.commonservices.ocf.metadatamanagement.builders.RootBuilder
org.odpi.openmetadata.commonservices.ocf.metadatamanagement.builders.ReferenceableBuilder
- Direct Known Subclasses:
SchemaTypeBuilder
ReferenceableBuilder creates Open Metadata Repository Services (OMRS) objects based on the
bean properties supplied in the constructor.
-
Constructor Summary
ConstructorsConstructorDescriptionReferenceableBuilder(org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable beanProperties, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName) Constructor for classifications. -
Method Summary
Modifier and TypeMethodDescriptionList<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification>getEntityClassifications(String userId, String methodName) Return a list of entity classifications that can be stored in the metadata repository.org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstancePropertiesgetInstanceProperties(String methodName) Return the supplied bean properties in an InstanceProperties object.org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstancePropertiesgetNameInstanceProperties(String methodName) Return the supplied bean properties that represent a name in an InstanceProperties object for search.org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstancePropertiesgetQualifiedNameInstanceProperties(String methodName) Return the supplied bean properties that represent a name in an InstanceProperties object for search.org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstancePropertiesgetSearchInstanceProperties(String methodName) Return the supplied bean properties that represent a name in an InstanceProperties object.Methods inherited from class org.odpi.openmetadata.commonservices.ocf.metadatamanagement.builders.RootBuilder
getEntityClassifications, setClassifications
-
Constructor Details
-
ReferenceableBuilder
public ReferenceableBuilder(org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable beanProperties, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Constructor for classifications.- Parameters:
beanProperties- properties and headerrepositoryHelper- helper methodsserviceName- name of this OMASserverName- name of local server- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- bad properties in bean classifications
-
-
Method Details
-
getTypeId
-
getTypeName
-
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.- 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
-
getNameInstanceProperties
public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProperties getNameInstanceProperties(String methodName) Return the supplied bean properties that represent a name in an InstanceProperties object for search.- Parameters:
methodName- name of the calling method- Returns:
- InstanceProperties object
-
getQualifiedNameInstanceProperties
public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProperties getQualifiedNameInstanceProperties(String methodName) Return the supplied bean properties that represent a name in an InstanceProperties object for search.- Parameters:
methodName- name of the calling method- Returns:
- InstanceProperties object
-
getSearchInstanceProperties
public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProperties getSearchInstanceProperties(String methodName) Return the supplied bean properties that represent a name in an InstanceProperties object.- Parameters:
methodName- name of the calling method- Returns:
- InstanceProperties object
-
getEntityClassifications
public List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification> getEntityClassifications(String userId, String methodName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Return a list of entity classifications that can be stored in the metadata repository.- Parameters:
userId- calling usermethodName- calling method- Returns:
- list of entity classification objects
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- the properties of the classification are flawed
-