edu.internet2.middleware.grouper.grouperUi.beans.attributeDefNamePicker
Class PickerResultAttributeDefName

java.lang.Object
  extended by edu.internet2.middleware.grouper.grouperUi.beans.attributeDefNamePicker.PickerResultAttributeDefName
All Implemented Interfaces:
Serializable, Comparable<PickerResultAttributeDefName>

public class PickerResultAttributeDefName
extends Object
implements Serializable, Comparable<PickerResultAttributeDefName>

attributeDefName for attributeDefName picker result

See Also:
Serialized Form

Constructor Summary
PickerResultAttributeDefName(AttributeDefName attributeDefName1, AttributeDefNamePickerContainer attributeDefNamePickerContainer)
          construct with attributeDefName
 
Method Summary
 int compareTo(PickerResultAttributeDefName otherPickerResultAttributeDefName)
           
 AttributeDefName getAttributeDefName()
          attributeDefName
 String getAttributeDefNameId()
          get attributeDefName id for caller
 String getGrandParentAndDisplayName()
          if attributeDefName is a:b:c:d, then return b:c:d
 String getGrandParentAndName()
          if attributeDefName is a:b:c:d, then return b:c:d
 int getIndex()
           
 String getName()
          get attributeDefName id for caller
 String getParentAndDisplayName()
          if attributeDefName is a:b:c, then return b:c
 String getParentAndName()
          if attributeDefName is a:b:c, then return b:c
 String getScreenLabel()
          get screen label
 void setIndex(int index1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PickerResultAttributeDefName

public PickerResultAttributeDefName(AttributeDefName attributeDefName1,
                                    AttributeDefNamePickerContainer attributeDefNamePickerContainer)
construct with attributeDefName

Parameters:
attributeDefName1 -
attributeDefNamePickerContainer -
Method Detail

getParentAndName

public String getParentAndName()
if attributeDefName is a:b:c, then return b:c

Returns:
the parent name and this name

getParentAndDisplayName

public String getParentAndDisplayName()
if attributeDefName is a:b:c, then return b:c

Returns:
the parent name and this name

getGrandParentAndName

public String getGrandParentAndName()
if attributeDefName is a:b:c:d, then return b:c:d

Returns:
the parent name and this name

getGrandParentAndDisplayName

public String getGrandParentAndDisplayName()
if attributeDefName is a:b:c:d, then return b:c:d

Returns:
the parent name and this name

getIndex

public int getIndex()
Returns:
the index

setIndex

public void setIndex(int index1)
Parameters:
index1 - the index to set

getScreenLabel

public String getScreenLabel()
get screen label

Returns:
screen label

getAttributeDefNameId

public String getAttributeDefNameId()
get attributeDefName id for caller

Returns:
attributeDefName id

getName

public String getName()
get attributeDefName id for caller

Returns:
attributeDefName id

getAttributeDefName

public AttributeDefName getAttributeDefName()
attributeDefName

Returns:
the attributeDefName

compareTo

public int compareTo(PickerResultAttributeDefName otherPickerResultAttributeDefName)
Specified by:
compareTo in interface Comparable<PickerResultAttributeDefName>
See Also:
Comparable.compareTo(java.lang.Object)