Class PropertyGroup


  • public class PropertyGroup
    extends Object
    Class representing a property group.
    Since:
    0.1.0
    Author:
    nandorholozsnyak
    • Constructor Detail

      • PropertyGroup

        public PropertyGroup​(String groupName,
                             String type,
                             String sourceType)
    • Method Detail

      • getType

        public String getType()
      • setProperties

        public void setProperties​(List<Property> properties)
      • setParentGroup

        public void setParentGroup​(PropertyGroup parentGroup)
      • isNested

        public boolean isNested()
      • setNested

        public void setNested​(boolean nested)
      • getGroupName

        public String getGroupName()
      • getSourceType

        public String getSourceType()
      • addChildGroup

        public void addChildGroup​(PropertyGroup childGroup)
        Add a new child group.
        Parameters:
        childGroup - group to be added as a new child.
      • addProperty

        public void addProperty​(Property property)
        Add a new property to the property group.
        Parameters:
        property - new property.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object