Class AbstractRelatable<L extends Any,REL extends Relationship<L,AnyObject>>
java.lang.Object
org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
org.apache.syncope.core.persistence.jpa.entity.AbstractAttributable
org.apache.syncope.core.persistence.jpa.entity.AbstractAny
org.apache.syncope.core.persistence.jpa.entity.AbstractRelatable<L,REL>
- All Implemented Interfaces:
Serializable,Any,Attributable,Entity,Relatable<L,REL>
- Direct Known Subclasses:
AbstractGroupableRelatable,JPAGroup
public abstract class AbstractRelatable<L extends Any,REL extends Relationship<L,AnyObject>>
extends AbstractAny
implements Relatable<L,REL>
- See Also:
-
Field Summary
Fields inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
LOGFields inherited from interface org.apache.syncope.core.persistence.api.entity.Entity
EMAIL_PATTERN, ID_PATTERN, ID_REGEX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRelationship(RelationshipType relationshipType, String otherEndKey) Collection<? extends REL> getRelationships(String otherEndKey) Collection<? extends REL> getRelationships(RelationshipType relationshipType) Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractAny
getCreationContext, getCreationDate, getCreator, getLastChangeContext, getLastChangeDate, getLastModifier, getRealm, getStatus, setCreationContext, setCreationDate, setCreator, setLastChangeContext, setLastChangeDate, setLastModifier, setRealm, setStatusMethods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractAttributable
getPlainAttrsJSON, getPlainAttrsList, list2json, setPlainAttrsJSONMethods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
getKey, setKeyMethods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
checkImplementationType, checkType, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.syncope.core.persistence.api.entity.Any
add, add, getAuxClasses, getCreationContext, getCreationDate, getCreator, getLastChangeContext, getLastChangeDate, getLastModifier, getRealm, getResources, getStatus, getType, setCreationContext, setCreationDate, setCreator, setLastChangeContext, setLastChangeDate, setLastModifier, setRealm, setStatus, setTypeMethods inherited from interface org.apache.syncope.core.persistence.api.entity.Attributable
add, getPlainAttr, getPlainAttrs, removeMethods inherited from interface org.apache.syncope.core.persistence.api.entity.Relatable
add, getRelationships
-
Constructor Details
-
AbstractRelatable
public AbstractRelatable()
-
-
Method Details
-
getRelationship
public Optional<? extends REL> getRelationship(RelationshipType relationshipType, String otherEndKey) - Specified by:
getRelationshipin interfaceRelatable<L extends Any,REL extends Relationship<L, AnyObject>>
-
getRelationships
- Specified by:
getRelationshipsin interfaceRelatable<L extends Any,REL extends Relationship<L, AnyObject>>
-
getRelationships
- Specified by:
getRelationshipsin interfaceRelatable<L extends Any,REL extends Relationship<L, AnyObject>>
-