edu.internet2.middleware.grouper.attr
Class AttributeDefNameSetDelegate

java.lang.Object
  extended by edu.internet2.middleware.grouper.attr.AttributeDefNameSetDelegate
All Implemented Interfaces:
java.io.Serializable

public class AttributeDefNameSetDelegate
extends java.lang.Object
implements java.io.Serializable

delegate the attribute def name set

See Also:
Serialized Form

Constructor Summary
AttributeDefNameSetDelegate(AttributeDefName attributeDefName1)
           
 
Method Summary
 boolean addToAttributeDefNameSet(AttributeDefName newAttributeDefName)
          for instance if the argument is arts and sciences, and this is all, then calling this will allow all to imply arts and sciences
 java.util.Set<java.lang.String> getAttributeDefNameNamesImpliedByThis()
          get attribute def names implied by this
 java.util.Set<java.lang.String> getAttributeDefNameNamesImpliedByThisImmediate()
          get attribute def names implied by this immediate
 java.util.Set<java.lang.String> getAttributeDefNameNamesThatImplyThis()
          get attribute def names that imply this immediate
 java.util.Set<java.lang.String> getAttributeDefNameNamesThatImplyThisImmediate()
          get attribute def names that imply this immediate
 java.util.Set<AttributeDefName> getAttributeDefNamesImpliedByThis()
          get all the THEN rows from attributeDefNameSet about this id.
 java.util.Set<AttributeDefName> getAttributeDefNamesImpliedByThisImmediate()
          get all the THEN rows from attributeDefNameSet about this id (immediate only).
 java.util.Set<AttributeDefName> getAttributeDefNamesThatImplyThis()
          get all the IF rows from attributeDefNameSet about this id.
 java.util.Set<AttributeDefName> getAttributeDefNamesThatImplyThisImmediate()
          get all the IF rows from attributeDefNameSet about this id (immediate only).
 boolean internal_addToAttributeDefNameSet(AttributeDefName newAttributeDefName, java.lang.String uuid)
           
 boolean removeFromAttributeDefNameSet(AttributeDefName attributeDefNameToRemove)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeDefNameSetDelegate

public AttributeDefNameSetDelegate(AttributeDefName attributeDefName1)
Parameters:
attributeDefName1 -
Method Detail

getAttributeDefNamesImpliedByThis

public java.util.Set<AttributeDefName> getAttributeDefNamesImpliedByThis()
get all the THEN rows from attributeDefNameSet about this id. The ones returned are implied if this one is assigned. Those are the children, this is the parent

Returns:
set of attributeDefNames, or empty set if none available

getAttributeDefNameNamesImpliedByThis

public java.util.Set<java.lang.String> getAttributeDefNameNamesImpliedByThis()
get attribute def names implied by this

Returns:
names

getAttributeDefNameNamesImpliedByThisImmediate

public java.util.Set<java.lang.String> getAttributeDefNameNamesImpliedByThisImmediate()
get attribute def names implied by this immediate

Returns:
names

getAttributeDefNameNamesThatImplyThisImmediate

public java.util.Set<java.lang.String> getAttributeDefNameNamesThatImplyThisImmediate()
get attribute def names that imply this immediate

Returns:
names

getAttributeDefNameNamesThatImplyThis

public java.util.Set<java.lang.String> getAttributeDefNameNamesThatImplyThis()
get attribute def names that imply this immediate

Returns:
names

getAttributeDefNamesImpliedByThisImmediate

public java.util.Set<AttributeDefName> getAttributeDefNamesImpliedByThisImmediate()
get all the THEN rows from attributeDefNameSet about this id (immediate only). The ones returned are implied if this one is assigned. Those are the children, this is the parent

Returns:
set of attributeDefNames, or empty set if none available

getAttributeDefNamesThatImplyThis

public java.util.Set<AttributeDefName> getAttributeDefNamesThatImplyThis()
get all the IF rows from attributeDefNameSet about this id. The ones returned imply that this is also assigned. Those are the parents, this is the child.

Returns:
set of attributeDefNames, or empty set if none available

getAttributeDefNamesThatImplyThisImmediate

public java.util.Set<AttributeDefName> getAttributeDefNamesThatImplyThisImmediate()
get all the IF rows from attributeDefNameSet about this id (immediate only). The ones returned imply that this is also assigned. Those are the parents, this is the child.

Returns:
set of attributeDefNames, or empty set if none available

addToAttributeDefNameSet

public boolean addToAttributeDefNameSet(AttributeDefName newAttributeDefName)
for instance if the argument is arts and sciences, and this is all, then calling this will allow all to imply arts and sciences

Parameters:
newAttributeDefName -
Returns:
true if added, false if already there

internal_addToAttributeDefNameSet

public boolean internal_addToAttributeDefNameSet(AttributeDefName newAttributeDefName,
                                                 java.lang.String uuid)
Parameters:
uuid - is uuid or null to generate one
newAttributeDefName -
Returns:
true if added, false if already there

removeFromAttributeDefNameSet

public boolean removeFromAttributeDefNameSet(AttributeDefName attributeDefNameToRemove)
Parameters:
attributeDefNameToRemove -
Returns:
true if removed, false if already removed