Package org.bedework.eventreg.db
Class SerializableProperties
java.lang.Object
org.bedework.eventreg.db.SerializableProperties
- Direct Known Subclasses:
DbItem
Serializable form of information.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Map<?,?> protected StringasString()protected Map<?,?> This will be called to serialize the values for the db.getVals()voidprotected booleanprotected intvoidsetBoolean(String name, Boolean val) voidvoidvoidsetProperties(String val) void
-
Field Details
-
vals
-
-
Constructor Details
-
SerializableProperties
protected SerializableProperties()
-
-
Method Details
-
init
- Throws:
EventregException
-
setProperties
- Throws:
EventregException
-
getProperties
This will be called to serialize the values for the db.- Returns:
- json serialized value
- Throws:
EventregException
-
getVals
- Returns:
- Map representing extra properties.
-
asMap
- Throws:
EventregException
-
asString
- Throws:
EventregException
-
getMap
- Throws:
EventregException
-
setBoolean
-
setInt
-
setString
-
setObject
-
must
- Throws:
EventregException
-
mustList
- Throws:
EventregException
-
may
- Throws:
EventregException
-
mayList
- Throws:
EventregException
-
mayList
- Throws:
EventregException
-
mayInt
- Throws:
EventregException
-
mayBool
- Throws:
EventregException
-