|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.taco.text.KeyLookupRecord.KeyDescriptor
public static class KeyLookupRecord.KeyDescriptor
A data structure that holds information on how to associate a key in an argument with a property value of a composite object.
Field Summary | |
---|---|
IObjectMapper |
fromMapValueConverter
Specifies how to convert the associated value in the argument map to a property value of the composite. |
java.lang.String |
propertyName
The property name of the composite the key is associated with. |
boolean |
readArgMap
True if the value from the argument map should be used for a value. |
IObjectMapper |
toMapValueConverter
Specifies how to convert a property value of the composite to a value to be put in the argument map. |
boolean |
updateArgMap
True if a listener should be installed in the argument map to update the converted object when the value associated with the key changes. |
boolean |
writeArgMap
True if changes to a property of a composite object should be reflected in the argument map. |
Constructor Summary | |
---|---|
KeyLookupRecord.KeyDescriptor(java.lang.String propertyName,
IObjectMapper fromMapValueConverter,
IObjectMapper toMapValueConverter,
boolean readArgMap,
boolean updateArgMap,
boolean writeArgMap)
|
Method Summary | |
---|---|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String propertyName
public IObjectMapper fromMapValueConverter
null
, no
conversion is required.
public IObjectMapper toMapValueConverter
null
, no
conversion is required. If BAD_OBJECT_MAPPER
, an error
occurred parsing the converter, so no map consistency listener
should be added.
public boolean readArgMap
public boolean updateArgMap
public boolean writeArgMap
Constructor Detail |
---|
public KeyLookupRecord.KeyDescriptor(java.lang.String propertyName, IObjectMapper fromMapValueConverter, IObjectMapper toMapValueConverter, boolean readArgMap, boolean updateArgMap, boolean writeArgMap)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |