com.mentata.sg8
Class SG8ReverseDnAttribute

java.lang.Object
  extended bycom.mentata.l3d.L3DAttribute
      extended bycom.mentata.l3d.L3DDnAttribute
          extended bycom.mentata.sg8.SG8DnAttribute
              extended bycom.mentata.sg8.SG8ReverseDnAttribute
All Implemented Interfaces:
Comparator, L3DGenerated, SG8Attribute

public class SG8ReverseDnAttribute
extends SG8DnAttribute
implements L3DGenerated

An attribute representing associated values from a dn lookup for use with SG8 objects. This class is a generated attribute that finds pointers to the current entry elsewhere in the database. Its constructor accepts arguments for a target object and distinguished name syntax attribute. Values are generated by searching the target attribute in target objects for the containing object's own distinguished name.

Since:
0.7
Author:
Jon Roberts

Field Summary
 
Fields inherited from interface com.mentata.sg8.SG8Attribute
TEXT_RESOURCES
 
Constructor Summary
SG8ReverseDnAttribute(String object, String attribute)
          Constructs an empty reverse dn attribute with a named target object and attribute.
 
Method Summary
 void generate()
          Generates values by searching the target attribute for the dn of the containing object.
 
Methods inherited from class com.mentata.sg8.SG8DnAttribute
getHTMLValues, getHyperlink, getMailTo, getSeparator, getSG8Object, getSG8Target, getUpdateHTML, isAugmenting, isHTMLExceeded, processUpdateHTML, setAugmenting, setHTMLThreshold, setSeparator
 
Methods inherited from class com.mentata.l3d.L3DDnAttribute
getShortValues, getTargetObject, initialize, isLengthExceeded, same
 
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

SG8ReverseDnAttribute

public SG8ReverseDnAttribute(String object,
                             String attribute)
Constructs an empty reverse dn attribute with a named target object and attribute.

Parameters:
object - the name of the target object
attribute - the name of the target dn attribute
Method Detail

generate

public void generate()
Generates values by searching the target attribute for the dn of the containing object.

Specified by:
generate in interface L3DGenerated