| Modifier | Constructor and Description |
|---|---|
protected |
SerializableProperties() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<?,?> |
asMap(String val) |
protected String |
asString() |
protected Map<?,?> |
getMap(String name) |
String |
getProperties()
This will be called to serialize the values for the db.
|
Map |
getVals() |
void |
init(Map vals) |
String |
may(String name) |
protected boolean |
mayBool(String name) |
protected int |
mayInt(String name) |
List |
mayList(String name) |
List |
mayList(String name,
Map theVals) |
String |
must(String name) |
List<String> |
mustList(String name) |
void |
setBoolean(String name,
Boolean val) |
void |
setInt(String name,
Integer val) |
void |
setObject(String name,
Object val) |
void |
setProperties(String val) |
void |
setString(String name,
String val) |
protected Map vals
public void init(Map vals) throws EventregException
EventregExceptionpublic void setProperties(String val) throws EventregException
EventregExceptionpublic String getProperties() throws EventregException
EventregExceptionpublic Map getVals()
protected Map<?,?> asMap(String val) throws EventregException
EventregExceptionprotected String asString() throws EventregException
EventregExceptionprotected Map<?,?> getMap(String name) throws EventregException
EventregExceptionpublic String must(String name) throws EventregException
EventregExceptionpublic List<String> mustList(String name) throws EventregException
EventregExceptionpublic String may(String name) throws EventregException
EventregExceptionpublic List mayList(String name) throws EventregException
EventregExceptionpublic List mayList(String name, Map theVals) throws EventregException
EventregExceptionprotected int mayInt(String name) throws EventregException
EventregExceptionprotected boolean mayBool(String name) throws EventregException
EventregExceptionCopyright © 2018 Bedework. All rights reserved.