public class AXItemPropertiesData extends Object implements IXItemPropertiesData
XPropertyEnum
) of a form item and offers methods to access these properties.Modifier and Type | Field and Description |
---|---|
protected Map<String,XPropertyValue> |
propertyMap |
protected com.alibaba.fastjson.JSONObject |
version |
Constructor and Description |
---|
AXItemPropertiesData(Map<String,XPropertyValue> propertyMap)
Deprecated.
|
AXItemPropertiesData(Map<String,XPropertyValue> propertyMap,
com.alibaba.fastjson.JSONObject version)
Creates a new item properties wrapper for the given property map.
|
protected Map<String,XPropertyValue> propertyMap
protected com.alibaba.fastjson.JSONObject version
public AXItemPropertiesData(Map<String,XPropertyValue> propertyMap, com.alibaba.fastjson.JSONObject version)
propertyMap
- map of properties@Deprecated public AXItemPropertiesData(Map<String,XPropertyValue> propertyMap)
AXItemPropertiesData(Map, JSONObject)
propertyMap
- Map of propertiespublic Map<String,XPropertyValue> getPropertyMap()
getPropertyMap
in interface IXItemPropertiesData
public String getClassName()
getClassName
in interface IXItemPropertiesData
public void setClassName(String className)
className
- of the renderer to be for an item XTextField, XPage etc.public void put(String property, XPropertyValue xProperty)
property
- - name of the PropertyxProperty
- - value of the Propertypublic XPropertyValue get(XPropertyEnum xPropertyEnum)
get
in interface IXItemPropertiesData
xPropertyEnum
- - get a property by XPropertyEnumpublic XPropertyValue get(String property)
get
in interface IXItemPropertiesData
property
- - get a property by namepublic void set(XPropertyEnum xPropertyEnum, Object value)
xPropertyEnum
- the enum of the propertyvalue
- the value of the propertypublic void set(String xPropertyName, Object value)
xPropertyName
- the name of the propertyvalue
- the value of the propertypublic com.alibaba.fastjson.JSONObject getVersion()
public com.vdurmont.semver4j.Semver getSemver()
0.0.0
is returned.public boolean contains(String property)
contains
in interface IXItemPropertiesData
property
- the name of the propertypublic boolean contains(XPropertyEnum xPropertyEnum)
contains
in interface IXItemPropertiesData
xPropertyEnum
- the enum of the propertypublic String getId()
getId
in interface IXItemPropertiesData
public String getName()
getName
in interface IXItemPropertiesData
public com.alibaba.fastjson.JSONArray getAttributes()
getAttributes
in interface IXItemPropertiesData
public String getParentId()
getParentId
in interface IXItemPropertiesData
public com.alibaba.fastjson.JSONArray getOptions()
getOptions
in interface IXItemPropertiesData
public String getRequiredgroup()
getRequiredgroup
in interface IXItemPropertiesData
public String getDatatype()
getDatatype
in interface IXItemPropertiesData
public String getMinvalue()
getMinvalue
in interface IXItemPropertiesData
public String getMaxvalue()
getMaxvalue
in interface IXItemPropertiesData
public String getVrule()
getVrule
in interface IXItemPropertiesData
public String getMaxfilesize()
getMaxfilesize
in interface IXItemPropertiesData
public String getFileextension()
getFileextension
in interface IXItemPropertiesData
public String getEquals()
getEquals
in interface IXItemPropertiesData
public String getRequiredif()
getRequiredif
in interface IXItemPropertiesData
public String getReadonlyif()
getReadonlyif
in interface IXItemPropertiesData
public String getHiddenif()
getHiddenif
in interface IXItemPropertiesData
public String getRequiredifcomp()
getRequiredifcomp
in interface IXItemPropertiesData
public String getRequiredifvalue()
getRequiredifvalue
in interface IXItemPropertiesData
public String getReadonlyifcomp()
getReadonlyifcomp
in interface IXItemPropertiesData
public String getReadonlyifvalue()
getReadonlyifvalue
in interface IXItemPropertiesData
public String getHiddenifcomp()
getHiddenifcomp
in interface IXItemPropertiesData
public String getHiddenifclear()
getHiddenifclear
in interface IXItemPropertiesData
public String getReadonlyifclear()
getReadonlyifclear
in interface IXItemPropertiesData
public String getHiddenifvalue()
getHiddenifvalue
in interface IXItemPropertiesData
public boolean getRequired()
getRequired
in interface IXItemPropertiesData
public boolean isValidateOnServerSide()
isValidateOnServerSide
in interface IXItemPropertiesData
true
if XPropertyEnum.servervalidate
is set to 1
.public boolean isStatusdependent()
isStatusdependent
in interface IXItemPropertiesData
public boolean isUsergrouppendent()
isUsergrouppendent
in interface IXItemPropertiesData
public boolean isReadonlyStatusdependent()
isReadonlyStatusdependent
in interface IXItemPropertiesData
public boolean isReadonlyUsergrouppendant()
isReadonlyUsergrouppendant
in interface IXItemPropertiesData
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.