com.ca.jcs.converter.meta
Class BoolPropertyConverter
java.lang.Object
com.ca.jcs.cfg.Vetoable
com.ca.jcs.converter.meta.PropertyConverter
com.ca.jcs.converter.meta.BoolPropertyConverter
- All Implemented Interfaces:
- AttributeConverter
public class BoolPropertyConverter
- extends PropertyConverter
Convert boolean values; either numeric (1/0) to symbolic (true/false)
or vice-versa, depending on configuration of converter and metadata
settings on supplied property.
|
Method Summary |
DataModelType |
getTargetValueOverride()
Override to return a type if desired, in which case any AttributeConverter registered against this
value will be cleared when this property converter is activated for a property. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BoolPropertyConverter
public BoolPropertyConverter(BoolPropertyConverter.BoolConfig cfg,
DataModelProperty prop)
BoolPropertyConverter
public BoolPropertyConverter(DataModelProperty prop)
getTargetValueOverride
public DataModelType getTargetValueOverride()
- Description copied from class:
PropertyConverter
- Override to return a type if desired, in which case any AttributeConverter registered against this
value will be cleared when this property converter is activated for a property.
- Overrides:
getTargetValueOverride in class PropertyConverter
Created 2011-07-14 13:27 EST