com.mentata.sg8
Class SG8ReverseNestAttribute

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

public class SG8ReverseNestAttribute
extends SG8NestAttribute
implements L3DGenerated

An attribute representing associated values from a dn lookup for use with SG8 objects. This attribute type implements L3DGenerated to derive pointers to all entries of a defined target object that have the containing object's distinguished name as a value in a specified distinguished name attribute. For HTML output, results are translated to a list that nests the values of an additional attribute for each matching entry. This attribute type can represent a tree with recursive descent if the second attribute is also a nest attribute.

Since:
0.7
Author:
Jon Roberts

Field Summary
 
Fields inherited from interface com.mentata.sg8.SG8Attribute
TEXT_RESOURCES
 
Constructor Summary
SG8ReverseNestAttribute(String object, String attribute, String nested)
          Constructs an empty reverse nest 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.SG8NestAttribute
getHTMLValues
 
Methods inherited from class com.mentata.sg8.SG8DnAttribute
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

SG8ReverseNestAttribute

public SG8ReverseNestAttribute(String object,
                               String attribute,
                               String nested)
Constructs an empty reverse nest attribute with a named target object and attribute.

Parameters:
object - the name of the target object
attribute - the name of the target dn attribute
nested - the name of the attribute to include as nested
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