com.ca.jcs.converter.meta
Class TimeNumericPropertyConverter

java.lang.Object
  extended by com.ca.jcs.cfg.Vetoable
      extended by com.ca.jcs.converter.meta.PropertyConverter
          extended by com.ca.jcs.converter.meta.TimeNumericPropertyConverter
All Implemented Interfaces:
AttributeConverter

public class TimeNumericPropertyConverter
extends PropertyConverter

Convert values for a time valued property to numeric form, if it has a MetaDataDefs.MD_IS_STORE_NUMERIC metadata property which is set to true where the time is replaced by a long specifying equivalent number of milliseconds.


Nested Class Summary
static class TimeNumericPropertyConverter.TimeNumericAttributeConverter
           
static class TimeNumericPropertyConverter.TimeNumericConverter
           
 
Field Summary
 
Fields inherited from class com.ca.jcs.converter.meta.PropertyConverter
config, prop
 
Constructor Summary
TimeNumericPropertyConverter(ConverterConfig cfg, DataModelProperty prop)
           
TimeNumericPropertyConverter(DataModelProperty prop)
           
 
Method Summary
 
Methods inherited from class com.ca.jcs.converter.meta.PropertyConverter
convertFromConnector, convertToConnector, getAttrConverter, getConfig, getConverter, getTargetValueOverride, isLossy, isMultiValued, isStructural, setAttrConverter
 
Methods inherited from class com.ca.jcs.cfg.Vetoable
isVetoed, setVetoed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeNumericPropertyConverter

public TimeNumericPropertyConverter(ConverterConfig cfg,
                                    DataModelProperty prop)

TimeNumericPropertyConverter

public TimeNumericPropertyConverter(DataModelProperty prop)


Created 2011-07-14 13:27 EST