Class UpdateEffectivityDatesRequestBody

  • All Implemented Interfaces:
    Serializable

    public class UpdateEffectivityDatesRequestBody
    extends UpdateRequestBody
    UpdateEffectivityDatesRequestBody provides a structure for passing the effectivity dates for a metadata element, classification or relationship.
    See Also:
    Serialized Form
    • 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
      • equals

        public boolean equals​(Object objectToCompare)
        Equals method that returns true if containing properties are the same.
        Overrides:
        equals in class UpdateRequestBody
        Parameters:
        objectToCompare - object to compare
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Return hash code for this object
        Overrides:
        hashCode in class UpdateRequestBody
        Returns:
        int hash code