Class ContactDetailsBuilder

java.lang.Object
org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
org.odpi.openmetadata.commonservices.generichandlers.ContactDetailsBuilder

public class ContactDetailsBuilder extends OpenMetadataAPIGenericBuilder
ContactDetailsBuilder is able to build the properties for a ContactDetails entity.
  • Constructor Details

    • ContactDetailsBuilder

      public ContactDetailsBuilder(String name, String contactType, int contactMethodType, String contactMethodService, String contactMethodValue, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName)
      Constructor.
      Parameters:
      name - name of this contact method - eg my office phone number
      contactType - type of contact eg "Office phone number" - typically controlled from a valid value set
      contactMethodType - type of contact method
      contactMethodService - service to call
      contactMethodValue - identity of recipient for this service
      repositoryHelper - helper methods
      serviceName - name of this OMAS
      serverName - name of local server
  • Method Details

    • 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 OpenMetadataAPIGenericBuilder
      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