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.
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
errorHandler, existingClassifications, extendedProperties, instanceStatus, newClassifications, repositoryHelper, serverName, serviceName, templateProperties, typeGUID, typeName
-
-
Constructor Summary
Constructors Constructor Description ContactDetailsBuilder(int contactMethodType, String contactMethodService, String contactMethodValue, OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstancePropertiesgetInstanceProperties(String methodName)Return the supplied bean properties in an InstanceProperties object.-
Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
getEntityClassificationProperties, getEntityClassifications, getExistingEntityClassificationHeader, getInstanceProperties, getInstanceStatus, getTypeGUID, getTypeName, setAnchors, setClassification, setEffectivityDates, setEffectivityDates, setLatestChange, setTemplateClassifications, updateInstanceProperties
-
-
-
-
Constructor Detail
-
ContactDetailsBuilder
public ContactDetailsBuilder(int contactMethodType, String contactMethodService, String contactMethodValue, OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName)Constructor.- Parameters:
contactMethodType- type of contact methodcontactMethodService- service to callcontactMethodValue- identity of recipient for this servicerepositoryHelper- helper methodsserviceName- name of this OMASserverName- name of local server
-
-
Method Detail
-
getInstanceProperties
public InstanceProperties getInstanceProperties(String methodName) throws InvalidParameterException
Return the supplied bean properties in an InstanceProperties object.- Overrides:
getInstancePropertiesin classOpenMetadataAPIGenericBuilder- Parameters:
methodName- name of the calling method- Returns:
- InstanceProperties object
- Throws:
InvalidParameterException- there is a problem with the properties
-
-