| Modifier and Type | Field and Description |
|---|---|
static String |
ARRAY |
static String |
BOOLEAN |
static String |
COLLECTION |
static String |
DATE |
static String |
DOUBLE |
static String |
FLOAT |
static String |
INT |
static String |
LONG |
static String |
MAP |
static String |
NATIVE_ARRAY |
static String |
OBJECT |
static String |
STRING |
protected String |
type |
protected Object |
value |
| Constructor and Description |
|---|
XMLBaseObject() |
XMLBaseObject(Class<?> objecttype,
Object val) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getBoolean() |
XMLCollection |
getCollection() |
Date |
getDate() |
Double |
getDouble() |
Float |
getFloat() |
Integer |
getInt() |
Long |
getLong() |
XMLMap |
getMap() |
XMLNativeArray |
getNativeArray() |
XMLObject |
getObject() |
Object |
getObjectValue() |
String |
getString() |
String |
getType() |
Object |
getValue() |
void |
setBoolean(Boolean b) |
void |
setCollection(XMLCollection collection) |
void |
setCollectiontValue(Collection<?> collection) |
void |
setDate(Date date) |
void |
setDouble(Double d) |
void |
setFloat(Float f) |
void |
setInt(Integer i) |
void |
setLong(Long l) |
void |
setMap(XMLMap map) |
void |
setMapValue(Map<?,?> map) |
void |
setNativeArray(XMLNativeArray array) |
void |
setNativeArrayValue(Object array) |
void |
setObject(XMLObject o) |
void |
setObjectValue(Object o) |
void |
setString(String s) |
void |
setType(Class<?> clazz) |
void |
setType(String s) |
void |
setValue(Object v) |
public static final String STRING
public static final String INT
public static final String LONG
public static final String BOOLEAN
public static final String FLOAT
public static final String DOUBLE
public static final String DATE
public static final String MAP
public static final String COLLECTION
public static final String ARRAY
public static final String NATIVE_ARRAY
public static final String OBJECT
protected String type
protected Object value
public String getType()
public void setType(String s)
public void setType(Class<?> clazz)
public Object getValue()
public void setValue(Object v)
public XMLObject getObject()
public void setObject(XMLObject o)
public String getString()
public void setString(String s)
public Integer getInt()
public void setInt(Integer i)
public Long getLong()
public void setLong(Long l)
public Float getFloat()
public void setFloat(Float f)
public Double getDouble()
public void setDouble(Double d)
public Boolean getBoolean()
public void setBoolean(Boolean b)
public Date getDate()
public void setDate(Date date)
public XMLMap getMap()
public void setMap(XMLMap map)
public XMLCollection getCollection()
public void setCollectiontValue(Collection<?> collection) throws Exception
Exceptionpublic void setCollection(XMLCollection collection)
public XMLNativeArray getNativeArray()
public void setNativeArrayValue(Object array) throws Exception
Exceptionpublic void setNativeArray(XMLNativeArray array)
Copyright © 2021 eXo Platform SAS. All Rights Reserved.