public class ElementSchema extends AbstractSchema
| Modifier and Type | Class and Description |
|---|---|
static class |
ElementSchema.JsonInfo
Json info of element schema
|
static class |
ElementSchema.MapInfo
Map info.
|
static class |
ElementSchema.XmlInfo
Xml info of element schema
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
wrapperName |
protected ElementSchema.XmlInfo |
xmlInfo
info about xml rapresentation
|
field, fieldType, name| Constructor and Description |
|---|
ElementSchema() |
| Modifier and Type | Method and Description |
|---|---|
ElementSchema.MapInfo |
getMapInfo() |
ElementSchemaType |
getType() |
String |
getWrapperName() |
ElementSchema.XmlInfo |
getXmlInfo() |
boolean |
hasWrapperName()
indica se ha un nome da usare come wrapper per incapsulare la lista.
|
boolean |
isArray() |
boolean |
isList()
Check if this is a java.util.List filed, such as List
|
boolean |
isMap()
True if field is a map
|
boolean |
isSet() |
void |
setArray() |
void |
setList()
Set if this is a java.util.List field or not.
|
void |
setSet()
Set if field is a set.
|
void |
setWrapperName(String xmlWrapperName) |
getField, getFieldType, getName, setField, setFieldType, setNameprotected String wrapperName
protected ElementSchema.XmlInfo xmlInfo
public ElementSchema.MapInfo getMapInfo()
public ElementSchemaType getType()
public String getWrapperName()
public boolean hasWrapperName()
public boolean isArray()
public boolean isList()
public boolean isMap()
public boolean isSet()
public void setArray()
public void setList()
collection - public void setSet()
value - public void setWrapperName(String xmlWrapperName)
public ElementSchema.XmlInfo getXmlInfo()
Copyright © 2015. All rights reserved.