Class Suffix


  • public class Suffix
    extends Object
    A class storing the suffix information
    • Constructor Detail

      • Suffix

        public Suffix​(String dc,
                      String name,
                      String description)
        Generate instance of suffix to be loaded as domain component ldap object.
        Parameters:
        dc - top level domain component maps to 'dc' (i.e. 'com') attribute in 'dcObject' object class.
        name - second level domain component name maps to attribute in 'dcObject' object class.
        description - maps to 'o' attribute in 'dcObject' object class.
    • Method Detail

      • getName

        public String getName()
        Get the second level qualifier on the domain component. This attribute is required.
        Returns:
        name maps to 'dcObject' object class.
      • setName

        public void setName​(String name)
        Set the second level qualifier on the domain component. This attribute is required.
        Parameters:
        name - maps to 'dcObject' object class.
      • getDescription

        public String getDescription()
        Get the description for the domain component. This value is not required or constrained but is validated on reasonability.
        Returns:
        field maps to 'o' attribute on 'dcObject'.
      • setDescription

        public void setDescription​(String description)
        Set the description for the domain component. This value is not required or constrained but is validated on reasonability.
        Parameters:
        description - maps to 'o' attribute on 'dcObject'.
      • getDc

        public String getDc()
        Get top level domain component specifier, i.e. dc=com. This attribute is required.
        Returns:
        dc maps to 'dc' in 'dcObject' object class.
      • setDc

        public void setDc​(String dc)
        Set top level domain component specifier, i.e. dc=com. This attribute is required.
        Parameters:
        dc - maps to 'dc' in 'dcObject' object class.
      • getDc2

        public String getDc2()
        Get top level domain component specifier, i.e. dc=com for a three part dc structure. This attribute is optional.
        Returns:
        dc maps to 'dc' in 'dcObject' object class.
      • setDc2

        public void setDc2​(String dc2)
        Get top level domain component specifier, i.e. dc=com for three part dc structure. This attribute is optional.