Class CassandraCpoAttribute
java.lang.Object
org.synchronoss.cpo.core.meta.bean.CpoAttributeBean
org.synchronoss.cpo.core.meta.domain.CpoAttribute
org.synchronoss.cpo.cassandra.meta.CassandraCpoAttribute
- All Implemented Interfaces:
Serializable,Cloneable
CassandraCpoAttribute. A class that includes the Cassandra-specific attributes (map/collection
key and value types) that are additional to the
CpoAttribute attributes.- Author:
- david berry
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the keytype class nameClass<?> Sets the Value Type classnameGets the Value Type classnameClass<?> Gets the Value Type ClazzvoidloadRunTimeInfo(CpoMetaDescriptor metaDescriptor, Class<?> metaClass) voidsetKeyType(String keyType) Sets the Key TypevoidsetKeyTypeClass(Class<?> keyTypeClass) Sets the Key Type ClazzvoidsetValueType(String valueType) Sets the Value Type classnamevoidsetValueTypeClass(Class<?> valueTypeClass) Sets the Value Type ClazzMethods inherited from class org.synchronoss.cpo.core.meta.domain.CpoAttribute
getCpoTransform, getDataTypeInt, getGetterReturnType, getSetterParamType, getTransformInMethod, getTransformInParamType, getTransformOutMethod, invokeGetter, invokeSetter, isPrimitiveAssignableFrom, setDataTypeInt, toString, toStringFullMethods inherited from class org.synchronoss.cpo.core.meta.bean.CpoAttributeBean
equals, getDataName, getDataType, getDescription, getJavaName, getJavaType, getTransformClassName, hashCode, setDataName, setDataType, setDescription, setJavaName, setJavaType, setTransformClassName
-
Constructor Details
-
CassandraCpoAttribute
public CassandraCpoAttribute()Constructs the CassandraCpoAttribute
-
-
Method Details
-
getKeyType
Gets the keytype class name- Returns:
- The keytype class name
-
setKeyType
Sets the Key Type- Parameters:
keyType- The keytype class name
-
getValueType
Gets the Value Type classname- Returns:
- the Value Type classname
-
setValueType
Sets the Value Type classname- Parameters:
valueType- the Value Type classname
-
getKeyTypeClass
Sets the Value Type classname- Returns:
- the Value Type classname
-
setKeyTypeClass
Sets the Key Type Clazz- Parameters:
keyTypeClass- the Key Type Clazz
-
getValueTypeClass
Gets the Value Type Clazz- Returns:
- the Value Type Clazz
-
setValueTypeClass
Sets the Value Type Clazz- Parameters:
valueTypeClass- the Value Type Clazz
-
loadRunTimeInfo
public void loadRunTimeInfo(CpoMetaDescriptor metaDescriptor, Class<?> metaClass) throws CpoException - Overrides:
loadRunTimeInfoin classCpoAttribute- Throws:
CpoException
-