public class DataModelReflection extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Map<PropertyName,?> |
properties
The actual properties in this data-model.
|
Constructor and Description |
---|
DataModelReflection(Map<PropertyName,?> properties)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Object |
getValue(PropertyName name)
Returns the property value.
|
int |
hashCode() |
String |
toString() |
static String |
toStringRepresentation(Object value)
Returns formatted string representation of values.
|
protected final Map<PropertyName,?> properties
public DataModelReflection(Map<PropertyName,?> properties)
properties
- current property listIllegalArgumentException
- if some parameters were null
public Object getValue(PropertyName name)
String
, BigInteger
, BigDecimal
, Calendar
, DataModelReflection
, Object
(means "variant"). DataModelDefinition.getType(PropertyName)
property type.name
- the property namenull
if the property was already null
/ not definedIllegalArgumentException
- if some parameters were null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.