org.apache.jdo.impl.model.java
public class: MutableValueClassType [javadoc |
source]
java.lang.Object
org.apache.jdo.impl.model.java.AbstractJavaType
org.apache.jdo.impl.model.java.BaseReflectionJavaType
org.apache.jdo.impl.model.java.PredefinedType
org.apache.jdo.impl.model.java.ValueClassType
org.apache.jdo.impl.model.java.MutableValueClassType
All Implemented Interfaces:
JavaType
A MutableValueClassType instance represents a mutable class whoses
values may be treated as values rather than refernces during
storing. Note, MutableValueClassType instances are trackable which is
the only difference in behavior to instances of the superclass
ValueClassType.
Class PredefinedType provides public static final variables referring
to the JavaType representation for mutable value class types.
Also see:
- PredefinedType#dateType
- PredefinedType#sqlDateType
- PredefinedType#sqlTimeType
- PredefinedType#sqlTimestampType
- PredefinedType#bitsetType
- author:
Michael - Bouschen
- since:
JDO - 1.0.1
| Fields inherited from org.apache.jdo.impl.model.java.PredefinedType: |
|---|
| objectType, voidType, booleanType, byteType, shortType, intType, longType, charType, floatType, doubleType, numberType, stringType, localeType, bigDecimalType, bigIntegerType, booleanClassType, byteClassType, shortClassType, integerClassType, longClassType, characterClassType, floatClassType, doubleClassType, dateType, sqlDateType, sqlTimeType, sqlTimestampType, bitsetType, collectionType, setType, listType, abstractCollectionType, abstractSetType, hashSetType, treeSetType, abstractListType, arrayListType, linkedListType, vectorType, stackType, mapType, abstractMapType, hashMapType, dictionaryType, hashtableType, propertiesType, treeMapType |
| Constructor: |
public MutableValueClassType(Class clazz,
JavaType superclass,
boolean orderable) {
super(clazz, superclass, orderable);
}
Parameters:
clazz - the Class instance representing the type
superclass - JavaType instance representing the superclass.
orderable - flag indicating whether this type is orderable.
|
| Method from org.apache.jdo.impl.model.java.MutableValueClassType Summary: |
|---|
|
isTrackable |
| Methods from org.apache.jdo.impl.model.java.BaseReflectionJavaType: |
|---|
|
getDeclaredJavaFields, getDeclaredJavaProperties, getJavaClass, getJavaField, getJavaProperty, getModifiers, getName, getSuperclass, getUnderlyingObject, isCompatibleWith, isInterface |
| Methods from org.apache.jdo.impl.model.java.AbstractJavaType: |
|---|
|
equals, getArrayComponentType, getDeclaredJavaFields, getDeclaredJavaProperties, getJDOClass, getJavaField, getJavaProperty, getModifiers, getName, getSuperclass, getUnderlyingObject, hashCode, isArray, isCompatibleWith, isFloatingPoint, isIntegral, isInterface, isJDOSupportedCollection, isJDOSupportedMap, isOrderable, isPersistenceCapable, isPrimitive, isTrackable, isValue, isWrapperClass, toString |
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.apache.jdo.impl.model.java.MutableValueClassType Detail: |
public boolean isTrackable() {
return true;
}
Returns true if this JavaType represents a trackable
Java class. A JDO implementation may replace a persistent field of
a trackable type with an assignment compatible instance of its own
implementation of this type which notifies the owning FCO of any
change of this field. |