public abstract class ModelBase extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.joda.time.format.DateTimeFormatter |
dateFormat |
protected Map<String,Object> |
properties |
Constructor and Description |
---|
ModelBase() |
Modifier and Type | Method and Description |
---|---|
protected Object |
getProperty(String key) |
protected Boolean |
getPropertyAsBoolean(String key) |
protected Date |
getPropertyAsDate(String key) |
protected Double |
getPropertyAsDouble(String key) |
protected Long |
getPropertyAsLong(String key) |
protected String |
getPropertyAsString(String key) |
protected String[] |
getPropertyAsStringArray(String key) |
protected void |
putProperty(String key,
Object value) |
protected Map<String,Object> |
toMap() |
protected void |
updateProperties(org.json.simple.JSONObject jsonObject) |
Copyright © 2015. All Rights Reserved.