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 booleanadd(PlainAttrValue value)protected booleanaddForMultiValue(PlainAttrValue attrValue)booleanequals(Object obj)AMembershipgetMembership()StringgetMembershipKey()AnyObjectgetOwner()List<JPAJSONAPlainAttrValue>getPGValues()JPAPlainSchemagetSchema()StringgetSchemaKey()JPAJSONAPlainAttrUniqueValuegetUniqueValue()List<? extends APlainAttrValue>getValues()inthashCode()voidsetMembership(String membership)voidsetMembership(AMembership membership)voidsetOwner(AnyObject owner)voidsetSchema(String schema)voidsetSchema(PlainSchema schema)voidsetUniqueValue(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:
getSchemaKeyin 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:
getMembershipin interfaceGroupablePlainAttr<AnyObject,AMembership>
-
setMembership
public void setMembership(AMembership membership)
- Specified by:
setMembershipin interfaceGroupablePlainAttr<AnyObject,AMembership>
-
setMembership
public void setMembership(String membership)
-
addForMultiValue
protected boolean addForMultiValue(PlainAttrValue attrValue)
- Specified by:
addForMultiValuein classAbstractPlainAttr<AnyObject>
-
add
public boolean add(PlainAttrValue value)
- Specified by:
addin interfaceJSONPlainAttr<AnyObject>
-
getValues
public List<? extends APlainAttrValue> getValues()
- Specified by:
getValuesin interfaceAPlainAttr- Specified by:
getValuesin interfacePlainAttr<AnyObject>
-
getPGValues
public List<JPAJSONAPlainAttrValue> getPGValues()
-
getUniqueValue
public JPAJSONAPlainAttrUniqueValue getUniqueValue()
- Specified by:
getUniqueValuein interfaceAPlainAttr- Specified by:
getUniqueValuein interfacePlainAttr<AnyObject>
-
setUniqueValue
public void setUniqueValue(PlainAttrUniqueValue uniqueValue)
- Specified by:
setUniqueValuein interfacePlainAttr<AnyObject>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractEntity
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classAbstractEntity
-
-