Package de.xima.fc.form.common.models
Interface IXItemPropertiesData
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AXItemPropertiesData
,XItem
,XItemRenderData
-
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(XPropertyEnum xPropertyEnum) boolean
get
(XPropertyEnum xPropertyEnum) getAlias()
com.alibaba.fastjson.JSONArray
getId()
getName()
com.alibaba.fastjson.JSONArray
boolean
getVrule()
boolean
boolean
boolean
boolean
boolean
-
Method Details
-
getPropertyMap
Map<String,XPropertyValue> getPropertyMap() -
getClassName
String getClassName()- Returns:
- the className of an item XTextField, XPage etc.
-
get
- Parameters:
xPropertyEnum
- - get a property by XPropertyEnum- Returns:
- - a new XProperty if not exist
-
get
- Parameters:
property
- - get a property by name- Returns:
- - a new XProperty if not exist
-
contains
- Parameters:
property
- the name of the property- Returns:
- true if property exist
-
contains
- Parameters:
xPropertyEnum
- the enum of the property- Returns:
- true if property exist
-
getId
String getId()- Returns:
- the string value for the property id
-
getName
String getName()- Returns:
- The
name
of this item.
-
getAlias
String getAlias()- Returns:
- The
alias
of this item.
-
getResolvedAlias
String getResolvedAlias()- Returns:
- The effective alias of this item, either the alias when not empty, or the name otherwise.
-
getAttributes
com.alibaba.fastjson.JSONArray getAttributes()- Returns:
- liste of attributes
-
getParentId
String getParentId()- Returns:
- id of parent element
-
getOptions
com.alibaba.fastjson.JSONArray getOptions()- Returns:
- JSONArray of property Option
-
getRequiredgroup
String getRequiredgroup() -
getDatatype
String getDatatype() -
getMinvalue
String getMinvalue() -
getMaxvalue
String getMaxvalue() -
getVrule
String getVrule() -
getMaxfilesize
String getMaxfilesize() -
getFileextension
String getFileextension() -
getEquals
String getEquals() -
getRequiredif
String getRequiredif() -
getReadonlyif
String getReadonlyif() -
getHiddenif
String getHiddenif() -
getRequiredifcomp
String getRequiredifcomp() -
getRequiredifvalue
String getRequiredifvalue() -
getReadonlyifcomp
String getReadonlyifcomp() -
getReadonlyifvalue
String getReadonlyifvalue() -
getHiddenifcomp
String getHiddenifcomp() -
getHiddenifclear
String getHiddenifclear() -
getReadonlyifclear
String getReadonlyifclear() -
getHiddenifvalue
String getHiddenifvalue() -
getRequired
boolean getRequired()- Returns:
- true required equals 1
-
isValidateOnServerSide
boolean isValidateOnServerSide()- Returns:
true
ifXPropertyEnum.servervalidate
is set to1
.
-
isStatusdependent
boolean isStatusdependent()- Returns:
- the statusdependent
-
isUsergrouppendent
boolean isUsergrouppendent()- Returns:
- the usergrouppendent
-
isReadonlyStatusdependent
boolean isReadonlyStatusdependent()- Returns:
- the readonly statusdependent
-
isReadonlyUsergrouppendant
boolean isReadonlyUsergrouppendant()- Returns:
- the readonly usergrouppendant
-