com.ca.jcs.converter.meta
Class CountryPropertyConverter
java.lang.Object
com.ca.jcs.cfg.Vetoable
com.ca.jcs.converter.meta.PropertyConverter
com.ca.jcs.converter.meta.CountryPropertyConverter
- All Implemented Interfaces:
- AttributeConverter
public class CountryPropertyConverter
- extends PropertyConverter
Converts country name values for a enum valued property named "country" (case-insensitive) to the country's two
letter ISO code ("Australia" in LDAP maps to "AU" in connector-speak) if it has a MetaDataDefs.MD_IS_STORE_CODE
metadata property set to true. Does the inverse mapping of ISO code to country name if the property has
MetaDataDefs.MD_IS_STORE_NAME set to true.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountryPropertyConverter
public CountryPropertyConverter(CountryPropertyConverter.CountryCodeConfig cfg,
DataModelProperty prop)
Created 2011-07-14 13:27 EST