Package com.enonic.xp.security
Class PrincipalRelationship
- java.lang.Object
-
- com.enonic.xp.security.PrincipalRelationship
-
@PublicApi public final class PrincipalRelationship extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PrincipalRelationship.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static PrincipalRelationship.Builder
from(PrincipalKey fromPrincipal)
PrincipalKey
getFrom()
PrincipalKey
getTo()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getFrom
public PrincipalKey getFrom()
-
getTo
public PrincipalKey getTo()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
from
public static PrincipalRelationship.Builder from(PrincipalKey fromPrincipal)
-
-