Class MembershipPath
java.lang.Object
edu.internet2.middleware.grouper.membership.MembershipPath
- All Implemented Interfaces:
Comparable<MembershipPath>
path of a membership for a subject in a group, group privilege, stem privilege, or attribute privilege.
these are distinct paths from start to finish, if there are multiple subpaths, each will expand
into a full path
-
Constructor Summary
ConstructorsConstructorDescriptiondefault constructorMembershipPath
(Member member1, List<MembershipPathNode> membershipPathNodes1, MembershipType theMembershipType) construct with fields -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(MembershipPath membershipPath) boolean
see if it is the same path except the fieldfield for this path, generally one for list, or multiple for privilegesfields assigned, and the fields those fields implymember in the membershipordered list of nodes for this membership pathIMMEDIATE or EFFECTIVE, etcboolean
if path allowed to be seen by uservoid
field for this path, generally one for list, or multiple for privilegesvoid
setFieldsIncludingImplied
(Set<Field> fieldsIncludingImplied) fields assigned, and the fields those fields implyvoid
member in the membershipvoid
setMembershipPathNodes
(List<MembershipPathNode> membershipPathNodes1) ordered list of nodes for this membership pathvoid
setMembershipType
(MembershipType membershipType1) IMMEDIATE or EFFECTIVE, etcvoid
setPathAllowed
(boolean thePathAllowed1) if path allowed to be seen by usertoString()
-
Constructor Details
-
MembershipPath
public MembershipPath()default constructor -
MembershipPath
public MembershipPath(Member member1, List<MembershipPathNode> membershipPathNodes1, MembershipType theMembershipType) construct with fields- Parameters:
member1
-membershipPathNodes1
-theMembershipType
-
-
-
Method Details
-
getFieldsIncludingImplied
fields assigned, and the fields those fields imply- Returns:
- the fieldsIncludingImplied
-
setFieldsIncludingImplied
fields assigned, and the fields those fields imply- Parameters:
fieldsIncludingImplied
- the fieldsIncludingImplied to set
-
getFields
field for this path, generally one for list, or multiple for privileges- Returns:
- the fields
-
setFields
field for this path, generally one for list, or multiple for privileges- Parameters:
fields
-
-
getMember
member in the membership- Returns:
- the member
-
setMember
member in the membership- Parameters:
member1
-
-
equalsExceptFields
see if it is the same path except the field- Parameters:
that
-- Returns:
- if same path
-
getMembershipPathNodes
ordered list of nodes for this membership path- Returns:
- list of membership path nodes
-
setMembershipPathNodes
ordered list of nodes for this membership path- Parameters:
membershipPathNodes1
-
-
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<MembershipPath>
- See Also:
-
getMembershipType
IMMEDIATE or EFFECTIVE, etc- Returns:
- membership type
-
setMembershipType
IMMEDIATE or EFFECTIVE, etc- Parameters:
membershipType1
-
-
isPathAllowed
public boolean isPathAllowed()if path allowed to be seen by user- Returns:
- path allowed
-
setPathAllowed
public void setPathAllowed(boolean thePathAllowed1) if path allowed to be seen by user- Parameters:
thePathAllowed1
-
-