Package com.jalios.jcms.uicomponent
Class DataAttribute
- java.lang.Object
-
- com.jalios.jcms.uicomponent.DataAttribute
-
public class DataAttribute extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DATA_ATTR_PREFIX
-
Constructor Summary
Constructors Constructor Description DataAttribute()
DataAttribute(java.util.Map<java.lang.String,java.lang.Object> dataAttributeMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataAttribute
addData(java.lang.String dataName, java.lang.Object dataValue)
DataAttribute
addDataAttributeMap(java.util.Map<java.lang.String,java.lang.Object> dataAttributeMap)
DataAttribute
addDataAttributes(DataAttribute dataAttribute)
DataAttribute
addJaliosActionData(java.lang.String dataValue)
boolean
containsData(java.lang.String dataName)
java.lang.Object
getData(java.lang.String dataName)
java.util.Map<java.lang.String,java.lang.Object>
getDataAttributeMap()
DataAttribute
setData(java.util.Map<java.lang.String,java.lang.Object> dataAttributes)
java.lang.String
toString()
-
-
-
Field Detail
-
DATA_ATTR_PREFIX
public static final java.lang.String DATA_ATTR_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
addData
public DataAttribute addData(java.lang.String dataName, java.lang.Object dataValue)
-
addJaliosActionData
public DataAttribute addJaliosActionData(java.lang.String dataValue)
-
addDataAttributes
public DataAttribute addDataAttributes(DataAttribute dataAttribute)
-
addDataAttributeMap
public DataAttribute addDataAttributeMap(java.util.Map<java.lang.String,java.lang.Object> dataAttributeMap)
-
setData
public DataAttribute setData(java.util.Map<java.lang.String,java.lang.Object> dataAttributes)
-
getDataAttributeMap
public java.util.Map<java.lang.String,java.lang.Object> getDataAttributeMap()
-
getData
public java.lang.Object getData(java.lang.String dataName)
-
containsData
public boolean containsData(java.lang.String dataName)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-