Class SchemaTypeConverter
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.ocf.metadatamanagement.converters.ElementHeaderConverter
-
- org.odpi.openmetadata.commonservices.ocf.metadatamanagement.converters.ReferenceableConverter
-
- org.odpi.openmetadata.commonservices.ocf.metadatamanagement.converters.SchemaTypeConverter
-
public class SchemaTypeConverter extends ReferenceableConverter
SchemaTypeConverter transfers the relevant properties from an Open Metadata Repository Services (OMRS) EntityDetail object into an SchemaType bean.
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.commonservices.ocf.metadatamanagement.converters.ElementHeaderConverter
entity, relationship, repositoryHelper, serverName, serviceName, typeName
-
-
Constructor Summary
Constructors Constructor Description SchemaTypeConverter(String typeName, InstanceProperties properties, int schemaAttributeCount, OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName)Constructor captures the initial content - it is used when theSchemaTypeConverter(EntityDetail entity, int schemaAttributeCount, OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName)Constructor captures the initial content
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchemaTypegetBean()Request the bean is extracted from the repository entity.-
Methods inherited from class org.odpi.openmetadata.commonservices.ocf.metadatamanagement.converters.ReferenceableConverter
getClassificationProperties, updateBean
-
Methods inherited from class org.odpi.openmetadata.commonservices.ocf.metadatamanagement.converters.ElementHeaderConverter
setTypeName, updateBean
-
-
-
-
Constructor Detail
-
SchemaTypeConverter
public SchemaTypeConverter(String typeName, InstanceProperties properties, int schemaAttributeCount, OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName)
Constructor captures the initial content - it is used when the- Parameters:
typeName- type name of bean to manufactureproperties- properties to convertschemaAttributeCount- number of attributes nested inside this schema typerepositoryHelper- helper object to parse entity/relationship objectsserviceName- name of this componentserverName- called server
-
SchemaTypeConverter
public SchemaTypeConverter(EntityDetail entity, int schemaAttributeCount, OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName)
Constructor captures the initial content- Parameters:
entity- schema type entityschemaAttributeCount- number of attributes nested inside this schema typerepositoryHelper- helper object to parse entity/relationship objectsserviceName- name of this componentserverName- called server
-
-
Method Detail
-
getBean
public SchemaType getBean()
Request the bean is extracted from the repository entity.- Overrides:
getBeanin classReferenceableConverter- Returns:
- output bean
-
-