Class AppointmentProperties
java.lang.Object
org.odpi.openmetadata.accessservices.securitymanager.properties.AppointmentProperties
- All Implemented Interfaces:
Serializable
MetadataSourceRequestBody carries the parameters for marking an asset or schema as external.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorAppointmentProperties
(AppointmentProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.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).boolean
Return if the contents of this profile be shared with colleagues.int
hashCode()
Return hash code for this objectvoid
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
setIsPublic
(boolean isPublic) Set up if the contents of this profile be shared with colleagues.toString()
JSON-style toString
-
Constructor Details
-
AppointmentProperties
public AppointmentProperties()Default constructor -
AppointmentProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
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
-
getIsPublic
public boolean getIsPublic()Return if the contents of this profile be shared with colleagues.- Returns:
- flag
-
setIsPublic
public void setIsPublic(boolean isPublic) Set up if the contents of this profile be shared with colleagues.- Parameters:
isPublic
- flag
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-