Class AbstractEnumConfiguration

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    EnumConfiguration, EnumKeyConfiguration

    public abstract class AbstractEnumConfiguration
    extends java.lang.Object
    implements java.io.Serializable
    Defines the abstract enum configuration
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractEnumConfiguration()
      Constructor for AbstractEnumConfiguration
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getDescription()
      Get the configuration description
      java.time.Instant getValidFrom()
      Get the valid from
      java.time.Instant getValidTill()
      Get the valid till
      int hashCode()  
      void setDescription​(java.lang.String description)
      Set the configuration description
      void setValidFrom​(java.time.Instant validFrom)
      Set the valid from
      void setValidTill​(java.time.Instant validTill)
      Set the valid till
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractEnumConfiguration

        public AbstractEnumConfiguration()
        Constructor for AbstractEnumConfiguration
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Get the configuration description
        Returns:
        the configuration description
      • setDescription

        public void setDescription​(java.lang.String description)
        Set the configuration description
        Parameters:
        description - the configuration description
      • getValidFrom

        public java.time.Instant getValidFrom()
        Get the valid from
        Returns:
        the valid from
      • setValidFrom

        public void setValidFrom​(java.time.Instant validFrom)
        Set the valid from
        Parameters:
        validFrom - the valid from
      • getValidTill

        public java.time.Instant getValidTill()
        Get the valid till
        Returns:
        the valid till
      • setValidTill

        public void setValidTill​(java.time.Instant validTill)
        Set the valid till
        Parameters:
        validTill - the valid till
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)