Class StructPropertyValue

  • All Implemented Interfaces:
    Serializable

    public class StructPropertyValue
    extends InstancePropertyValue
    StructPropertyValue supports the value part of property that is defined as a complex structure. It manages a list of properties that cover the fields in the structure.
    See Also:
    Serialized Form
    • Constructor Detail

      • StructPropertyValue

        public StructPropertyValue()
        Default constructor set StructPropertyValue to null.
      • StructPropertyValue

        public StructPropertyValue​(StructPropertyValue template)
        Copy/clone constructor sets up the values based on the template.
        Parameters:
        template - StructPropertyValue to copy.
    • Method Detail

      • getAttributes

        public InstanceProperties getAttributes()
        Return the attributes that make up the fields of the struct.
        Returns:
        attributes InstanceProperties iterator
      • setAttributes

        public void setAttributes​(InstanceProperties attributes)
        Set up the attributes that make up the fields of the struct.
        Parameters:
        attributes - InstanceProperties iterator
      • 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 property values
        Overrides:
        hashCode in class InstancePropertyValue
        Returns:
        int hash code