Class EnumConfiguration<T extends EnumKeyConfiguration>

    • Field Detail

      • MAX_TIMESTAMP_STRING

        public static final java.lang.String MAX_TIMESTAMP_STRING
        Defines the max timestamp
        See Also:
        Constant Field Values
      • MAX_DATE_STRING

        public static final java.lang.String MAX_DATE_STRING
        Defines the max date
        See Also:
        Constant Field Values
      • MAX_TIME_STRING

        public static final java.lang.String MAX_TIME_STRING
        Defines the max time
        See Also:
        Constant Field Values
    • Constructor Detail

      • EnumConfiguration

        public EnumConfiguration()
        Constructor
      • EnumConfiguration

        public EnumConfiguration​(java.lang.String name)
        Constructor
        Parameters:
        name - the name
    • Method Detail

      • getName

        public java.lang.String getName()
        Get the configuration name
        Returns:
        the configuration name
      • setName

        public void setName​(java.lang.String name)
        Set the configuration name
        Parameters:
        name - the configuration name
      • setKeyList

        public <K extends EnumKeyConfiguration> void setKeyList​(java.util.Set<K> keyList)
        Set the key list
        Type Parameters:
        K - The generic type
        Parameters:
        keyList - the key list.
      • getKeyList

        public java.util.Set<T> getKeyList()
        Get the key list
        Returns:
        the key list
      • setInterfaceList

        public void setInterfaceList​(java.util.Set<java.lang.String> interfaceList)
        Set the interface list
        Parameters:
        interfaceList - the interface list
      • getInterfaceList

        public java.util.Set<java.lang.String> getInterfaceList()
        Get the interface list
        Returns:
        the interface list
      • setMarkerInterfaceList

        public void setMarkerInterfaceList​(java.util.Set<java.lang.String> markerInterfaceList)
        Set the marker interface list
        Parameters:
        markerInterfaceList - the marker interface list
      • getMarkerInterfaceList

        public java.util.Set<java.lang.String> getMarkerInterfaceList()
        Get the marker interface list
        Returns:
        the marker interface list
      • add

        public T add​(T enumKeyConfiguration)
        Adds an EnumKeyConfiguration and corrects validFrom / validTill in case it's not consistent regarding the parent element.
        Parameters:
        enumKeyConfiguration - the EnumKeyConfiguration
        Returns:
        the added enum value configuration
        Throws:
        java.lang.IllegalArgumentException - In case the key doesn't exist
      • equals

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()