Class EnumPropertyValue

    • Constructor Detail

      • EnumPropertyValue

        public EnumPropertyValue()
        Default constructor initializes an empty enum value
      • EnumPropertyValue

        public EnumPropertyValue​(EnumPropertyValue template)
        Copy/clone constructor initializes the enum with the values from the template.
        Parameters:
        template - EnumPropertyValue to copy
    • Method Detail

      • getOrdinal

        public int getOrdinal()
        Return the integer ordinal for this enum.
        Returns:
        int ordinal
      • setOrdinal

        public void setOrdinal​(int ordinal)
        Set the integer ordinal for this enum.
        Parameters:
        ordinal - int
      • getSymbolicName

        public String getSymbolicName()
        Return the symbolic name for this enum value.
        Returns:
        String symbolic name
      • setSymbolicName

        public void setSymbolicName​(String symbolicName)
        Set up the symbolic name for this enum value.
        Parameters:
        symbolicName - String symbolic name
      • getDescription

        public String getDescription()
        Return the description for this enum.
        Returns:
        String description
      • setDescription

        public void setDescription​(String description)
        Set up the description for this enum.
        Parameters:
        description - String description
      • equals

        public boolean equals​(Object objectToCompare)
        Validate that an object is equal depending on their stored values.
        Overrides:
        equals in class InstancePropertyValue
        Parameters:
        objectToCompare - object
        Returns:
        boolean result
      • hashCode

        public int hashCode()
        Return a hash code based on the values of this object.
        Overrides:
        hashCode in class InstancePropertyValue
        Returns:
        in hash code