Class JPAJSONAPlainAttr
- 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.AbstractPlainAttr<AnyObject>
-
- org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAJSONAPlainAttr
-
- All Implemented Interfaces:
Serializable
,APlainAttr
,Entity
,GroupablePlainAttr<AnyObject,AMembership>
,JSONPlainAttr<AnyObject>
,PlainAttr<AnyObject>
public class JPAJSONAPlainAttr extends AbstractPlainAttr<AnyObject> implements APlainAttr, JSONPlainAttr<AnyObject>
- See Also:
- Serialized Form
-
-
Field Summary
-
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 JPAJSONAPlainAttr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(PlainAttrValue value)
protected boolean
addForMultiValue(PlainAttrValue attrValue)
boolean
equals(Object obj)
AMembership
getMembership()
String
getMembershipKey()
AnyObject
getOwner()
List<JPAJSONAPlainAttrValue>
getPGValues()
JPAPlainSchema
getSchema()
String
getSchemaKey()
JPAJSONAPlainAttrUniqueValue
getUniqueValue()
List<? extends APlainAttrValue>
getValues()
int
hashCode()
void
setMembership(String membership)
void
setMembership(AMembership membership)
void
setOwner(AnyObject owner)
void
setSchema(String schema)
void
setSchema(PlainSchema schema)
void
setUniqueValue(PlainAttrUniqueValue uniqueValue)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractPlainAttr
add, add, getValuesAsStrings
-
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, 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.PlainAttr
add, add, getValuesAsStrings
-
-
-
-
Method Detail
-
setOwner
public void setOwner(AnyObject owner)
-
getSchemaKey
public String getSchemaKey()
- Specified by:
getSchemaKey
in interfaceJSONPlainAttr<AnyObject>
-
getSchema
public JPAPlainSchema getSchema()
-
setSchema
public void setSchema(PlainSchema schema)
-
setSchema
public void setSchema(String schema)
-
getMembershipKey
public String getMembershipKey()
-
getMembership
public AMembership getMembership()
- Specified by:
getMembership
in interfaceGroupablePlainAttr<AnyObject,AMembership>
-
setMembership
public void setMembership(AMembership membership)
- Specified by:
setMembership
in interfaceGroupablePlainAttr<AnyObject,AMembership>
-
setMembership
public void setMembership(String membership)
-
addForMultiValue
protected boolean addForMultiValue(PlainAttrValue attrValue)
- Specified by:
addForMultiValue
in classAbstractPlainAttr<AnyObject>
-
add
public boolean add(PlainAttrValue value)
- Specified by:
add
in interfaceJSONPlainAttr<AnyObject>
-
getValues
public List<? extends APlainAttrValue> getValues()
- Specified by:
getValues
in interfaceAPlainAttr
- Specified by:
getValues
in interfacePlainAttr<AnyObject>
-
getPGValues
public List<JPAJSONAPlainAttrValue> getPGValues()
-
getUniqueValue
public JPAJSONAPlainAttrUniqueValue getUniqueValue()
- Specified by:
getUniqueValue
in interfaceAPlainAttr
- Specified by:
getUniqueValue
in interfacePlainAttr<AnyObject>
-
setUniqueValue
public void setUniqueValue(PlainAttrUniqueValue uniqueValue)
- Specified by:
setUniqueValue
in interfacePlainAttr<AnyObject>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractEntity
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classAbstractEntity
-
-