Class JPAFormPropertyDef
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractProvidedKeyEntity
-
- org.apache.syncope.core.persistence.jpa.entity.task.JPAFormPropertyDef
-
- All Implemented Interfaces:
Serializable
,Entity
,ProvidedKeyEntity
,FormPropertyDef
@Entity @FormPropertyDefCheck public class JPAFormPropertyDef extends AbstractProvidedKeyEntity implements FormPropertyDef
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
TABLE
protected static TypeReference<Map<String,String>>
TYPEREF
-
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 JPAFormPropertyDef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDatePattern()
Map<String,String>
getEnumValues()
JPAMacroTask
getMacroTask()
String
getName()
Pattern
getStringRegEx()
FormPropertyType
getType()
boolean
isDropdownFreeForm()
boolean
isDropdownSingleSelection()
boolean
isReadable()
boolean
isRequired()
boolean
isWritable()
void
setDatePattern(String datePattern)
void
setDropdownFreeForm(boolean dropdownFreeForm)
void
setDropdownSingleSelection(boolean dropdownSingleSelection)
void
setEnumValues(Map<String,String> enumValues)
void
setIdx(int idx)
void
setMacroTask(MacroTask macroTask)
void
setName(String name)
void
setReadable(boolean readable)
void
setRequired(boolean required)
void
setStringRegExp(Pattern stringRegEx)
void
setType(FormPropertyType type)
void
setWritable(boolean writable)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractProvidedKeyEntity
getKey, setKey
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
checkImplementationType, checkType, equals, hashCode, 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.ProvidedKeyEntity
setKey
-
-
-
-
Field Detail
-
TABLE
public static final String TABLE
- See Also:
- Constant Field Values
-
TYPEREF
protected static final TypeReference<Map<String,String>> TYPEREF
-
-
Method Detail
-
setIdx
public void setIdx(int idx)
-
getMacroTask
public JPAMacroTask getMacroTask()
- Specified by:
getMacroTask
in interfaceFormPropertyDef
-
setMacroTask
public void setMacroTask(MacroTask macroTask)
- Specified by:
setMacroTask
in interfaceFormPropertyDef
-
getName
public String getName()
- Specified by:
getName
in interfaceFormPropertyDef
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceFormPropertyDef
-
getType
public FormPropertyType getType()
- Specified by:
getType
in interfaceFormPropertyDef
-
setType
public void setType(FormPropertyType type)
- Specified by:
setType
in interfaceFormPropertyDef
-
isReadable
public boolean isReadable()
- Specified by:
isReadable
in interfaceFormPropertyDef
-
setReadable
public void setReadable(boolean readable)
- Specified by:
setReadable
in interfaceFormPropertyDef
-
isWritable
public boolean isWritable()
- Specified by:
isWritable
in interfaceFormPropertyDef
-
setWritable
public void setWritable(boolean writable)
- Specified by:
setWritable
in interfaceFormPropertyDef
-
isRequired
public boolean isRequired()
- Specified by:
isRequired
in interfaceFormPropertyDef
-
setRequired
public void setRequired(boolean required)
- Specified by:
setRequired
in interfaceFormPropertyDef
-
getStringRegEx
public Pattern getStringRegEx()
- Specified by:
getStringRegEx
in interfaceFormPropertyDef
-
setStringRegExp
public void setStringRegExp(Pattern stringRegEx)
- Specified by:
setStringRegExp
in interfaceFormPropertyDef
-
getDatePattern
public String getDatePattern()
- Specified by:
getDatePattern
in interfaceFormPropertyDef
-
setDatePattern
public void setDatePattern(String datePattern)
- Specified by:
setDatePattern
in interfaceFormPropertyDef
-
getEnumValues
public Map<String,String> getEnumValues()
- Specified by:
getEnumValues
in interfaceFormPropertyDef
-
setEnumValues
public void setEnumValues(Map<String,String> enumValues)
- Specified by:
setEnumValues
in interfaceFormPropertyDef
-
isDropdownSingleSelection
public boolean isDropdownSingleSelection()
- Specified by:
isDropdownSingleSelection
in interfaceFormPropertyDef
-
setDropdownSingleSelection
public void setDropdownSingleSelection(boolean dropdownSingleSelection)
- Specified by:
setDropdownSingleSelection
in interfaceFormPropertyDef
-
isDropdownFreeForm
public boolean isDropdownFreeForm()
- Specified by:
isDropdownFreeForm
in interfaceFormPropertyDef
-
setDropdownFreeForm
public void setDropdownFreeForm(boolean dropdownFreeForm)
- Specified by:
setDropdownFreeForm
in interfaceFormPropertyDef
-
-