Class JPAJSONGPlainAttr
- 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<Group>
-
- org.apache.syncope.core.persistence.jpa.entity.group.JPAJSONGPlainAttr
-
- All Implemented Interfaces:
Serializable,Entity,GPlainAttr,JSONPlainAttr<Group>,PlainAttr<Group>
public class JPAJSONGPlainAttr extends AbstractPlainAttr<Group> implements GPlainAttr, JSONPlainAttr<Group>
- 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 JPAJSONGPlainAttr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(PlainAttrValue value)protected booleanaddForMultiValue(PlainAttrValue attrValue)booleanequals(Object obj)GroupgetOwner()List<JPAJSONGPlainAttrValue>getPGValues()JPAPlainSchemagetSchema()StringgetSchemaKey()JPAJSONGPlainAttrUniqueValuegetUniqueValue()List<? extends GPlainAttrValue>getValues()inthashCode()voidsetOwner(Group 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<Group>
-
getSchema
public JPAPlainSchema getSchema()
-
setSchema
public void setSchema(PlainSchema schema)
-
setSchema
public void setSchema(String schema)
-
addForMultiValue
protected boolean addForMultiValue(PlainAttrValue attrValue)
- Specified by:
addForMultiValuein classAbstractPlainAttr<Group>
-
add
public boolean add(PlainAttrValue value)
- Specified by:
addin interfaceJSONPlainAttr<Group>
-
getValues
public List<? extends GPlainAttrValue> getValues()
- Specified by:
getValuesin interfaceGPlainAttr- Specified by:
getValuesin interfacePlainAttr<Group>
-
getPGValues
public List<JPAJSONGPlainAttrValue> getPGValues()
-
getUniqueValue
public JPAJSONGPlainAttrUniqueValue getUniqueValue()
- Specified by:
getUniqueValuein interfaceGPlainAttr- Specified by:
getUniqueValuein interfacePlainAttr<Group>
-
setUniqueValue
public void setUniqueValue(PlainAttrUniqueValue uniqueValue)
- Specified by:
setUniqueValuein interfacePlainAttr<Group>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractEntity
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classAbstractEntity
-
-