Class JPAAnyObject
- 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.AbstractAny<P>
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractGroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
-
- org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAnyObject
-
- All Implemented Interfaces:
Serializable
,Any<APlainAttr>
,AnyObject
,Attributable<APlainAttr>
,Entity
,GroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
- Direct Known Subclasses:
JPAJSONAnyObject
@Entity @AnyObjectCheck public class JPAAnyObject extends AbstractGroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship> implements AnyObject
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
TABLE
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
LOG
-
Fields inherited from interface org.apache.syncope.core.persistence.api.entity.Entity
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
-
-
Constructor Summary
Constructors Constructor Description JPAAnyObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(AMembership membership)
boolean
add(APlainAttr attr)
boolean
add(ARelationship relationship)
boolean
add(AnyTypeClass auxClass)
boolean
add(ExternalResource resource)
List<? extends AnyTypeClass>
getAuxClasses()
List<? extends AMembership>
getMemberships()
String
getName()
Optional<? extends ARelationship>
getRelationship(RelationshipType relationshipType, String otherEndKey)
List<? extends ARelationship>
getRelationships()
List<? extends ExternalResource>
getResources()
AnyType
getType()
protected List<? extends APlainAttr>
internalGetPlainAttrs()
boolean
remove(AMembership membership)
void
setName(String name)
void
setType(AnyType type)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractGroupableRelatable
getMembership, getPlainAttr, getPlainAttr, getPlainAttrs, getPlainAttrs, getPlainAttrs, getRelationships, getRelationships, remove
-
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, setStatus
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
getKey, setKey
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
checkImplementationType, checkType, equals, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.syncope.core.persistence.api.entity.Any
getCreationContext, getCreationDate, getCreator, getLastChangeContext, getLastChangeDate, getLastModifier, getRealm, getStatus, setCreationContext, setCreationDate, setCreator, setLastChangeContext, setLastChangeDate, setLastModifier, setRealm, setStatus
-
Methods inherited from interface org.apache.syncope.core.persistence.api.entity.Attributable
getPlainAttr, getPlainAttrs, remove
-
Methods inherited from interface org.apache.syncope.core.persistence.api.entity.GroupableRelatable
getMembership, getPlainAttr, getPlainAttrs, getPlainAttrs, getRelationships, getRelationships
-
-
-
-
Field Detail
-
TABLE
public static final String TABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public AnyType getType()
- Specified by:
getType
in interfaceAny<APlainAttr>
-
setType
public void setType(AnyType type)
- Specified by:
setType
in interfaceAny<APlainAttr>
-
add
public boolean add(ExternalResource resource)
- Specified by:
add
in interfaceAny<APlainAttr>
-
getResources
public List<? extends ExternalResource> getResources()
- Specified by:
getResources
in interfaceAny<APlainAttr>
-
add
public boolean add(APlainAttr attr)
- Specified by:
add
in interfaceAttributable<APlainAttr>
-
internalGetPlainAttrs
protected List<? extends APlainAttr> internalGetPlainAttrs()
- Specified by:
internalGetPlainAttrs
in classAbstractGroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
-
add
public boolean add(AnyTypeClass auxClass)
- Specified by:
add
in interfaceAny<APlainAttr>
-
getAuxClasses
public List<? extends AnyTypeClass> getAuxClasses()
- Specified by:
getAuxClasses
in interfaceAny<APlainAttr>
-
add
public boolean add(ARelationship relationship)
- Specified by:
add
in interfaceGroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
-
getRelationship
public Optional<? extends ARelationship> getRelationship(RelationshipType relationshipType, String otherEndKey)
- Specified by:
getRelationship
in interfaceGroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
-
getRelationships
public List<? extends ARelationship> getRelationships()
- Specified by:
getRelationships
in interfaceGroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
-
add
public boolean add(AMembership membership)
- Specified by:
add
in interfaceGroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
-
remove
public boolean remove(AMembership membership)
- Specified by:
remove
in interfaceGroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
-
getMemberships
public List<? extends AMembership> getMemberships()
- Specified by:
getMemberships
in interfaceGroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
-
-