Class JPAUPlainAttr
- 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.JPAUPlainAttr
-
- All Implemented Interfaces:
Serializable
,Entity
,GroupablePlainAttr<User,UMembership>
,PlainAttr<User>
,UPlainAttr
@Entity public class JPAUPlainAttr extends AbstractPlainAttr<User> implements UPlainAttr
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
TABLE
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractPlainAttr
schema
-
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 JPAUPlainAttr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
addForMultiValue(PlainAttrValue attrValue)
UMembership
getMembership()
User
getOwner()
UPlainAttrUniqueValue
getUniqueValue()
List<? extends UPlainAttrValue>
getValues()
void
setMembership(UMembership membership)
void
setOwner(User owner)
void
setUniqueValue(PlainAttrUniqueValue uniqueValue)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractPlainAttr
add, add, getSchema, getValuesAsStrings, setSchema
-
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
-
-
-
-
Field Detail
-
TABLE
public static final String TABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMembership
public UMembership getMembership()
- Specified by:
getMembership
in interfaceGroupablePlainAttr<User,UMembership>
-
setMembership
public void setMembership(UMembership membership)
- Specified by:
setMembership
in interfaceGroupablePlainAttr<User,UMembership>
-
addForMultiValue
protected boolean addForMultiValue(PlainAttrValue attrValue)
- Specified by:
addForMultiValue
in classAbstractPlainAttr<User>
-
getValues
public List<? extends UPlainAttrValue> getValues()
- Specified by:
getValues
in interfacePlainAttr<User>
- Specified by:
getValues
in interfaceUPlainAttr
-
getUniqueValue
public UPlainAttrUniqueValue getUniqueValue()
- Specified by:
getUniqueValue
in interfacePlainAttr<User>
- Specified by:
getUniqueValue
in interfaceUPlainAttr
-
setUniqueValue
public void setUniqueValue(PlainAttrUniqueValue uniqueValue)
- Specified by:
setUniqueValue
in interfacePlainAttr<User>
-
-