Class CpoClassCaseSensitive
java.lang.Object
org.synchronoss.cpo.core.meta.bean.CpoClassBean
org.synchronoss.cpo.core.meta.domain.CpoClass
org.synchronoss.cpo.core.meta.domain.CpoClassCaseSensitive
- All Implemented Interfaces:
Serializable,Comparable<CpoClass>,MetaDFVisitable
CpoClass variant whose datastore-name lookups are case-sensitive: attribute data names
are used as map keys exactly as configured.- Author:
- dberry
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDataNameToMap(String dataName, CpoAttribute cpoAttribute) Adds an attribute to the datastore-name lookup map, using whatever case-sensitivity policy the concrete subclass implements.getAttributeData(String dataName) Gets the attribute bound to the given datastore-side name.voidremoveDataNameFromMap(String dataName) Removes an attribute from the datastore-name lookup map.Methods inherited from class org.synchronoss.cpo.core.meta.domain.CpoClass
acceptMetaDFVisitor, addAttribute, addFunctionGroup, compareTo, emptyMaps, existsFunctionGroup, getAttributeJava, getFunctionGroup, getFunctionGroups, getMetaClass, loadRunTimeInfo, removeAttribute, removeFunctionGroup, toString, toStringFullMethods inherited from class org.synchronoss.cpo.core.meta.bean.CpoClassBean
equals, getDescription, getName, hashCode, setDescription, setName
-
Constructor Details
-
CpoClassCaseSensitive
public CpoClassCaseSensitive()Creates an empty instance.
-
-
Method Details
-
getAttributeData
Gets the attribute bound to the given datastore-side name.- Specified by:
getAttributeDatain classCpoClass- Parameters:
dataName- the datastore-side name to look up- Returns:
- the matching attribute, or
nullif none is bound todataName
-
addDataNameToMap
Adds an attribute to the datastore-name lookup map, using whatever case-sensitivity policy the concrete subclass implements.- Specified by:
addDataNameToMapin classCpoClass- Parameters:
dataName- the datastore-side name to key oncpoAttribute- the attribute to add
-
removeDataNameFromMap
Removes an attribute from the datastore-name lookup map.- Specified by:
removeDataNameFromMapin classCpoClass- Parameters:
dataName- the datastore-side name to remove
-