Class JPAAPlainAttr
- 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.JPAAPlainAttr
-
- All Implemented Interfaces:
Serializable
,APlainAttr
,Entity
,GroupablePlainAttr<AnyObject,AMembership>
,PlainAttr<AnyObject>
@Entity public class JPAAPlainAttr extends AbstractPlainAttr<AnyObject> implements APlainAttr
- 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 JPAAPlainAttr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
addForMultiValue(PlainAttrValue attrValue)
AMembership
getMembership()
AnyObject
getOwner()
APlainAttrUniqueValue
getUniqueValue()
List<? extends APlainAttrValue>
getValues()
void
setMembership(AMembership membership)
void
setOwner(AnyObject 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
-
setOwner
public void setOwner(AnyObject owner)
-
getMembership
public AMembership getMembership()
- Specified by:
getMembership
in interfaceGroupablePlainAttr<AnyObject,AMembership>
-
setMembership
public void setMembership(AMembership membership)
- Specified by:
setMembership
in interfaceGroupablePlainAttr<AnyObject,AMembership>
-
addForMultiValue
protected boolean addForMultiValue(PlainAttrValue attrValue)
- Specified by:
addForMultiValue
in classAbstractPlainAttr<AnyObject>
-
getValues
public List<? extends APlainAttrValue> getValues()
- Specified by:
getValues
in interfaceAPlainAttr
- Specified by:
getValues
in interfacePlainAttr<AnyObject>
-
getUniqueValue
public APlainAttrUniqueValue getUniqueValue()
- Specified by:
getUniqueValue
in interfaceAPlainAttr
- Specified by:
getUniqueValue
in interfacePlainAttr<AnyObject>
-
setUniqueValue
public void setUniqueValue(PlainAttrUniqueValue uniqueValue)
- Specified by:
setUniqueValue
in interfacePlainAttr<AnyObject>
-
-