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 StringTABLE-
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 booleanadd(AMembership membership)booleanadd(APlainAttr attr)booleanadd(ARelationship relationship)booleanadd(AnyTypeClass auxClass)booleanadd(ExternalResource resource)List<? extends AnyTypeClass>getAuxClasses()List<? extends AMembership>getMemberships()StringgetName()Optional<? extends ARelationship>getRelationship(RelationshipType relationshipType, String otherEndKey)List<? extends ARelationship>getRelationships()List<? extends ExternalResource>getResources()AnyTypegetType()protected List<? extends APlainAttr>internalGetPlainAttrs()booleanremove(AMembership membership)voidsetName(String name)voidsetType(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:
getTypein interfaceAny<APlainAttr>
-
setType
public void setType(AnyType type)
- Specified by:
setTypein interfaceAny<APlainAttr>
-
add
public boolean add(ExternalResource resource)
- Specified by:
addin interfaceAny<APlainAttr>
-
getResources
public List<? extends ExternalResource> getResources()
- Specified by:
getResourcesin interfaceAny<APlainAttr>
-
add
public boolean add(APlainAttr attr)
- Specified by:
addin interfaceAttributable<APlainAttr>
-
internalGetPlainAttrs
protected List<? extends APlainAttr> internalGetPlainAttrs()
- Specified by:
internalGetPlainAttrsin classAbstractGroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
-
add
public boolean add(AnyTypeClass auxClass)
- Specified by:
addin interfaceAny<APlainAttr>
-
getAuxClasses
public List<? extends AnyTypeClass> getAuxClasses()
- Specified by:
getAuxClassesin interfaceAny<APlainAttr>
-
add
public boolean add(ARelationship relationship)
- Specified by:
addin interfaceGroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
-
getRelationship
public Optional<? extends ARelationship> getRelationship(RelationshipType relationshipType, String otherEndKey)
- Specified by:
getRelationshipin interfaceGroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
-
getRelationships
public List<? extends ARelationship> getRelationships()
- Specified by:
getRelationshipsin interfaceGroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
-
add
public boolean add(AMembership membership)
- Specified by:
addin interfaceGroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
-
remove
public boolean remove(AMembership membership)
- Specified by:
removein interfaceGroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
-
getMemberships
public List<? extends AMembership> getMemberships()
- Specified by:
getMembershipsin interfaceGroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
-
-