public class MapBackedType extends Object implements CustomType
| Constructor and Description |
|---|
MapBackedType() |
MapBackedType(List<Property> properties) |
MapBackedType(Map<String,?> map)
Utility constructor by reflection over key-value pairs.
|
| Modifier and Type | Method and Description |
|---|---|
MapBackedType |
addField(String name,
Type type) |
Object |
fromString(String value) |
String |
getName() |
Map<String,Property> |
getProperties() |
String |
toString(Object value) |
public MapBackedType()
public MapBackedType(Map<String,?> map)
fields - public Object fromString(String value)
fromString in interface Typepublic MapBackedType addField(String name, Type type)
public Map<String,Property> getProperties()
getProperties in interface CustomTypeCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.