Class MembershipPathNode
java.lang.Object
edu.internet2.middleware.grouper.membership.MembershipPathNode
- All Implemented Interfaces:
Comparable<MembershipPathNode>
membership path node including both end nodes
-
Constructor Summary
ConstructorDescriptiondefault constructorMembershipPathNode
(Field field, AttributeDef theOwnerAttributeDef) constructor for attributeDef path codeMembershipPathNode
(Field field, Group theOwnerGroup) constructor for group path codeMembershipPathNode
(Field field, Group ownerGroup, CompositeType compositeType, Group theLeftCompositeFactor, Group theRightCompositeFactor, Group theOtherFactor) construct a composite group nodeMembershipPathNode
(Field field, Stem theOwnerStem) constructor for stem path code -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
clone()
int
compareTo
(MembershipPathNode membershipPathNode) boolean
if composite, this is the right composite factorif composite, this is the right composite factorwhat type e.g.this is the factor not in the pathif this is an attributeDef privilege, this is the owner attribute defif this is a list or group privilege, this is the owner groupif this is a stem privilege, this is the owner stemif composite, this is the right composite factorint
hashCode()
boolean
if this is a composite groupvoid
setComposite
(boolean composite1) if this is a composite groupvoid
setCompositeType
(CompositeType compositeType1) if composite, this is the right composite factorvoid
setLeftCompositeFactor
(Group leftCompositeFactor1) if composite, this is the right composite factorvoid
setMembershipOwnerType
(MembershipOwnerType membershipOwnerType1) what type e.g.void
setOtherFactor
(Group otherFactor1) this is the factor not in the pathvoid
setOwnerAttributeDef
(AttributeDef ownerAttributeDef1) if this is an attributeDef privilege, this is the owner attribute defvoid
setOwnerGroup
(Group ownerGroup1) if this is a list or group privilege, this is the owner groupvoid
setOwnerStem
(Stem ownerStem1) if this is a stem privilege, this is the owner stemvoid
setRightCompositeFactor
(Group rightCompositeFactor1) if composite, this is the right composite factortoString()
-
Constructor Details
-
MembershipPathNode
public MembershipPathNode()default constructor -
MembershipPathNode
constructor for group path code- Parameters:
field
-theOwnerGroup
-
-
MembershipPathNode
public MembershipPathNode(Field field, Group ownerGroup, CompositeType compositeType, Group theLeftCompositeFactor, Group theRightCompositeFactor, Group theOtherFactor) construct a composite group node- Parameters:
field
-ownerGroup
-compositeType
-theLeftCompositeFactor
-theRightCompositeFactor
-theOtherFactor
-
-
MembershipPathNode
constructor for stem path code- Parameters:
field
-theOwnerStem
-
-
MembershipPathNode
constructor for attributeDef path code- Parameters:
field
-theOwnerAttributeDef
-
-
-
Method Details
-
clone
-
hashCode
public int hashCode() -
equals
-
toString
-
getCompositeType
if composite, this is the right composite factor- Returns:
- composite
-
setCompositeType
if composite, this is the right composite factor- Parameters:
compositeType1
-
-
getOtherFactor
this is the factor not in the path- Returns:
- the otherFactor
-
setOtherFactor
this is the factor not in the path- Parameters:
otherFactor1
- the otherFactor to set
-
isComposite
public boolean isComposite()if this is a composite group- Returns:
- composite
-
setComposite
public void setComposite(boolean composite1) if this is a composite group- Parameters:
composite1
-
-
getLeftCompositeFactor
if composite, this is the right composite factor- Returns:
- factor
-
setLeftCompositeFactor
if composite, this is the right composite factor- Parameters:
leftCompositeFactor1
-
-
getRightCompositeFactor
if composite, this is the right composite factor- Returns:
- right composite factor
-
setRightCompositeFactor
if composite, this is the right composite factor- Parameters:
rightCompositeFactor1
-
-
getOwnerAttributeDef
if this is an attributeDef privilege, this is the owner attribute def- Returns:
- attribute def
-
getOwnerGroup
if this is a list or group privilege, this is the owner group- Returns:
- group
-
getOwnerStem
if this is a stem privilege, this is the owner stem- Returns:
- owner stem
-
setOwnerAttributeDef
if this is an attributeDef privilege, this is the owner attribute def- Parameters:
ownerAttributeDef1
-
-
setOwnerGroup
if this is a list or group privilege, this is the owner group- Parameters:
ownerGroup1
-
-
setOwnerStem
if this is a stem privilege, this is the owner stem- Parameters:
ownerStem1
-
-
getMembershipOwnerType
what type e.g. list, or stemPrivilege- Returns:
- owner type
-
setMembershipOwnerType
what type e.g. list, or stemPrivilege- Parameters:
membershipOwnerType1
-
-
compareTo
- Specified by:
compareTo
in interfaceComparable<MembershipPathNode>
- See Also:
-