Class ListProperty

    • Field Detail

      • list

        protected final java.util.List<Property> list
        Vector containing the list of sub-properties
    • Constructor Detail

      • ListProperty

        protected ListProperty()
        Simple constructor used by subclasses to do some special processing.
      • ListProperty

        public ListProperty​(Property prop)
        Create a new instance, using the given Property as the first element in the list.
        Parameters:
        prop - the first property to be added to the list
    • Method Detail

      • addProperty

        public void addProperty​(Property prop)
        Add a new property to the list
        Parameters:
        prop - Property to be added to the list
      • getList

        public java.util.List<Property> getList()
        Return the java.util.List of Property instances contained in this property.
        Overrides:
        getList in class Property
        Returns:
        the list of properties contained in this instance
      • getObject

        public java.lang.Object getObject()
        Return the java.util.List of Property instances, cast as a java.lang.Object.
        Overrides:
        getObject in class Property
        Returns:
        this.list cast as an Object
      • hashCode

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

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