|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mentata.l3d.L3DAttribute
com.mentata.l3d.L3DDnAttribute
A container for attributes of distinguished name syntax. This subclass of L3DAttribute stores and compares its values as LDAP distinguished names. Upon construction, an instance can be associated with another object in the same context to serve as the target for entries pointed to by its values. L3DDnAttributes can be initialized with identifiers instead of literal distinguished names.
| Constructor Summary | |
L3DDnAttribute()
Constructs an empty distinguished name attribute without a target class. |
|
L3DDnAttribute(String target)
Constructs an empty distinguished name attribute with a defined target class. |
|
| Method Summary | |
String[] |
getShortValues()
Returns the attribute's dn values as identifiers. |
L3DObject |
getTargetObject()
Returns an empty instance of the target object for this dn attribute. |
void |
initialize(String[] initializers)
Sets the attribute's initial values based on a submitted list of identifiers. |
boolean |
isLengthExceeded()
Ignores the length threshold setting for distinguished name values. |
boolean |
same(String one,
String two)
Determines if the given distinguished names are considered equal. |
| Methods inherited from class com.mentata.l3d.L3DAttribute |
addValue, compare, getAttribute, getBind, getContext, getLabel, getLengthThreshold, getName, getObject, getObject, getPrerequisites, getSize, getThreshold, getValues, isBound, isExceeded, isGenerated, isMultivalue, isRequired, removeValue, setGenerated, setLabel, setLengthThreshold, setPrerequisites, setThreshold, setValues |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
equals |
| Constructor Detail |
public L3DDnAttribute()
public L3DDnAttribute(String target)
target - the classname of an L3D object for entries referenced by dn values| Method Detail |
public L3DObject getTargetObject()
throws L3DException
L3DException - if the target object is unspecified or improperly definedpublic boolean isLengthExceeded()
isLengthExceeded in class L3DAttribute
public boolean same(String one,
String two)
same in class L3DAttributeone - one dn value to comparetwo - the other dn value to compare
public String[] getShortValues()
getShortValues in class L3DAttribute
public void initialize(String[] initializers)
throws L3DException
initialize in class L3DAttributeinitializers - entry identifiers to convert to distinguished name values
L3DException - if the target object or an identified entry can't be found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||