Class TypeDefProperties

  • All Implemented Interfaces:
    Serializable

    public class TypeDefProperties
    extends TypeDefElementHeader
    The TypeDefProperties class provides support for arbitrary properties that belong to a TypeDef object. It is used for searching the TypeDefs. It wraps a java.util.Map map object built around HashMap.
    See Also:
    Serialized Form
    • Constructor Detail

      • TypeDefProperties

        public TypeDefProperties()
        Default constructor.
      • TypeDefProperties

        public TypeDefProperties​(TypeDefProperties templateProperties)
        Copy/clone constructor.
        Parameters:
        templateProperties - template object to copy.
    • Method Detail

      • getTypeDefProperties

        public Map<String,​Object> getTypeDefProperties()
        Return the list of property names.
        Returns:
        List of String property names
      • setTypeDefProperties

        public void setTypeDefProperties​(Map<String,​Object> typeDefProperties)
        Set up the list of property names.
        Parameters:
        typeDefProperties - list of property names
      • toString

        public String toString()
        Standard toString method.
        Overrides:
        toString in class Object
        Returns:
        JSON style description of variables.
      • equals

        public boolean equals​(Object objectToCompare)
        Validate that an object is equal depending on their stored values.
        Overrides:
        equals in class Object
        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 Object
        Returns:
        in hash code