Class UpdateEffectivityDatesRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceengine.rest.UpdateEffectivityDatesRequestBody
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UpdateStatusRequestBody
public class UpdateEffectivityDatesRequestBody extends Object implements Serializable
UpdateEffectivityDatesRequestBody provides a structure for passing the effectivity dates for a metadata element, classification or relationship.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateEffectivityDatesRequestBody()Default constructorUpdateEffectivityDatesRequestBody(UpdateEffectivityDatesRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.DategetEffectiveFrom()Return the date/time that this new element becomes effective in the governance program (null means immediately).DategetEffectiveTo()Return the date/time when the new element is no longer effective in the governance program (null means until deleted).inthashCode()Return hash code for this objectvoidsetEffectiveFrom(Date effectiveFrom)Set up the date/time that this new element becomes effective in the governance program (null means immediately).voidsetEffectiveTo(Date effectiveTo)Set up the date/time when the new element is no longer effective in the governance program (null means until deleted).StringtoString()JSON-style toString.
-
-
-
Constructor Detail
-
UpdateEffectivityDatesRequestBody
public UpdateEffectivityDatesRequestBody()
Default constructor
-
UpdateEffectivityDatesRequestBody
public UpdateEffectivityDatesRequestBody(UpdateEffectivityDatesRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getEffectiveFrom
public Date getEffectiveFrom()
Return the date/time that this new element becomes effective in the governance program (null means immediately).- Returns:
- date object
-
setEffectiveFrom
public void setEffectiveFrom(Date effectiveFrom)
Set up the date/time that this new element becomes effective in the governance program (null means immediately).- Parameters:
effectiveFrom- date object
-
getEffectiveTo
public Date getEffectiveTo()
Return the date/time when the new element is no longer effective in the governance program (null means until deleted).- Returns:
- date object
-
setEffectiveTo
public void setEffectiveTo(Date effectiveTo)
Set up the date/time when the new element is no longer effective in the governance program (null means until deleted).- Parameters:
effectiveTo- date object
-
toString
public String toString()
JSON-style toString.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
-
-