java.lang.Object
org.odpi.openmetadata.commonservices.ocf.metadatamanagement.builders.RootBuilder
Direct Known Subclasses:
ReferenceableBuilder

public class RootBuilder extends Object
RootBuilder provides the super class for builders. Builders create Open Metadata Repository Services (OMRS) objects based on the bean properties supplied in the constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification>
    Return a list of entity classifications that can be stored in the metadata repository.
    void
    setClassifications(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementClassification> classifications)
    Set up the classifications associated with the entity.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • setClassifications

      public void setClassifications(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementClassification> classifications)
      Set up the classifications associated with the entity.
      Parameters:
      classifications - list of classification objects
    • getEntityClassifications

      public List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification> getEntityClassifications(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:
      methodName - calling method
      Returns:
      list of entity classification objects
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the properties of the classification are flawed