Class AbstractPlainAttrValue
- 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.AbstractPlainAttrValue
-
- All Implemented Interfaces:
Serializable
,Entity
,PlainAttrValue
- Direct Known Subclasses:
JPAAPlainAttrUniqueValue
,JPAAPlainAttrValue
,JPAGPlainAttrUniqueValue
,JPAGPlainAttrValue
,JPAJSONAPlainAttrUniqueValue
,JPAJSONAPlainAttrValue
,JPAJSONGPlainAttrUniqueValue
,JPAJSONGPlainAttrValue
,JPAJSONLAPlainAttrUniqueValue
,JPAJSONLAPlainAttrValue
,JPAJSONUPlainAttrUniqueValue
,JPAJSONUPlainAttrValue
,JPALAPlainAttrUniqueValue
,JPALAPlainAttrValue
,JPAUPlainAttrUniqueValue
,JPAUPlainAttrValue
@MappedSuperclass @PlainAttrValueCheck public abstract class AbstractPlainAttrValue extends AbstractGeneratedKeyEntity implements PlainAttrValue
- 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 AbstractPlainAttrValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBinaryValue()
Boolean
getBooleanValue()
OffsetDateTime
getDateValue()
Double
getDoubleValue()
Long
getLongValue()
protected String
getSecretKey(PlainSchema schema)
String
getStringValue()
<T> T
getValue()
String
getValueAsString()
String
getValueAsString(AttrSchemaType type)
String
getValueAsString(PlainSchema schema)
void
parseValue(PlainSchema schema, String value)
void
setBinaryValue(byte[] binaryValue)
void
setBooleanValue(Boolean booleanValue)
void
setDateValue(OffsetDateTime dateValue)
void
setDoubleValue(Double doubleValue)
void
setLongValue(Long longValue)
void
setStringValue(String stringValue)
String
toString()
-
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
-
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.PlainAttrValue
getAttr, setAttr
-
-
-
-
Method Detail
-
getBooleanValue
public Boolean getBooleanValue()
- Specified by:
getBooleanValue
in interfacePlainAttrValue
-
setBooleanValue
public void setBooleanValue(Boolean booleanValue)
- Specified by:
setBooleanValue
in interfacePlainAttrValue
-
getDateValue
public OffsetDateTime getDateValue()
- Specified by:
getDateValue
in interfacePlainAttrValue
-
setDateValue
public void setDateValue(OffsetDateTime dateValue)
- Specified by:
setDateValue
in interfacePlainAttrValue
-
getDoubleValue
public Double getDoubleValue()
- Specified by:
getDoubleValue
in interfacePlainAttrValue
-
setDoubleValue
public void setDoubleValue(Double doubleValue)
- Specified by:
setDoubleValue
in interfacePlainAttrValue
-
getLongValue
public Long getLongValue()
- Specified by:
getLongValue
in interfacePlainAttrValue
-
setLongValue
public void setLongValue(Long longValue)
- Specified by:
setLongValue
in interfacePlainAttrValue
-
getStringValue
public String getStringValue()
- Specified by:
getStringValue
in interfacePlainAttrValue
-
setStringValue
public void setStringValue(String stringValue)
- Specified by:
setStringValue
in interfacePlainAttrValue
-
getBinaryValue
public byte[] getBinaryValue()
- Specified by:
getBinaryValue
in interfacePlainAttrValue
-
setBinaryValue
public void setBinaryValue(byte[] binaryValue)
- Specified by:
setBinaryValue
in interfacePlainAttrValue
-
getSecretKey
protected String getSecretKey(PlainSchema schema)
-
parseValue
public void parseValue(PlainSchema schema, String value)
- Specified by:
parseValue
in interfacePlainAttrValue
-
getValue
public <T> T getValue()
- Specified by:
getValue
in interfacePlainAttrValue
-
getValueAsString
public String getValueAsString()
- Specified by:
getValueAsString
in interfacePlainAttrValue
-
getValueAsString
public String getValueAsString(AttrSchemaType type)
- Specified by:
getValueAsString
in interfacePlainAttrValue
-
getValueAsString
public String getValueAsString(PlainSchema schema)
- Specified by:
getValueAsString
in interfacePlainAttrValue
-
toString
public String toString()
- Overrides:
toString
in classAbstractEntity
-
-