edu.internet2.middleware.grouper.attr.assign
Class AttributeAssignResult

java.lang.Object
  extended by edu.internet2.middleware.grouper.attr.assign.AttributeAssignResult

public class AttributeAssignResult
extends Object

simple wrapper bean around result of attribute assignment


Constructor Summary
AttributeAssignResult()
          default constructor
AttributeAssignResult(boolean newlyAssigned1, AttributeAssign attributeAssign1)
           
 
Method Summary
 AttributeAssign getAttributeAssign()
          the attribute assignment
 Set<AttributeAssign> getAttributeAssigns()
          get all assignments (useful in deletions)
 boolean isChanged()
          if this attribute assignment took place or already existed
 void setAttributeAssign(AttributeAssign attributeAssign)
          the attribute assignment
 void setAttributeAssigns(Set<AttributeAssign> attributeAssigns1)
          set assignments (useful in deletions)
 void setChanged(boolean newlyAssigned)
          if this attribute assignment took place or already existed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeAssignResult

public AttributeAssignResult()
default constructor


AttributeAssignResult

public AttributeAssignResult(boolean newlyAssigned1,
                             AttributeAssign attributeAssign1)
Parameters:
newlyAssigned1 - if this attribute assignment took place or already existed
attributeAssign1 - the attribute assignment
Method Detail

isChanged

public boolean isChanged()
if this attribute assignment took place or already existed

Returns:
the newlyAssigned

setChanged

public void setChanged(boolean newlyAssigned)
if this attribute assignment took place or already existed

Parameters:
newlyAssigned - the newlyAssigned to set

getAttributeAssign

public AttributeAssign getAttributeAssign()
the attribute assignment

Returns:
the attributeAssign

setAttributeAssign

public void setAttributeAssign(AttributeAssign attributeAssign)
the attribute assignment

Parameters:
attributeAssign - the attributeAssign to set

getAttributeAssigns

public Set<AttributeAssign> getAttributeAssigns()
get all assignments (useful in deletions)

Returns:
assignments

setAttributeAssigns

public void setAttributeAssigns(Set<AttributeAssign> attributeAssigns1)
set assignments (useful in deletions)

Parameters:
attributeAssigns1 -