Class JPAJSONUPlainAttr
- 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<User>
-
- org.apache.syncope.core.persistence.jpa.entity.user.JPAJSONUPlainAttr
-
- All Implemented Interfaces:
Serializable,Entity,GroupablePlainAttr<User,UMembership>,JSONPlainAttr<User>,PlainAttr<User>,UPlainAttr
public class JPAJSONUPlainAttr extends AbstractPlainAttr<User> implements UPlainAttr, JSONPlainAttr<User>
- 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 JPAJSONUPlainAttr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(PlainAttrValue value)protected booleanaddForMultiValue(PlainAttrValue attrValue)booleanequals(Object obj)UMembershipgetMembership()StringgetMembershipKey()UsergetOwner()List<JPAJSONUPlainAttrValue>getPGValues()JPAPlainSchemagetSchema()StringgetSchemaKey()JPAJSONUPlainAttrUniqueValuegetUniqueValue()List<? extends UPlainAttrValue>getValues()inthashCode()voidsetMembership(String membership)voidsetMembership(UMembership membership)voidsetOwner(User 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
-
getSchemaKey
public String getSchemaKey()
- Specified by:
getSchemaKeyin interfaceJSONPlainAttr<User>
-
getSchema
public JPAPlainSchema getSchema()
-
setSchema
public void setSchema(PlainSchema schema)
-
setSchema
public void setSchema(String schema)
-
getMembershipKey
public String getMembershipKey()
-
getMembership
public UMembership getMembership()
- Specified by:
getMembershipin interfaceGroupablePlainAttr<User,UMembership>
-
setMembership
public void setMembership(UMembership membership)
- Specified by:
setMembershipin interfaceGroupablePlainAttr<User,UMembership>
-
setMembership
public void setMembership(String membership)
-
addForMultiValue
protected boolean addForMultiValue(PlainAttrValue attrValue)
- Specified by:
addForMultiValuein classAbstractPlainAttr<User>
-
add
public boolean add(PlainAttrValue value)
- Specified by:
addin interfaceJSONPlainAttr<User>
-
getValues
public List<? extends UPlainAttrValue> getValues()
- Specified by:
getValuesin interfacePlainAttr<User>- Specified by:
getValuesin interfaceUPlainAttr
-
getPGValues
public List<JPAJSONUPlainAttrValue> getPGValues()
-
getUniqueValue
public JPAJSONUPlainAttrUniqueValue getUniqueValue()
- Specified by:
getUniqueValuein interfacePlainAttr<User>- Specified by:
getUniqueValuein interfaceUPlainAttr
-
setUniqueValue
public void setUniqueValue(PlainAttrUniqueValue uniqueValue)
- Specified by:
setUniqueValuein interfacePlainAttr<User>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractEntity
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classAbstractEntity
-
-