Class EffectiveDatesRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveDatesRequestBody
- Direct Known Subclasses:
AssetExtensionsRequestBody
ExternalSourceRequestBody carries the parameters for marking an asset or schema as external.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/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).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).toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
Constructor Details
-
EffectiveDatesRequestBody
public EffectiveDatesRequestBody()Default constructor -
EffectiveDatesRequestBody
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
-
toString
JSON-style toString- Overrides:
toString
in classExternalSourceRequestBody
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classExternalSourceRequestBody
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classExternalSourceRequestBody
- Returns:
- int hash code
-