Class ContactDetailsBuilder
java.lang.Object
org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
org.odpi.openmetadata.commonservices.generichandlers.ContactDetailsBuilder
ContactDetailsBuilder is able to build the properties for a ContactDetails entity.
-
Constructor Summary
ConstructorsConstructorDescriptionContactDetailsBuilder(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. -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstancePropertiesgetInstanceProperties(String methodName) Return the supplied bean properties in an InstanceProperties object.Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
getEntityClassifications, getInstanceProperties, getInstanceStatus, getTypeGUID, getTypeName, isClassificationSet, setAnchors, setAnchors, setClassification, setEffectivityDates, setTemplateClassifications, setTemplateSubstitute
-
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 numbercontactType- type of contact eg "Office phone number" - typically controlled from a valid value setcontactMethodType- type of contact methodcontactMethodService- service to callcontactMethodValue- identity of recipient for this servicerepositoryHelper- helper methodsserviceName- name of this OMASserverName- 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:
getInstancePropertiesin classOpenMetadataAPIGenericBuilder- 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
-