edu.internet2.middleware.grouper.attr
Class AttributeDefNameSetDelegate

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

public class AttributeDefNameSetDelegate
extends Object
implements 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
 Set<String> getAttributeDefNameNamesImpliedByThis()
          get attribute def names implied by this
 Set<String> getAttributeDefNameNamesImpliedByThisImmediate()
          get attribute def names implied by this immediate
 Set<String> getAttributeDefNameNamesThatImplyThis()
          get attribute def names that imply this immediate
 Set<String> getAttributeDefNameNamesThatImplyThisImmediate()
          get attribute def names that imply this immediate
 Set<AttributeDefName> getAttributeDefNamesImpliedByThis()
          get all the THEN rows from attributeDefNameSet about this id.
 Set<AttributeDefName> getAttributeDefNamesImpliedByThisImmediate()
          get all the THEN rows from attributeDefNameSet about this id (immediate only).
 Set<AttributeDefName> getAttributeDefNamesThatImplyThis()
          get all the IF rows from attributeDefNameSet about this id.
 Set<AttributeDefName> getAttributeDefNamesThatImplyThisImmediate()
          get all the IF rows from attributeDefNameSet about this id (immediate only).
 boolean internal_addToAttributeDefNameSet(AttributeDefName newAttributeDefName, 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 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 Set<String> getAttributeDefNameNamesImpliedByThis()
get attribute def names implied by this

Returns:
names

getAttributeDefNameNamesImpliedByThisImmediate

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

Returns:
names

getAttributeDefNameNamesThatImplyThisImmediate

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

Returns:
names

getAttributeDefNameNamesThatImplyThis

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

Returns:
names

getAttributeDefNamesImpliedByThisImmediate

public 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 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 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,
                                                 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