public class OwnedProperties extends EncodableObject implements CopyFrom
Modifier and Type | Class and Description |
---|---|
static class |
OwnedProperties.OwnedProperty |
Modifier and Type | Field and Description |
---|---|
protected boolean |
allowNonRequired |
OwnedVector |
data
Do not access this directly.
|
Constructor and Description |
---|
OwnedProperties(Object owner) |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(Object other)
Copy all appropriate data from another object.
|
void |
decoded(String from)
This method is called after the base implementation of textDecode() is executed.
|
void |
ensureRequired() |
Object |
get(String name) |
void |
remove(String name) |
void |
required(String name,
Object classOrSample) |
void |
set(String name,
Object value) |
void |
setAllowNonRequired(boolean allowNonRequired) |
String |
toString()
Return a String representation of this object.
|
decode, decoded, decodeFields, decodeFields, encode, encoded, encoded, encodeFields, encodeFields, textDecode, textEncode
_getFieldType, _getSetField, cache, compareTo, copied, equals, getCopy, getDeclaredField, getDeclaredFieldValue, getMyFieldList, getNew
public OwnedVector data
protected boolean allowNonRequired
public OwnedProperties(Object owner)
public void copyFrom(Object other)
DataUnit
public void setAllowNonRequired(boolean allowNonRequired)
public void ensureRequired()
public void remove(String name)
public void decoded(String from)
EncodableObject
decoded
in class EncodableObject
from
- The String this object was decoded from.