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 boolean
add(PlainAttrValue value)
protected boolean
addForMultiValue(PlainAttrValue attrValue)
boolean
equals(Object obj)
UMembership
getMembership()
String
getMembershipKey()
User
getOwner()
List<JPAJSONUPlainAttrValue>
getPGValues()
JPAPlainSchema
getSchema()
String
getSchemaKey()
JPAJSONUPlainAttrUniqueValue
getUniqueValue()
List<? extends UPlainAttrValue>
getValues()
int
hashCode()
void
setMembership(String membership)
void
setMembership(UMembership membership)
void
setOwner(User 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
-
getSchemaKey
public String getSchemaKey()
- Specified by:
getSchemaKey
in 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:
getMembership
in interfaceGroupablePlainAttr<User,UMembership>
-
setMembership
public void setMembership(UMembership membership)
- Specified by:
setMembership
in interfaceGroupablePlainAttr<User,UMembership>
-
setMembership
public void setMembership(String membership)
-
addForMultiValue
protected boolean addForMultiValue(PlainAttrValue attrValue)
- Specified by:
addForMultiValue
in classAbstractPlainAttr<User>
-
add
public boolean add(PlainAttrValue value)
- Specified by:
add
in interfaceJSONPlainAttr<User>
-
getValues
public List<? extends UPlainAttrValue> getValues()
- Specified by:
getValues
in interfacePlainAttr<User>
- Specified by:
getValues
in interfaceUPlainAttr
-
getPGValues
public List<JPAJSONUPlainAttrValue> getPGValues()
-
getUniqueValue
public JPAJSONUPlainAttrUniqueValue getUniqueValue()
- Specified by:
getUniqueValue
in interfacePlainAttr<User>
- Specified by:
getUniqueValue
in interfaceUPlainAttr
-
setUniqueValue
public void setUniqueValue(PlainAttrUniqueValue uniqueValue)
- Specified by:
setUniqueValue
in interfacePlainAttr<User>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractEntity
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classAbstractEntity
-
-