Oracle Coherence for C++ API
Release 3.7.1.0
E22845-01
#include <coherence/util/processor/PropertyManipulator.hpp>
Inherits Object, ValueManipulator, and PortableObject.
PropertyManipulator is a reflection based ValueManipulator implementation based on the JavaBean property name conventions.
Public Types |
|
| typedef spec::Handle | Handle |
| PropertyManipulator Handle definition. | |
| typedef spec::View | View |
| PropertyManipulator View definition. | |
| typedef spec::Holder | Holder |
| PropertyManipulator Holder definition. | |
Public Member Functions |
|
| virtual ValueExtractor::View |
getExtractor () const |
Retrieve the underlying ValueExtractor reference.
|
|
| virtual ValueUpdater::View |
getUpdater () const |
Retrieve the underlying ValueUpdater reference.
|
|
| virtual void | readExternal (PofReader::Handle hIn) |
| virtual void | writeExternal (PofWriter::Handle hOut) const |
| virtual bool | equals (Object::View v) const |
| virtual size32_t | hashCode () const |
| Return a hash code value for the Object.
This method is supported for the benefit of hash-based containers. The general contract of
The default implementation is identity based.
|
|
Public Attributes |
|
| MemberView< String > | m_vsName |
| The property name, never null. | |
| bool | m_fUseIs |
| The getter prefix flag. | |
| MemberView < ValueExtractor > |
m_vExtractorPart |
| A partial ValueExtractor used for composite properties. | |
| MemberView < ValueExtractor > |
m_vExtractor |
| The underlying ValueExtractor. | |
| MemberView < ValueUpdater > |
m_vUpdater |
| The underlying ValueUpdater. | |
Protected Member Functions |
|
| PropertyManipulator () | |
| Construct a PropertyManipulator. | |
| PropertyManipulator (String::View vsName, bool fUseIs=false) | |
| Construct a PropertyManipulator for the specified property name. | |
| void | init () const |
| Parse the property name and initialize necessary extractor and updator. | |
| PropertyManipulator | ( | String::View | vsName, | |
| bool | fUseIs = false |
|||
| ) | [protected] |
Construct a PropertyManipulator for the specified property name.
This constructor assumes that the corresponding property getter will have a name of either ("get" + sName) or ("is + sName) and the corresponding property setter's name will be ("set + sName).
| vsName | a property name | |
| fUseIs | if true, the getter method will be prefixed with "is" rather than "get" |
The documentation for this class was generated from the following file: