Class ContactMethodProperties
java.lang.Object
org.odpi.openmetadata.accessservices.projectmanagement.properties.ContactMethodProperties
- All Implemented Interfaces:
Serializable
ContactMethodProperties describes a single mechanism that can be used to contact an individual.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the URL of the service used to contact the individual.Return the type of the contact method.Return the account name or similar value used to direct the message to the individual.Return the type of contact - is it related to work or personal etc.Return the date/time that this element is effective from (null means effective from the epoch).Return the date/time that element is effective to (null means that it is effective indefinitely into the future).Return the properties that have been defined for a subtype of this object that are not supported explicitly by this bean.getName()
Return the name to give this contact method (imagine a list of contact methods).Return the name of the open metadata type for this metadata element.int
hashCode()
Hash code for this objectvoid
setContactMethodService
(String contactMethodService) Set up theURL of the service used to contact the individual.void
setContactMethodType
(ContactMethodType contactMethodType) Set up the type of the contact method.void
setContactMethodValue
(String contactMethodValue) Set up the account name or similar value used to direct the message to the individual.void
setContactType
(String contactType) Set up the type of contact - is it related to work or personal etc.void
setEffectiveFrom
(Date effectiveFrom) Set up the date/time that this element is effective from (null means effective from the epoch).void
setEffectiveTo
(Date effectiveTo) Set the date/time that element is effective to (null means that it is effective indefinitely into the future).void
setExtendedProperties
(Map<String, Object> extendedProperties) Set up the properties that have been defined for a subtype of this object that are not supported explicitly by this bean.void
Set up the name to give this contact method (imagine a list of contact methods).void
setTypeName
(String typeName) Set up the name of the open metadata type for this element.toString()
JSON-style toString.
-
Constructor Details
-
ContactMethodProperties
public ContactMethodProperties()Default constructor -
ContactMethodProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getName
Return the name to give this contact method (imagine a list of contact methods).- Returns:
- string
-
setName
Set up the name to give this contact method (imagine a list of contact methods).- Parameters:
name
- string
-
getContactType
Return the type of contact - is it related to work or personal etc.- Returns:
- string type name - often controlled by a valid value set
-
setContactType
Set up the type of contact - is it related to work or personal etc.- Parameters:
contactType
- string type name - often controlled by a valid value set
-
getContactMethodType
Return the type of the contact method.- Returns:
- contact method type enum
-
setContactMethodType
Set up the type of the contact method.- Parameters:
contactMethodType
- contact method type enum
-
getContactMethodService
Return the URL of the service used to contact the individual.- Returns:
- service URL
-
setContactMethodService
Set up theURL of the service used to contact the individual.- Parameters:
contactMethodService
- service URL
-
getContactMethodValue
Return the account name or similar value used to direct the message to the individual.- Returns:
- value string
-
setContactMethodValue
Set up the account name or similar value used to direct the message to the individual.- Parameters:
contactMethodValue
- value string
-
getEffectiveFrom
Return the date/time that this element is effective from (null means effective from the epoch).- Returns:
- date object
-
setEffectiveFrom
Set up the date/time that this element is effective from (null means effective from the epoch).- Parameters:
effectiveFrom
- date object
-
getEffectiveTo
Return the date/time that element is effective to (null means that it is effective indefinitely into the future).- Returns:
- date object
-
setEffectiveTo
Set the date/time that element is effective to (null means that it is effective indefinitely into the future).- Parameters:
effectiveTo
- date object
-
getTypeName
Return the name of the open metadata type for this metadata element.- Returns:
- string name
-
setTypeName
Set up the name of the open metadata type for this element.- Parameters:
typeName
- string name
-
getExtendedProperties
Return the properties that have been defined for a subtype of this object that are not supported explicitly by this bean.- Returns:
- property map
-
setExtendedProperties
Set up the properties that have been defined for a subtype of this object that are not supported explicitly by this bean.- Parameters:
extendedProperties
- property map
-
toString
JSON-style toString. -
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Hash code for this object
-