Class Suffix
- java.lang.Object
-
- org.apache.directory.fortress.core.model.Suffix
-
public class Suffix extends Object
A class storing the suffix information
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDc()
Get top level domain component specifier, i.e.String
getDc2()
Get top level domain component specifier, i.e.String
getDescription()
Get the description for the domain component.String
getName()
Get the second level qualifier on the domain component.void
setDc(String dc)
Set top level domain component specifier, i.e.void
setDc2(String dc2)
Get top level domain component specifier, i.e.void
setDescription(String description)
Set the description for the domain component.void
setName(String name)
Set the second level qualifier on the domain component.String
toString()
-
-
-
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.
-
Suffix
public Suffix()
Default constructor used byFortressAntTask
-
-
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.
-
toString
public String toString()
- Overrides:
toString
in classObject
- See Also:
Object.toString()
-
-