Class SchemaTypeConverter


  • public class SchemaTypeConverter
    extends ReferenceableConverter
    SchemaTypeConverter transfers the relevant properties from an Open Metadata Repository Services (OMRS) EntityDetail object into an SchemaType bean.
    • 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 manufacture
        properties - properties to convert
        schemaAttributeCount - number of attributes nested inside this schema type
        repositoryHelper - helper object to parse entity/relationship objects
        serviceName - name of this component
        serverName - called server
      • SchemaTypeConverter

        public SchemaTypeConverter​(EntityDetail entity,
                                   int schemaAttributeCount,
                                   OMRSRepositoryHelper repositoryHelper,
                                   String serviceName,
                                   String serverName)
        Constructor captures the initial content
        Parameters:
        entity - schema type entity
        schemaAttributeCount - number of attributes nested inside this schema type
        repositoryHelper - helper object to parse entity/relationship objects
        serviceName - name of this component
        serverName - called server