Package org.bedework.util.json
Class SerializableProperties
java.lang.Object
org.bedework.util.json.SerializableProperties
Serializable form of information.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMap<?,?> asString()Map<?,?> This will be called to serialize the values for the db.getVals()voidbooleanintlongvoidsetBoolean(String name, Boolean val) voidvoidvoidvoidsetProperties(String val) void
-
Field Details
-
vals
-
-
Constructor Details
-
SerializableProperties
public SerializableProperties()
-
-
Method Details
-
init
- Throws:
Exception
-
setProperties
- Throws:
Exception
-
getProperties
This will be called to serialize the values for the db.- Returns:
- json serialized value
- Throws:
Exception
-
getVals
- Returns:
- Map representing extra properties.
-
asMap
- Throws:
Exception
-
asString
- Throws:
Exception
-
getMap
- Throws:
Exception
-
setBoolean
-
setInt
-
setLong
-
setString
-
setObject
-
must
- Throws:
Exception
-
mustList
- Throws:
Exception
-
may
- Throws:
Exception
-
mayList
- Throws:
Exception
-
mayList
- Throws:
Exception
-
mayInt
- Throws:
Exception
-
mayLong
- Throws:
Exception
-
mayBool
- Throws:
Exception
-