Class Configuration


  • public class Configuration
    extends FortEntity
    A class for passing configuration information.
    • Constructor Detail

      • Configuration

        public Configuration()
    • Method Detail

      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getProps

        public Props getProps()
        Gets the value of the Props property. This method is used by Fortress Core and Rest and should not be called by external programs.
        Returns:
        possible object is Props
      • setProps

        public void setProps​(Props value)
        Sets the value of the Props property. This method is used by Fortress Core and Rest and should not be called by external programs.
        Parameters:
        value - allowed object is Props
      • addProperty

        public void addProperty​(String key,
                                String value)
        Add name/value pair to list of properties associated with Configuration node. These values are not constrained by Fortress. Properties are optional.
        Parameters:
        key - contains property name and maps to 'ftProps' attribute in 'ftProperties' aux object class.
        value - The property value to add
      • getProperty

        public String getProperty​(String key)
        Get a name/value pair attribute from list of properties associated with Configuration node. These values are not constrained by Fortress. Properties are optional.
        Parameters:
        key - contains property name and maps to 'ftProps' attribute in 'ftProperties' aux object class.
        Returns:
        value containing name/value pair that maps to 'ftProps' attribute in 'ftProperties' aux object class.
      • addProperties

        public void addProperties​(Properties props)
        Add new collection of name/value pairs to attributes associated with Configuration node. These values are not constrained by Fortress. Properties are optional.
        Parameters:
        props - contains collection of name/value pairs and maps to 'ftProps' attribute in 'ftProperties' aux object class.
      • getProperties

        public Properties getProperties()
        Return the collection of name/value pairs to attributes associated with Configuration node. These values are not constrained by Fortress. Properties are optional.
        Returns:
        Properties contains collection of name/value pairs and maps to 'ftProps' attribute in 'ftProperties' aux object class.
      • getUidNumber

        public String getUidNumber()
      • setUidNumber

        public void setUidNumber​(String uidNumber)
      • getGidNumber

        public String getGidNumber()
      • setGidNumber

        public void setGidNumber​(String gidNumber)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object