Class GlossaryCategoryBuilder


public class GlossaryCategoryBuilder extends ReferenceableBuilder
GlossaryCategoryBuilder creates the parts for an entity that represents a glossary category.
  • Constructor Details

    • GlossaryCategoryBuilder

      public GlossaryCategoryBuilder(String qualifiedName, String displayName, String description, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName)
      Create constructor
      Parameters:
      qualifiedName - unique name for the glossary category
      displayName - short display name for the glossary category
      description - description of the glossary category
      repositoryHelper - helper methods
      serviceName - name of this OMAS
      serverName - name of local server
  • Method Details

    • setRootCategory

      public void setRootCategory(String userId, String methodName) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException
      Set up the "RootCategory" classification for this entity. This is used when a new entity is being created, and it is known to be a root category.
      Parameters:
      userId - calling user
      methodName - calling method
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - unable to set classification
    • getInstanceProperties

      public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProperties getInstanceProperties(String methodName) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException
      Return the supplied bean properties in an InstanceProperties object.
      Overrides:
      getInstanceProperties in class ReferenceableBuilder
      Parameters:
      methodName - name of the calling method
      Returns:
      InstanceProperties object
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - there is a problem with the properties