public interface GroupableRelatable<L extends Any<P>,M extends Membership<L>,P extends GroupablePlainAttr<L,M>,R extends Any<?>,REL extends Relationship<L,R>> extends Any<P>
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
Modifier and Type | Method and Description |
---|---|
boolean |
add(M membership) |
boolean |
add(REL relationship) |
Optional<? extends M> |
getMembership(String groupKey) |
List<? extends M> |
getMemberships() |
Optional<? extends P> |
getPlainAttr(String plainSchema,
Membership<?> membership)
Returns the plain attribute for this instance, the given schema name and the given membership -
if found,
NULL otherwise. |
Collection<? extends P> |
getPlainAttrs(Membership<?> membership)
Returns the list of plain attributes for this instance and the given membership.
|
Collection<? extends P> |
getPlainAttrs(String plainSchema)
Returns the list of plain attributes for this instance and the given schema name (including membeship attributes,
as opposite to
Attributable.getPlainAttr(java.lang.String) ). |
Optional<? extends REL> |
getRelationship(RelationshipType relationshipType,
String otherEndKey) |
List<? extends REL> |
getRelationships() |
Collection<? extends REL> |
getRelationships(RelationshipType relationshipType) |
Collection<? extends REL> |
getRelationships(String otherEndKey) |
boolean |
remove(M membership) |
add, add, getAuxClasses, getRealm, getResources, getStatus, getType, setRealm, setStatus, setType
add, getPlainAttr, getPlainAttrs, remove
getCreationDate, getCreator, getLastChangeDate, getLastModifier, setCreationDate, setCreator, setLastChangeDate, setLastModifier
Optional<? extends P> getPlainAttr(String plainSchema, Membership<?> membership)
NULL
otherwise.plainSchema
- plain schema namemembership
- membershipCollection<? extends P> getPlainAttrs(String plainSchema)
Attributable.getPlainAttr(java.lang.String)
).plainSchema
- plain schema nameCollection<? extends P> getPlainAttrs(Membership<?> membership)
membership
- membershipboolean add(M membership)
boolean remove(M membership)
boolean add(REL relationship)
Optional<? extends REL> getRelationship(RelationshipType relationshipType, String otherEndKey)
Collection<? extends REL> getRelationships(String otherEndKey)
Collection<? extends REL> getRelationships(RelationshipType relationshipType)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.