public final class RecordMapping extends RbfNodeMapping<RecordDescriptor>
Instances of this class are immutable and thread-safe.
| Constructor and Description |
|---|
RecordMapping(String dataTypeName,
RecordDescriptor nodeDescriptor,
Class<?> objectType,
FieldDescriptor fieldDescriptor,
boolean indirectMapping,
Validator validator)
Constructs a new
RecordMapping. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isIndirectMapping()
Signals if this is an indirect mapping.
|
getDataTypeName, getFieldDescriptor, getNodeDescriptor, getObjectType, getValidatorpublic RecordMapping(String dataTypeName, RecordDescriptor nodeDescriptor, Class<?> objectType, FieldDescriptor fieldDescriptor, boolean indirectMapping, Validator validator)
RecordMapping.dataTypeName - the data type namenodeDescriptor - the node descriptorobjectType - the object typefieldDescriptor - the field descriptorindirectMapping - true, if this is an indirect mapping; false otherwisevalidator - the validator; may be nullpublic boolean isIndirectMapping()
isIndirectMapping in class NodeMapping<String,RecordDescriptor>Copyright © 2014. All rights reserved.