Serialized Form


Package org.datanucleus

Class org.datanucleus.FetchGroup extends Object implements Serializable

Serialized Fields

nucleusCtx

NucleusContext nucleusCtx
Context.


name

String name
Name of the group.


cls

Class<T> cls
The class that this group is for.


postLoad

boolean postLoad
Whether the postLoad callback is to be called when this group is loaded.


memberNames

Set<E> memberNames
Names of the fields/properties of the class that are part of this group.


recursionDepthByMemberName

Map<K,V> recursionDepthByMemberName
Map of recursion depth, keyed by the member name. Only has entries when not using default.


planListeners

Collection<E> planListeners
FetchPlans listening to this group for changes.


unmodifiable

boolean unmodifiable
Whether this group can be modified.

Class org.datanucleus.FetchPlan extends Object implements Serializable

Serialized Fields

groups

Set<E> groups
The "defined" fetch groups in the current FetchPlan.


fetchSize

int fetchSize
The Fetch size. For use when using large result sets.


detachmentOptions

int detachmentOptions
Options to be used during detachment. Spec 12.7 says that the default is DETACH_LOAD_FIELDS.


maxFetchDepth

int maxFetchDepth
Maximum depth to fetch from the root object.


detachmentRootClasses

Class<T>[] detachmentRootClasses
The classes used as the roots for detachment (DetachAllOnCommit).


detachmentRoots

Collection<E> detachmentRoots
The instances used as the roots for detachment (DetachAllOnCommit).

Class org.datanucleus.PersistenceConfiguration extends PropertyStore implements Serializable

Serialized Fields

defaultProperties

Map<K,V> defaultProperties
Map of default properties, used as a fallback.


propertyMappings

Map<K,V> propertyMappings
Mapping for the properties of the plugins, PropertyMapping, keyed by the property name.


propertyValidators

Map<K,V> propertyValidators

Package org.datanucleus.api

Package org.datanucleus.cache

Class org.datanucleus.cache.AbstractLevel2Cache extends Object implements Serializable

Serialized Fields

nucleusCtx

NucleusContext nucleusCtx

maxSize

int maxSize
Maximum size of cache (if supported by the plugin).


clearAtClose

boolean clearAtClose
Whether to clear out all objects at close().


timeout

long timeout
Timeout for cache object expiration (milliseconds).


cacheName

String cacheName
Name of the cache to use.

Class org.datanucleus.cache.CachedPC extends Object implements Serializable

Serialized Fields

cls

Class<T> cls
Class of the object being cached.


fieldValues

Map<K,V> fieldValues
Values for the fields, keyed by the abs field number. Any relation fields store the id of the related object.


version

Object version
Version of the cached object (if any) - Long, Timestamp etc.


loadedFields

boolean[] loadedFields
The loaded fields array. TODO Note that this could be interpreted from the keys of fieldValues.

Class org.datanucleus.cache.JavaxCacheLevel2Cache extends AbstractLevel2Cache implements Serializable

Serialized Fields

cache

javax.cache.Cache<K,V> cache
The cache to use.

Class org.datanucleus.cache.JavaxCacheQueryResultCache extends Object implements Serializable

Serialized Fields

cache

javax.cache.Cache<K,V> cache
The cache to use.

Class org.datanucleus.cache.NullLevel2Cache extends AbstractLevel2Cache implements Serializable

Class org.datanucleus.cache.SoftLevel2Cache extends WeakLevel2Cache implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException

Class org.datanucleus.cache.WeakLevel2Cache extends Object implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Throws:
IOException
Serialized Fields

pinnedClasses

Collection<E> pinnedClasses
Collection of pinned classes whose objects should be pinned if they ever reach the cache.


pinnedIds

Collection<E> pinnedIds
Collection of ids whose objects should be pinned if they ever reach the cache.


pinnedCache

Map<K,V> pinnedCache
Pinned objects cache.


apiAdapter

ApiAdapter apiAdapter

maxSize

int maxSize

Package org.datanucleus.enhancer

Class org.datanucleus.enhancer.NucleusEnhanceException extends NucleusException implements Serializable


Package org.datanucleus.enhancer.jdo

Class org.datanucleus.enhancer.jdo.JDOImplementationCreator extends Object implements Serializable

Serialized Fields

metaDataMgr

MetaDataManager metaDataMgr
MetaData manager to use.


loader

EnhancerClassLoader loader
ClassLoader for newly defined classes


Package org.datanucleus.enhancer.spi

Class org.datanucleus.enhancer.spi.ByteFieldPK extends SingleFieldPK implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Read this object. Read the superclass first.

Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Write this object. Write the superclass first.

Throws:
IOException

Class org.datanucleus.enhancer.spi.CharFieldPK extends SingleFieldPK implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Read this object. Read the superclass first.

Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Write this object. Write the superclass first.

Throws:
IOException

Class org.datanucleus.enhancer.spi.IntFieldPK extends SingleFieldPK implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Read this object. Read the superclass first.

Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Write this object. Write the superclass first.

Throws:
IOException

Class org.datanucleus.enhancer.spi.LongFieldPK extends SingleFieldPK implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Read this object. Read the superclass first.

Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Write this object. Write the superclass first.

Throws:
IOException

Class org.datanucleus.enhancer.spi.ObjectFieldPK extends SingleFieldPK implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Read this object. Read the superclass first.

Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Write this object. Write the superclass first.

Throws:
IOException

Class org.datanucleus.enhancer.spi.ShortFieldPK extends SingleFieldPK implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Read this object. Read the superclass first.

Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Write this object. Write the superclass first.

Throws:
IOException

Class org.datanucleus.enhancer.spi.SingleFieldPK extends Object implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Read from the input stream. Creates a new instance with the target class name set.

Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Write to the output stream.

Throws:
IOException

Class org.datanucleus.enhancer.spi.StringFieldPK extends SingleFieldPK implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Read this object. Read the superclass first.

Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Write this object. Write the superclass first.

Throws:
IOException

Package org.datanucleus.exceptions

Class org.datanucleus.exceptions.ClassNotDetachableException extends NucleusUserException implements Serializable

Class org.datanucleus.exceptions.ClassNotPersistableException extends NucleusUserException implements Serializable

Class org.datanucleus.exceptions.ClassNotResolvedException extends NucleusException implements Serializable

Class org.datanucleus.exceptions.CommitStateTransitionException extends NucleusException implements Serializable

Class org.datanucleus.exceptions.ConnectionFactoryNotFoundException extends NucleusUserException implements Serializable

Class org.datanucleus.exceptions.NoPersistenceInformationException extends NucleusUserException implements Serializable

Class org.datanucleus.exceptions.NucleusCanRetryException extends NucleusException implements Serializable

Class org.datanucleus.exceptions.NucleusDataStoreException extends NucleusException implements Serializable

Class org.datanucleus.exceptions.NucleusException extends RuntimeException implements Serializable

Serialized Fields

nested

Throwable[] nested
Array of nested Throwables (optional)


failed

Object failed
The object being processed when the error was encountered (optional).


fatal

boolean fatal
Flag defining if this exception is fatal, or could be retried with the possibility of success.

Class org.datanucleus.exceptions.NucleusFatalUserException extends NucleusUserException implements Serializable

Class org.datanucleus.exceptions.NucleusObjectNotFoundException extends NucleusException implements Serializable

Class org.datanucleus.exceptions.NucleusOptimisticException extends NucleusException implements Serializable

Class org.datanucleus.exceptions.NucleusUnsupportedOptionException extends NucleusUserException implements Serializable

Class org.datanucleus.exceptions.NucleusUserException extends NucleusException implements Serializable

Class org.datanucleus.exceptions.ObjectDetachedException extends NucleusUserException implements Serializable

Class org.datanucleus.exceptions.RollbackStateTransitionException extends NucleusException implements Serializable

Class org.datanucleus.exceptions.TransactionActiveOnBeginException extends NucleusUserException implements Serializable

Class org.datanucleus.exceptions.TransactionActiveOnCloseException extends NucleusUserException implements Serializable

Class org.datanucleus.exceptions.TransactionIsolationNotSupportedException extends NucleusUserException implements Serializable

Class org.datanucleus.exceptions.TransactionNotActiveException extends NucleusUserException implements Serializable

Class org.datanucleus.exceptions.TransactionNotReadableException extends TransactionNotActiveException implements Serializable

Class org.datanucleus.exceptions.TransactionNotWritableException extends TransactionNotActiveException implements Serializable

Class org.datanucleus.exceptions.UnsupportedConnectionFactoryException extends NucleusUserException implements Serializable


Package org.datanucleus.identity

Class org.datanucleus.identity.DatastoreUniqueOID extends Object implements Serializable

Serialized Fields

key

long key
The key value.

Class org.datanucleus.identity.IdentityReference extends Object implements Serializable

serialVersionUID: 2472281096825989665L

Serialized Fields

client

Object client
The object we are the identity for.

Class org.datanucleus.identity.OIDImpl extends Object implements Serializable

Serialized Fields

oid

Object oid
The key value.


pcClass

String pcClass
The persistable class name


toString

String toString
pre-created toString to improve performance


hashCode

int hashCode
pre-created hasCode to improve performance

Class org.datanucleus.identity.OIDImplKodo extends Object implements Serializable

Serialized Fields

oid

Object oid
The key value.


pcClass

String pcClass
The persistable class name


toString

String toString
pre-created toString to improve performance


hashCode

int hashCode
pre-created hasCode to improve performance

Class org.datanucleus.identity.OIDImplXcalia extends Object implements Serializable

Serialized Fields

oid

Object oid
The key value.


pcClass

String pcClass
The persistable class name


toString

String toString
pre-created toString to improve performance


hashCode

int hashCode
pre-created hasCode to improve performance

Class org.datanucleus.identity.XcaliaIdentityStringTranslator extends Object implements Serializable


Package org.datanucleus.metadata

Class org.datanucleus.metadata.AbstractClassMetaData extends MetaData implements Serializable

Serialized Fields

name

String name
Class name


entityName

String entityName
Entity name. Required by JPA $4.3.1 for accessing this class in queries.


mappedSuperclass

boolean mappedSuperclass
Whether this class is explicitly marked as MappedSuperclass. Will be false when using JDO.


instantiable

boolean instantiable
Whether the class is fully defined, and hence instantiable. This is false when it is a JPA MappedSuperclass and has no PK fields defined (will be defined in the derived Entity). This is different to whether the class is abstract - use isAbstract() for that.


identityType

IdentityType identityType
Identity-type tag value.


persistenceModifier

ClassPersistenceModifier persistenceModifier
persistence-modifier tag value.


persistableSuperclass

String persistableSuperclass
persistable-superclass tag value (deprecated).


objectidClass

String objectidClass
objectid-class tag value.


requiresExtent

boolean requiresExtent
requires-extent tag value.


detachable

boolean detachable
detachable tag value.


embeddedOnly

boolean embeddedOnly
embedded-only tag value.


catalog

String catalog
Catalog name (O/R mapping).


schema

String schema
Schema name (O/R mapping).


table

String table
Table name (O/R mapping). This may be of the form "[database].[catalog].[schema].table"


cacheable

Boolean cacheable
cacheable tag value.


fullName

String fullName
Full name (e.g org.datanucleus.MyClass)


versionMetaData

VersionMetaData versionMetaData
Version MetaData


identityMetaData

IdentityMetaData identityMetaData
Identity MetaData


identitySpecified

boolean identitySpecified
Flag whether the identity was specified by the user.


inheritanceMetaData

InheritanceMetaData inheritanceMetaData
Inheritance MetaData


primaryKeyMetaData

PrimaryKeyMetaData primaryKeyMetaData
PrimaryKey MetaData


listeners

List<E> listeners
EventListeners. Use a list to preserve ordering.


excludeSuperClassListeners

Boolean excludeSuperClassListeners
Flag to exclude superclass listeners.


excludeDefaultListeners

Boolean excludeDefaultListeners
Flag to exclude default listeners.


fetchGroupMetaDataByName

Map<K,V> fetchGroupMetaDataByName
Convenience lookup map of fetch group by the name.


pcSuperclassMetaData

AbstractClassMetaData pcSuperclassMetaData
Class MetaData for the persistable superclass (if any)


metaDataComplete

boolean metaDataComplete
Flag for whether the MetaData here is complete without annotations. Used by JPA.


serializeRead

boolean serializeRead
Whether to lock objects of this type on read operations.


queries

Collection<E> queries
Named queries


storedProcQueries

Collection<E> storedProcQueries
Named stored procs


queryResultMetaData

Collection<E> queryResultMetaData
List of query result MetaData defined for this file.


joinMetaData

JoinMetaData[] joinMetaData
JoinMetaData


indexMetaData

IndexMetaData[] indexMetaData
IndexMetaData


foreignKeyMetaData

ForeignKeyMetaData[] foreignKeyMetaData
ForeignKeyMetaData


uniqueMetaData

UniqueMetaData[] uniqueMetaData
UniqueMetaData


members

List<E> members
List of members (fields/properties).


unmappedColumns

List<E> unmappedColumns
The columns that are present in the datastore yet not mapped to fields in this class.


fetchGroups

Set<E> fetchGroups

joins

List<E> joins
List of joins


foreignKeys

List<E> foreignKeys
List of foreign-key


indexes

List<E> indexes
List of indexes


uniqueConstraints

List<E> uniqueConstraints
List of uniqueConstraints


managedMembers

AbstractMemberMetaData[] managedMembers
Managed fields/properties of this class. Contains the same AbstractMemberMetaData objects as are in "members". Doesnt include any overridden members which are stored separately. All fields will return true to "fmd.isJdoField()".


overriddenMembers

AbstractMemberMetaData[] overriddenMembers
Fields/properties for superclasses that are overridden in this class.


memberPositionsByName

Map<K,V> memberPositionsByName
Position numbers of members mapped by the name of the field/property.


allMemberPositions

int[] allMemberPositions
Positions of all fields/properties (inc superclasses).


pkMemberPositions

int[] pkMemberPositions
Positions of the primary-key fields/properties (inc superclasses).


nonPkMemberPositions

int[] nonPkMemberPositions
Positions of the non-primary-key fields/properties (inc superclasses).


nonPkMemberFlags

boolean[] nonPkMemberFlags
Flags of the non-primary key fields/properties (inc superclasses).


dfgMemberPositions

int[] dfgMemberPositions
Positions of the default-fetch-group fields/properties (inc superclasses).


dfgMemberFlags

boolean[] dfgMemberFlags
Flags of the default-fetch-group state for all fields/properties.


scoMutableMemberPositions

int[] scoMutableMemberPositions
Positions of the SCO mutable fields/properties (inc superclasses).


scoMutableMemberFlags

boolean[] scoMutableMemberFlags
Flags of the SCO mutable state for all fields/properties.


scoNonContainerMemberPositions

int[] scoNonContainerMemberPositions
Absolute positions of all SCO fields/properties that aren't containers.


relationPositions

int[] relationPositions
Absolute positions of the fields/properties that have relations.


noOfInheritedManagedMembers

int noOfInheritedManagedMembers
No of managed fields/properties in superclasses, that are inherited by this class.


usesSingleFieldIdentityClass

boolean usesSingleFieldIdentityClass
if this persistable class uses SingleFieldIdentity


memberCount

int memberCount
number of managed fields/properties from this class plus inherited classes.


implementationOfPersistentDefinition

boolean implementationOfPersistentDefinition

populating

boolean populating
whether the populate method is running


initialising

boolean initialising
whether the initialise method is running


fetchGroupMetaWithPostLoad

Boolean fetchGroupMetaWithPostLoad
Cached result of AbstractClassMetaData.hasFetchGroupWithPostLoad()


pkIsDatastoreAttributed

Boolean pkIsDatastoreAttributed
Cached result of AbstractClassMetaData.pkIsDatastoreAttributed(StoreManager)


hasRelations

Boolean hasRelations
Cached result of AbstractClassMetaData.hasRelations(ClassLoaderResolver, MetaDataManager)


secondClassContainerMemberPositions

int[] secondClassContainerMemberPositions
Positions of all SCO fields/properties that are containers.

Class org.datanucleus.metadata.AbstractConstraintMetaData extends MetaData implements Serializable

Serialized Fields

name

String name
the constraint name


table

String table
the constraint table name. Name of the table to which this applies (null implies the enclosing class' table).


memberNames

List<E> memberNames
The member names for this constraint.


columns

List<E> columns
The columns for this constraint. TODO Could we make this columnNames?

Class org.datanucleus.metadata.AbstractElementMetaData extends MetaData implements Serializable

Serialized Fields

unique

boolean unique
Whether to add a unique constraint


columnName

String columnName
column name value.


mappedBy

String mappedBy
Field that this is mapped to.


indexed

IndexedValue indexed
The indexing value


indexMetaData

IndexMetaData indexMetaData
IndexMetaData


uniqueMetaData

UniqueMetaData uniqueMetaData
UniqueMetaData.


foreignKeyMetaData

ForeignKeyMetaData foreignKeyMetaData
ForeignKeyMetaData


embeddedMetaData

EmbeddedMetaData embeddedMetaData
EmbeddedMetaData


columns

List<E> columns
Columns ColumnMetaData


columnMetaData

ColumnMetaData[] columnMetaData

Class org.datanucleus.metadata.AbstractMemberMetaData extends MetaData implements Serializable

Serialized Fields

columnMetaData

ColumnMetaData[] columnMetaData
Contains the metadata for column(s).


containerMetaData

ContainerMetaData containerMetaData
Meta-Data of any container.


embeddedMetaData

EmbeddedMetaData embeddedMetaData
EmbeddedMetaData.


joinMetaData

JoinMetaData joinMetaData
JoinMetaData.


elementMetaData

ElementMetaData elementMetaData
ElementMetaData.


keyMetaData

KeyMetaData keyMetaData
KeyMetaData.


valueMetaData

ValueMetaData valueMetaData
ValueMetaData.


indexMetaData

IndexMetaData indexMetaData
IndexMetaData.


indexed

IndexedValue indexed
The indexing value


uniqueMetaData

UniqueMetaData uniqueMetaData
UniqueMetaData.


uniqueConstraint

boolean uniqueConstraint
Whether to add a unique constraint.


orderMetaData

OrderMetaData orderMetaData
OrderMetaData.


foreignKeyMetaData

ForeignKeyMetaData foreignKeyMetaData
ForeignKeyMetaData.


defaultFetchGroup

Boolean defaultFetchGroup
default-fetch-group tag value.


column

String column
column tag value.


mappedBy

String mappedBy
mapped-by tag value.


embedded

Boolean embedded
embedded tag value.


dependent

Boolean dependent
Whether this field contains a reference that should be deleted when deleting this field.


serialized

Boolean serialized
serialized tag value.


cacheable

boolean cacheable
cacheable tag value.


cascadePersist

Boolean cascadePersist
Whether to persist this relation when persisting the owning object.


cascadeUpdate

Boolean cascadeUpdate
Whether to update this relation when updating the owning object.


cascadeDelete

Boolean cascadeDelete
Whether to delete this relation when deleting the owning object (JPA). TODO Link this to dependent


cascadeDetach

Boolean cascadeDetach
Whether to detach this relation when detaching the owning object (JPA).


cascadeRefresh

Boolean cascadeRefresh
Whether to refresh this relation when refreshing the owning object (JPA).


cascadeRemoveOrphans

boolean cascadeRemoveOrphans
Whether to remove orphans when deleting the owning object (JPA).


loadFetchGroup

String loadFetchGroup
load-fetch-group value.


recursionDepth

int recursionDepth
recursion-depth value.


name

String name
Field name.


nullValue

NullValue nullValue
null-value tag value (default is NONE).


persistenceModifier

FieldPersistenceModifier persistenceModifier
persistence-modifier tag value.


primaryKey

Boolean primaryKey
primary key tag value.


table

String table
Table name for this field.


catalog

String catalog
Catalog for the table specified for this field.


schema

String schema
Schema for the table specified for this field.


valueStrategy

IdentityStrategy valueStrategy
The value-strategy attribute specifies the strategy used to generate values for the field. This attribute has the same values and meaning as the strategy attribute in datastoreidentity.


valueGeneratorName

String valueGeneratorName
Name of a value generator if the user wants to override the default generator.


sequence

String sequence
If the value-strategy is sequence, the sequence attribute specifies the name of the sequence to use to automatically generate a value for the field.


className

String className
Name of the class to which this field really belongs. Will be null if the field belongs to the parent ClassMetaData, and will have a value if it is an overriding field.


fullFieldName

String fullFieldName
Cache result of AbstractMemberMetaData.getFullFieldName().


fieldTypes

String[] fieldTypes
Specification of the possible type(s) that can be stored in this field. This is for the case where the field/property is declared as an interface, or Object and hence can contain derived types. This provides the restriction to a particular type.


type

Class<T> type
Field type being represented.


memberRepresented

Member memberRepresented
The member (field/method) being represented here. Note, this prevents Serialization.


fieldId

int fieldId
Id of the field in its class (only for fields that are managed). If the value is -1, the field is NOT managed or the object hasn't been populated.


relationType

RelationType relationType
The relation type of this field (1-1, 1-N, M-N, N-1).


relatedMemberMetaData

AbstractMemberMetaData[] relatedMemberMetaData
MetaData for the other end of a relation when this member is a bidirectional relation. This may be multiple fields if the FK is shared.


ordered

boolean ordered
Temporary flag to signify if the field is ordered.


columns

List<E> columns
Columns ColumnMetaData


targetClassName

String targetClassName
Name of the target entity (when used with JPA MetaData on OneToOne, OneToMany etc)


storeInLob

boolean storeInLob
Wrapper for the ugly JPA "lob" so that when being populated we should make this serialised in some way.


persistenceFlags

byte persistenceFlags
Flags for use in enhancement process [see JDO spec 21.14]

Class org.datanucleus.metadata.ArrayMetaData extends ContainerMetaData implements Serializable

Serialized Fields

element

org.datanucleus.metadata.ContainerComponent element
Representation of the element of the array.


mayContainPersistableElements

boolean mayContainPersistableElements
wether this array may contain persistable elements

Class org.datanucleus.metadata.ClassMetaData extends AbstractClassMetaData implements Serializable

Serialized Fields

implementations

List<E> implementations
List of implements.


implementsMetaData

ImplementsMetaData[] implementsMetaData
ImplementsMetaData


isAbstract

boolean isAbstract
is the persistable class abstract.

Class org.datanucleus.metadata.CollectionMetaData extends ContainerMetaData implements Serializable

Serialized Fields

element

org.datanucleus.metadata.ContainerComponent element
Representation of the element of the collection.

Class org.datanucleus.metadata.ColumnMetaData extends MetaData implements Serializable

Serialized Fields

name

String name
column name.


target

String target
target column name (for matching across a FK).


targetMember

String targetMember
target field/property name (for matching across a FK).


jdbcType

String jdbcType
jdbc-type to use (if any).


sqlType

String sqlType
sql-type to use (if any). Takes priority over jdbc-type.


length

Integer length
length to use (if any). Also known as "precision" when for floating point types.


scale

Integer scale
scale to use (if any).


allowsNull

Boolean allowsNull
Whether the column accepts nulls.


defaultValue

String defaultValue
Default value for the column (when constructing the table with this column).


insertValue

String insertValue
value to use when inserting this column in the datastore (the column is not mapped to a field/property)


insertable

boolean insertable
Whether this column is to be inserted when the owning object is inserted.


updateable

boolean updateable
Whether this column can be updated when the owning object is updated.


unique

boolean unique
Whether this column should be marked as UNIQUE.


columnDdl

String columnDdl
Optional column DDL appended to the column definition defined by DataNucleus.


position

Integer position
Column position for the table as a whole (0-origin).

Class org.datanucleus.metadata.ContainerMetaData extends MetaData implements Serializable

Serialized Fields

allowNulls

Boolean allowNulls
Whether this container allows nulls to be stored (as elements/keys/values).

Class org.datanucleus.metadata.DiscriminatorMetaData extends MetaData implements Serializable

Serialized Fields

strategy

DiscriminatorStrategy strategy
strategy tag value.


columnName

String columnName
Column name of discriminator


value

String value
Value for discriminator column


indexed

IndexedValue indexed
Whether the discriminator is indexed or not and whether it is unique


columnMetaData

ColumnMetaData columnMetaData
Discriminator column


indexMetaData

IndexMetaData indexMetaData
Definition of any indexing of the discriminator column.

Class org.datanucleus.metadata.ElementMetaData extends AbstractElementMetaData implements Serializable

Class org.datanucleus.metadata.EmbeddedMetaData extends MetaData implements Serializable

Serialized Fields

ownerMember

String ownerMember
Name of the field/property in the embedded object that refers to the owner (bidirectional relation).


nullIndicatorColumn

String nullIndicatorColumn
Name of a column used for determining if the embedded object is null


nullIndicatorValue

String nullIndicatorValue
Value in the null column indicating that the embedded object is null


discriminatorMetaData

DiscriminatorMetaData discriminatorMetaData
Discriminator for use when embedding objects with inheritance.


members

List<E> members
Fields/properties of the embedded object.


fieldMetaData

AbstractMemberMetaData[] fieldMetaData

Class org.datanucleus.metadata.EventListenerMetaData extends MetaData implements Serializable

Serialized Fields

className

String className
Name of the EventListener class.


methodNamesByCallbackName

Map<K,V> methodNamesByCallbackName
Method names in the EventListener class keyed by their callback name (e.g javax.persistence.PrePersist, etc).

Class org.datanucleus.metadata.ExtensionMetaData extends Object implements Serializable

Serialized Fields

vendorName

String vendorName
vendor-name tag value.


key

String key
key tag value.


value

String value
value tag value.

Class org.datanucleus.metadata.FetchGroupMemberMetaData extends MetaData implements Serializable

Serialized Fields

name

String name

recursionDepth

int recursionDepth

isProperty

boolean isProperty

Class org.datanucleus.metadata.FetchGroupMetaData extends MetaData implements Serializable

Serialized Fields

postLoad

boolean postLoad
The post-load attribute on the fetch-group element indicates whether the jdoPost-Load callback will be made when the fetch group is loaded. It defaults to false, for all fetch groups except the default fetch group, on which it defaults to true.


name

String name
The name attribute on a field element contained within a fetch-group element is the name of field in the enclosing class or a dot-separated expression identifying a field reachable from the class by navigating a reference, collection or map. For maps of persistencecapable classes "#key" or "#value" may be appended to the name of the map field to navigate the key or value respectively (e.g. to include a field of the key class or value class in the fetch group). For collection and arrays of persistence-capable classes, "#element" may be appended to the name of the field to navigate the element. This is optional; if omitted for collections and arrays, #element is assumed.


fetchGroups

Set<E> fetchGroups
A contained fetch-group element indicates that the named group is to be included in the group being defined. Nested fetch group elements are limited to only the name attribute.


members

Set<E> members
members (fields/properties) declared to be in this fetch group.

Class org.datanucleus.metadata.FetchPlanMetaData extends MetaData implements Serializable

Serialized Fields

name

String name
Name of the FetchPlan.


maxFetchDepth

int maxFetchDepth
Max fetch depth for this FetchPlan.


fetchSize

int fetchSize
Fetch Size for use when querying using this FetchPlan.


fetchGroups

List<E> fetchGroups
Series of Fetch Groups used in this FetchPlan. Only used during construction.

Class org.datanucleus.metadata.FieldMetaData extends AbstractMemberMetaData implements Serializable

Class org.datanucleus.metadata.FileMetaData extends MetaData implements Serializable

Serialized Fields

type

MetadataFileType type
Type of file (JDO, ORM, JDOQUERY, etc)


filename

String filename
Name of file


catalog

String catalog
Catalog name for all classes in this file


schema

String schema
Schema name for all classes in this file


queries

Collection<E> queries
Named queries defined in this file.


storedProcs

Collection<E> storedProcs
Named stored procedures defined in this file.


queryResultMetaData

Collection<E> queryResultMetaData
List of query result MetaData defined for this file.


fetchPlans

Collection<E> fetchPlans
Named FetchPlans in this file.


packages

List<E> packages
List of packages in this file (uses List to retain file positioning)


listeners

List<E> listeners
List of event listeners defined for this file.

Class org.datanucleus.metadata.ForeignKeyAction extends Object implements Serializable

Serialized Fields

typeId

int typeId
The type id

Class org.datanucleus.metadata.ForeignKeyMetaData extends AbstractConstraintMetaData implements Serializable

Serialized Fields

unique

boolean unique
The unique attribute specifies whether the foreign key constraint is defined to be a unique constraint as well. This is most often used with one-to-one mappings.


deferred

boolean deferred
The deferred attribute specifies whether the foreign key constraint is defined to be checked only at commit time.


deleteAction

ForeignKeyAction deleteAction
Foreign keys represent a consistency constraint in the database that must be maintained. The user can specify by the value of the delete-action attribute what happens if the target row of a foreign key is deleted.


updateAction

ForeignKeyAction updateAction
Foreign keys represent a consistency constraint in the database that must be maintained. The user can specify by the update-action attribute what happens if the target row of a foreign key is updated.


fkDefinition

String fkDefinition
Alternative method of specifying FK where we just supply the string defining it (JPA crap).


fkDefinitionApplies

boolean fkDefinitionApplies

Class org.datanucleus.metadata.IdentityMetaData extends MetaData implements Serializable

Serialized Fields

columnName

String columnName
column name value.


columnMetaData

ColumnMetaData columnMetaData
Metadata for column.


strategy

IdentityStrategy strategy
strategy tag value.


sequence

String sequence
sequence tag value.


valueGeneratorName

String valueGeneratorName
Name of a value generator if the user wants to override the default generator.

Class org.datanucleus.metadata.IdentityStrategy extends Object implements Serializable

Serialized Fields

typeId

int typeId
The type id.


customName

String customName
The Name of the custom type (if CUSTOM).

Class org.datanucleus.metadata.ImplementsMetaData extends MetaData implements Serializable

Serialized Fields

name

String name
Name of the interface implemented.


properties

List<E> properties
Properties implemented.

Class org.datanucleus.metadata.IndexMetaData extends AbstractConstraintMetaData implements Serializable

Serialized Fields

unique

boolean unique
You can use UNIQUE constraints to ensure that no duplicate values are entered in specific columns that do not participate in a primary key. Although both a UNIQUE constraint and a PRIMARY KEY constraint enforce uniqueness, use a UNIQUE constraint instead of a PRIMARY KEY constraint when you want to enforce the uniqueness of: A UNIQUE constraint can also be referenced by a FOREIGN KEY constraint.

Class org.datanucleus.metadata.InheritanceMetaData extends MetaData implements Serializable

Serialized Fields

strategy

InheritanceStrategy strategy
strategy tag value.


joinMetaData

JoinMetaData joinMetaData
JoinMetaData element.


discriminatorMetaData

DiscriminatorMetaData discriminatorMetaData
DiscriminatorMetaData element.


strategyForTree

String strategyForTree
Strategy to apply for the whole inheritance tree. Optional, used by JPA.

Class org.datanucleus.metadata.InterfaceMetaData extends AbstractClassMetaData implements Serializable

Class org.datanucleus.metadata.InvalidAnnotationException extends NucleusUserException implements Serializable

Serialized Fields

messageKey

String messageKey
Message resources key


cause

Throwable cause
Cause of the exception

Class org.datanucleus.metadata.InvalidClassMetaDataException extends InvalidMetaDataException implements Serializable

Serialized Fields

className

String className

Class org.datanucleus.metadata.InvalidMemberMetaDataException extends InvalidMetaDataException implements Serializable

Serialized Fields

className

String className

memberName

String memberName

Class org.datanucleus.metadata.InvalidMetaDataException extends NucleusFatalUserException implements Serializable

Serialized Fields

messageKey

String messageKey
Message resources key

Class org.datanucleus.metadata.InvalidPrimaryKeyException extends InvalidClassMetaDataException implements Serializable

Class org.datanucleus.metadata.JoinMetaData extends MetaData implements Serializable

Serialized Fields

foreignKeyMetaData

ForeignKeyMetaData foreignKeyMetaData
the foreign-key element.


indexMetaData

IndexMetaData indexMetaData
the index element.


uniqueMetaData

UniqueMetaData uniqueMetaData
the unique element.


primaryKeyMetaData

PrimaryKeyMetaData primaryKeyMetaData
PrimaryKey MetaData


columns

List<E> columns
column elements


outer

boolean outer
if is outer join. Outer joins return all elements from at least one of the sides joined.


table

String table
the table name.


catalog

String catalog
the catalog name.


schema

String schema
the schema name.


columnName

String columnName
the column name.


indexed

IndexedValue indexed
The indexing value


unique

boolean unique
Whether to add a unique constraint.


columnMetaData

ColumnMetaData[] columnMetaData
Contains the metadata for column

Class org.datanucleus.metadata.KeyMetaData extends AbstractElementMetaData implements Serializable

Class org.datanucleus.metadata.MapMetaData extends ContainerMetaData implements Serializable

Serialized Fields

mapType

MapMetaData.MapType mapType
Type of map.


key

org.datanucleus.metadata.ContainerComponent key
Representation of the key of the map.


value

org.datanucleus.metadata.ContainerComponent value
Representation of the value of the map.

Class org.datanucleus.metadata.MetaData extends Object implements Serializable

Serialized Fields

metaDataState

int metaDataState
State of the MetaData.


parent

MetaData parent
Parent MetaData object, allowing hierarchical MetaData structure.


extensions

Collection<E> extensions
List of extensions for this MetaData element.

Class org.datanucleus.metadata.MetaDataManager extends Object implements Serializable

Serialized Fields

nucleusContext

NucleusContext nucleusContext
The NucleusContext that this metadata manager is operating in.


annotationManager

AnnotationManager annotationManager
Manager for annotations.


metaDataParser

MetaDataParser metaDataParser
Parser for MetaData.


validateXML

boolean validateXML
Flag whether we should validate the (XML) metadata files when parsing.


supportXMLNamespaces

boolean supportXMLNamespaces
Flag whether we should be (XML) namespace aware when parsing.


classesWithoutPersistenceInfo

Collection<E> classesWithoutPersistenceInfo
Cache of class names that are known to not have MetaData/annotations.


fileMetaDataByURLString

Map<K,V> fileMetaDataByURLString
Map of FileMetaData for the parsed files, keyed by the URL string.


classMetaDataByClass

Map<K,V> classMetaDataByClass
Map of ClassMetaData, keyed by the class name.


classMetaDataByEntityName

Map<K,V> classMetaDataByEntityName
Map of ClassMetaData, keyed by the JPA "entity name".


classMetaDataByDiscriminatorName

Map<K,V> classMetaDataByDiscriminatorName
Map of ClassMetaData, keyed by the class discriminator name.


directSubclassesByClass

Map<K,V> directSubclassesByClass
Cache subclass information as that is expensive to compute, keyed by class name


queryMetaDataByName

Map<K,V> queryMetaDataByName
Map of QueryMetaData, keyed by the (class name + query name).


storedProcQueryMetaDataByName

Map<K,V> storedProcQueryMetaDataByName
Map of StoredProcQueryMetaData, keyed by the (class name + query name).


fetchPlanMetaDataByName

Map<K,V> fetchPlanMetaDataByName
Map of FetchPlanMetaData, keyed by the fetch plan name.


sequenceMetaDataByPackageSequence

Map<K,V> sequenceMetaDataByPackageSequence
Map of SequenceMetaData, keyed by the package name and sequence name.


tableGeneratorMetaDataByPackageSequence

Map<K,V> tableGeneratorMetaDataByPackageSequence
Map of TableGeneratorMetaData, keyed by the package name and generator name.


queryResultMetaDataByName

Map<K,V> queryResultMetaDataByName
Map of QueryResultMetaData keyed by the name.


classMetaDataByAppIdClassName

MultiMap classMetaDataByAppIdClassName
Map of class metadata, keyed by the application-id object-id class name (not SingleField).


listeners

Set<E> listeners
Listeners for metadata load.


userMetaDataNumber

int userMetaDataNumber
Number of user metadata items.


allowMetaDataLoad

boolean allowMetaDataLoad
Flag defining if we allow metadata load currently. If false then we only allow access to currently loaded metadata.


allowXML

boolean allowXML
Whether we allow XML metadata.


allowAnnotations

boolean allowAnnotations
Whether we allow annotations metadata.


allowORM

boolean allowORM
Whether we allow ORM XML metadata.


discriminatorLookupByRootClassName

Map<K,V> discriminatorLookupByRootClassName

utilisedFileMetaData

ArrayList<E> utilisedFileMetaData
Temporary list of the FileMetaData objects utilised in this call for metadata.


loadedMetaData

List<E> loadedMetaData
Temporary list of class metadata loaded during the current call.

Class org.datanucleus.metadata.OrderMetaData extends MetaData implements Serializable

Serialized Fields

columnName

String columnName
The name of the column (if specified as input)


columns

List<E> columns
the columns


indexMetaData

IndexMetaData indexMetaData
IndexMetaData.


indexed

IndexedValue indexed
The indexing value specified as input.


mappedBy

String mappedBy
Name of the field in the element that is the ordering field.


ordering

String ordering
Ordering when using an "ordered list" where the elements are retrieved in a particular order. Only used until initialise().


fieldOrders

OrderMetaData.FieldOrder[] fieldOrders
Ordering of fields (when using "ordered List").


columnMetaData

ColumnMetaData[] columnMetaData
Contains the metadata for column

Class org.datanucleus.metadata.OrderMetaData.FieldOrder extends Object implements Serializable

Serialized Fields

fieldName

String fieldName

forward

boolean forward

Class org.datanucleus.metadata.PackageMetaData extends MetaData implements Serializable

Serialized Fields

interfaces

List<E> interfaces
List of interfaces (uses List to retain positioning).


classes

List<E> classes
List of classes (uses List to retain positioning).


sequences

Collection<E> sequences
Sequence generators.


tableGenerators

Collection<E> tableGenerators
Table generators.


name

String name
Package name


catalog

String catalog
Catalog name for all classes in this package


schema

String schema
Schema name for all classes in this package

Class org.datanucleus.metadata.PersistenceFileMetaData extends MetaData implements Serializable

Serialized Fields

filename

String filename
Filename of the "persistence.xml"


persistenceUnits

HashSet<E> persistenceUnits
Persistence units defined in this file.

Class org.datanucleus.metadata.PersistenceUnitMetaData extends MetaData implements Serializable

Serialized Fields

name

String name
Name of the persistence unit.


rootURI

URI rootURI
Root of the persistence unit.


transactionType

TransactionType transactionType
Transaction type for this persistence unit.


description

String description
Description of the persistence unit.


provider

String provider
Provider for the persistence unit.


validationMode

String validationMode
Validation Mode for Bean Validator.


jtaDataSource

String jtaDataSource
JTA data source for the persistence unit.


nonJtaDataSource

String nonJtaDataSource
Non-JTA data source for the persistence unit.


classNames

Set<E> classNames
Names of the classes specified.


jarFiles

Set<E> jarFiles
Names/URLs of the JAR files specified.


mappingFileNames

Set<E> mappingFileNames
Names of the mapping files specified.


properties

Properties properties
Vendor properties.


excludeUnlistedClasses

boolean excludeUnlistedClasses
Whether to exclude unlisted classes.


caching

String caching
Caching policy for persistable objects.

Class org.datanucleus.metadata.PrimaryKeyMetaData extends MetaData implements Serializable

Serialized Fields

name

String name
PK constraint name.


columnName

String columnName
Column name of PK.


columnMetaData

ColumnMetaData[] columnMetaData
MetaData for columns to be used in PK.


columns

List<E> columns
the columns elements to be included in the index. Suitable to be empty when this metadata is contained within a field, element, key, value, or join elements

Class org.datanucleus.metadata.PropertyMetaData extends AbstractMemberMetaData implements Serializable

Serialized Fields

fieldName

String fieldName
Name of the field that this property is wrapping (when part of a persistent class).

Class org.datanucleus.metadata.QueryMetaData extends MetaData implements Serializable

Serialized Fields

scope

String scope
Scope of this query (if any).


name

String name
Name of the query.


language

String language
Query language.


unmodifiable

boolean unmodifiable
Whether the query is unmodifiable.


query

String query
The single string query


resultClass

String resultClass
The result class to use. Only applies to SQL.


resultMetaDataName

String resultMetaDataName
Name for the MetaData defining the mapping of the result set (for JPA SQL).


unique

boolean unique
Whether the query returns unique. Only applies to SQL.


fetchPlanName

String fetchPlanName
Name of any fetch-plan to use.

Class org.datanucleus.metadata.QueryResultMetaData extends MetaData implements Serializable

Serialized Fields

name

String name
Name of the query result mapping.


persistentTypeMappings

List<E> persistentTypeMappings
Collection of mappings of persistent types returned from the result set.


scalarColumns

List<E> scalarColumns
Collection of column names in the result set that are returned as scalars.

Class org.datanucleus.metadata.SequenceMetaData extends MetaData implements Serializable

Serialized Fields

name

String name
Name under which this sequence generator is known.


datastoreSequence

String datastoreSequence
Datastore Sequence name


factoryClass

String factoryClass
factory class name (JDO).


strategy

SequenceStrategy strategy
Strategy for this sequence (JDO).


initialValue

int initialValue
Initial value of the sequence.


allocationSize

int allocationSize
Allocation size for the sequence.

Class org.datanucleus.metadata.StoredProcQueryMetaData extends MetaData implements Serializable

Serialized Fields

name

String name

procedureName

String procedureName

parameters

List<E> parameters

resultClasses

List<E> resultClasses

resultSetMappings

List<E> resultSetMappings

Class org.datanucleus.metadata.StoredProcQueryParameterMetaData extends MetaData implements Serializable

Serialized Fields

name

String name

type

String type

mode

StoredProcQueryParameterMode mode

Class org.datanucleus.metadata.TableGeneratorMetaData extends MetaData implements Serializable

Serialized Fields

name

String name
Name under which this table generator is known.


tableName

String tableName
Name of the table to use for sequences


catalogName

String catalogName
Name of the catalog to use for the table


schemaName

String schemaName
Name of the schema to use for the table


pkColumnName

String pkColumnName
Name of the primary-key column name


valueColumnName

String valueColumnName
Name of the value column name


pkColumnValue

String pkColumnValue
Name of the primary-key column value


initialValue

long initialValue
Initial value in the table.


allocationSize

long allocationSize
Allocation size for ids from the table.

Class org.datanucleus.metadata.UniqueMetaData extends AbstractConstraintMetaData implements Serializable

Serialized Fields

deferred

boolean deferred
Whether the unique is initially deferred.

Class org.datanucleus.metadata.ValueMetaData extends AbstractElementMetaData implements Serializable

Class org.datanucleus.metadata.VersionMetaData extends MetaData implements Serializable

Serialized Fields

versionStrategy

VersionStrategy versionStrategy
strategy for generating the version.


columnName

String columnName
column name


columnMetaData

ColumnMetaData columnMetaData
Contains the metadata for column.


indexMetaData

IndexMetaData indexMetaData
IndexMetaData for the version column.


indexed

IndexedValue indexed
Indexed value.


fieldName

String fieldName
Name of the field that contains the version (if not generating a surrogate column).


Package org.datanucleus.plugin

Class org.datanucleus.plugin.NonManagedPluginRegistry.ExtensionSorter extends Object implements Serializable

Class org.datanucleus.plugin.OSGiPluginRegistry.ExtensionSorter extends Object implements Serializable


Package org.datanucleus.properties

Class org.datanucleus.properties.PropertyTypeInvalidException extends NucleusUserException implements Serializable


Package org.datanucleus.query.compiler

Class org.datanucleus.query.compiler.QueryCompilation extends Object implements Serializable

Serialized Fields

queryLanguage

String queryLanguage
Query language that this is a compilation for.


candidateClass

Class<T> candidateClass
Primary candidate class.


candidateAlias

String candidateAlias
Alias for the (primary) candidate. Defaults to "this".


returnsSingleRow

boolean returnsSingleRow
Whether the query will return a single row.


symtbl

SymbolTable symtbl
Compiled Symbol Table.


resultDistinct

boolean resultDistinct
Whether the result is distinct.


exprResult

Expression[] exprResult
Compiled result expression.


exprFrom

Expression[] exprFrom
Compiled from expression.


exprUpdate

Expression[] exprUpdate
Compiled update expression.


exprFilter

Expression exprFilter
Compiled filter expression


exprGrouping

Expression[] exprGrouping
Compiled grouping expression.


exprHaving

Expression exprHaving
Compiled having expression.


exprOrdering

Expression[] exprOrdering
Compiled ordering expression.


subqueryCompilations

Map<K,V> subqueryCompilations
Compilations of any subqueries, keyed by the subquery variable name.


Package org.datanucleus.query.evaluator

Class org.datanucleus.query.evaluator.InMemoryQueryResult extends AbstractList implements Serializable

Serialized Fields

api

ApiAdapter api

results

List<E> results

closed

boolean closed
Whether the results are close.


Package org.datanucleus.query.evaluator.memory

Class org.datanucleus.query.evaluator.memory.VariableNotSetException extends RuntimeException implements Serializable

Serialized Fields

varExpr

VariableExpression varExpr

variableValues

Object[] variableValues

Package org.datanucleus.query.expression

Class org.datanucleus.query.expression.ArrayExpression extends Expression implements Serializable

Serialized Fields

elements

List<E> elements
Elements of the array.

Class org.datanucleus.query.expression.CaseExpression extends Expression implements Serializable

Serialized Fields

actionByCondition

Map<K,V> actionByCondition

elseExpr

Expression elseExpr

Class org.datanucleus.query.expression.ClassExpression extends Expression implements Serializable

Serialized Fields

candidateExpression

String candidateExpression
Optional candidate expression when in subquery and the class is a relation to the outer query.

Class org.datanucleus.query.expression.CreatorExpression extends Expression implements Serializable

Serialized Fields

tuples

List<E> tuples
Components of the class name being created e.g ["org", "datanucleus", "MyClass"].


arguments

List<E> arguments
Arguments for the creation call.

Class org.datanucleus.query.expression.DyadicExpression extends Expression implements Serializable

Class org.datanucleus.query.expression.Expression extends Object implements Serializable

Serialized Fields

parent

Expression parent
Parent of this expression in the tree (if any).


op

Expression.Operator op

left

Expression left

right

Expression right

symbol

Symbol symbol

alias

String alias

Class org.datanucleus.query.expression.Expression.DyadicOperator extends Expression.Operator implements Serializable

Serialized Fields

isAssociative

boolean isAssociative
An associative operator is one for which parentheses can be inserted and removed without changing the meaning of the expression

Class org.datanucleus.query.expression.Expression.MonadicOperator extends Expression.Operator implements Serializable

Class org.datanucleus.query.expression.Expression.Operator extends Object implements Serializable

Serialized Fields

symbol

String symbol

precedence

int precedence

Class org.datanucleus.query.expression.InvokeExpression extends Expression implements Serializable

Serialized Fields

methodName

String methodName
Name of the method to invoke.


arguments

List<E> arguments
Arguments for the method invocation.

Class org.datanucleus.query.expression.JoinExpression extends Expression implements Serializable

Serialized Fields

type

JoinExpression.JoinType type

primExpr

PrimaryExpression primExpr

onExpr

DyadicExpression onExpr

Class org.datanucleus.query.expression.Literal extends Expression implements Serializable

Serialized Fields

value

Object value

Class org.datanucleus.query.expression.OrderExpression extends Expression implements Serializable

Serialized Fields

sortOrder

String sortOrder

Class org.datanucleus.query.expression.ParameterExpression extends Expression implements Serializable

Serialized Fields

name

String name

position

int position

type

Class<T> type

Class org.datanucleus.query.expression.PrimaryExpression extends Expression implements Serializable

Serialized Fields

tuples

List<E> tuples
The components of the expression. e.g "a.b.c" will have "a", "b", "c".

Class org.datanucleus.query.expression.PrimaryExpressionIsClassLiteralException extends NucleusException implements Serializable

Serialized Fields

literal

Literal literal
The Literal that the PrimaryExpression should be swapped with.

Class org.datanucleus.query.expression.PrimaryExpressionIsClassStaticFieldException extends NucleusException implements Serializable

Serialized Fields

field

Field field
The class that the PrimaryExpression represents.

Class org.datanucleus.query.expression.PrimaryExpressionIsInvokeException extends NucleusException implements Serializable

Serialized Fields

invokeExpr

InvokeExpression invokeExpr
The InvokeExpression that the PrimaryExpression should be swapped with.

Class org.datanucleus.query.expression.PrimaryExpressionIsVariableException extends NucleusException implements Serializable

Serialized Fields

varExpr

VariableExpression varExpr
The VariableExpression that the PrimaryExpression should be swapped with.

Class org.datanucleus.query.expression.SubqueryExpression extends Expression implements Serializable

Serialized Fields

keyword

String keyword

Class org.datanucleus.query.expression.VariableExpression extends Expression implements Serializable

Serialized Fields

name

String name

type

Class<T> type

Package org.datanucleus.query.symbol

Class org.datanucleus.query.symbol.PropertySymbol extends Object implements Serializable

Serialized Fields

type

int type
Type of symbol. Variable, parameter, etc.


qualifiedName

String qualifiedName
Qualified name of the symbol.


valueType

Class<T> valueType
Type of the value. Useful where we don't know the value yet, but know the type.

Class org.datanucleus.query.symbol.SymbolTable extends Object implements Serializable

Serialized Fields

parentSymbolTable

SymbolTable parentSymbolTable
SymbolTable for the parent query when this is a subquery, otherwise null.


symbols

Map<K,V> symbols

symbolsTable

List<E> symbolsTable

Package org.datanucleus.state

Class org.datanucleus.state.IllegalStateTransitionException extends NucleusException implements Serializable


Package org.datanucleus.store.exceptions

Class org.datanucleus.store.exceptions.DatastoreInitialisationException extends NucleusUserException implements Serializable

Class org.datanucleus.store.exceptions.DatastoreReadOnlyException extends NucleusUserException implements Serializable

Serialized Fields

clr

ClassLoaderResolver clr

Class org.datanucleus.store.exceptions.DatastoreValidationException extends NucleusDataStoreException implements Serializable

Class org.datanucleus.store.exceptions.NoExtentException extends NucleusUserException implements Serializable

Class org.datanucleus.store.exceptions.NotYetFlushedException extends NucleusException implements Serializable

Serialized Fields

pc

Object pc

Class org.datanucleus.store.exceptions.ReachableObjectNotCascadedException extends NucleusUserException implements Serializable


Package org.datanucleus.store.federation

Class org.datanucleus.store.federation.FederatedJDOQLQuery extends AbstractJDOQLQuery implements Serializable


Package org.datanucleus.store.fieldmanager

Class org.datanucleus.store.fieldmanager.AbstractFetchDepthFieldManager.EndOfFetchPlanGraphException extends RuntimeException implements Serializable


Package org.datanucleus.store.query

Class org.datanucleus.store.query.AbstractJavaQuery extends Query implements Serializable

Serialized Fields

singleString

String singleString
Cached form of the single string form of the query.

Class org.datanucleus.store.query.AbstractJDOQLQuery extends AbstractJavaQuery implements Serializable

Class org.datanucleus.store.query.AbstractJPQLQuery extends AbstractJavaQuery implements Serializable

Class org.datanucleus.store.query.AbstractQueryResult extends AbstractList implements Serializable

Serialized Fields

closed

boolean closed
Whether the results are close.


query

Query query
The Query object.


connectionListeners

List<E> connectionListeners
List of listeners to notify when the query results are closed.


api

ApiAdapter api

size

int size
size of the query results. Is -1 until known.


resultSizeMethod

String resultSizeMethod
Method for getting the size of the results.


loadResultsAtCommit

boolean loadResultsAtCommit
Whether to load any unread results at commit (when connection is closed).

Class org.datanucleus.store.query.AbstractSQLQuery extends Query implements Serializable

Serialized Fields

resultMetaData

QueryResultMetaData resultMetaData
MetaData defining the results of the query.

Class org.datanucleus.store.query.AbstractStoredProcedureQuery extends Query implements Serializable

Serialized Fields

procedureName

String procedureName

storedProcParams

Set<E> storedProcParams

resultSetNumber

int resultSetNumber

resultMetaDatas

QueryResultMetaData[] resultMetaDatas
MetaData defining the results of the query (optional).


resultClasses

Class<T>[] resultClasses
Result classes for the result sets (optional).


outputParamValues

Map<K,V> outputParamValues
Repository for holding output parameter values after execution.

Class org.datanucleus.store.query.CandidateIdsQueryResult extends AbstractQueryResult implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Handle serialisation by returning a java.util.ArrayList of all of the results for this query after disconnecting the query which has the consequence of enforcing the load of all objects.

Throws:
ObjectStreamException
Serialized Fields

ids

List<E> ids
List of identities of the candidate objects.


results

Map<K,V> results

validateObjects

boolean validateObjects
Whether to validate the objects if getting from the cache.

Class org.datanucleus.store.query.NoQueryResultsException extends NucleusException implements Serializable

Class org.datanucleus.store.query.Query extends Object implements Serializable

Serialized Fields

type

short type
Type of query.


candidateClass

Class<T> candidateClass
The candidate class for this query.


candidateClassName

String candidateClassName
Name of the candidate class (used when specified via Single-String).


subclasses

boolean subclasses
Whether to allow subclasses of the candidate class be returned.


unique

boolean unique
Whether to return single value, or collection from the query.


result

String result
Specification of the result of the query e.g aggregates etc. Doesn't include any "distinct".


resultDistinct

boolean resultDistinct
Whether the results are marked as distinct. This is extracted out of the result for clarity.


resultClass

Class<T> resultClass
User-defined class that best represents the results of a query. Populated if specified via setResultClass().


resultClassName

String resultClassName
Temporary variable for the name of the result class (may need resolving using imports).


filter

String filter
The filter for the query.


imports

String imports
Any import declarations for the types used in the query, semicolon separated.


explicitVariables

String explicitVariables
Any explicit variables defined for this query, semicolon separated.


explicitParameters

String explicitParameters
Any explicit parameters defined for this query, comma separated.


ordering

String ordering
Ordering clause for the query, governing the order objects are returned.


grouping

String grouping
Grouping clause for the query, for use with aggregate expressions.


having

String having
Having clause for the query


range

String range
String form of the query result range. For convenience only.


fromInclNo

long fromInclNo
Query result range start position (inclusive).


toExclNo

long toExclNo
Query result range end position (exclusive).


fromInclParam

String fromInclParam
Query result range lower limit (inclusive) as a parameter name.


toExclParam

String toExclParam
Query result range upper limit (exclusive) as a parameter name.


unmodifiable

boolean unmodifiable
Whether the query can be modified


ignoreCache

boolean ignoreCache
Whether to ignore dirty instances in the query.


fetchPlan

FetchPlan fetchPlan
Fetch Plan to use for the query.


serializeRead

Boolean serializeRead
Whether to serialise (lock) any read objects from this query.


readTimeoutMillis

Integer readTimeoutMillis
Read timeout (milliseconds), if any.


writeTimeoutMillis

Integer writeTimeoutMillis
Write timeout (milliseconds), if any.


extensions

Map<K,V> extensions
Any extensions


subqueries

Map<K,V> subqueries
Any subqueries, keyed by the variable name that they represent.


inputParameters

Map<K,V> inputParameters

Class org.datanucleus.store.query.QueryCompilerSyntaxException extends NucleusUserException implements Serializable

Class org.datanucleus.store.query.QueryInterruptedException extends NucleusException implements Serializable

Class org.datanucleus.store.query.QueryInvalidParametersException extends NucleusUserException implements Serializable

Class org.datanucleus.store.query.QueryNotUniqueException extends NucleusUserException implements Serializable

Class org.datanucleus.store.query.QueryTimeoutException extends NucleusException implements Serializable


Package org.datanucleus.store.query.cache

Class org.datanucleus.store.query.cache.AbstractQueryResultsCache extends Object implements Serializable

Serialized Fields

keysToPin

HashSet<E> keysToPin
Keys to pin, if entering into the cache.


pinnedCache

Map<K,V> pinnedCache
Cache of pinned objects.


cache

Map<K,V> cache
Cache of unpinned objects.


maxSize

int maxSize

nucCtx

NucleusContext nucCtx

Class org.datanucleus.store.query.cache.SoftQueryResultsCache extends AbstractQueryResultsCache implements Serializable

Class org.datanucleus.store.query.cache.StrongQueryResultsCache extends AbstractQueryResultsCache implements Serializable

Class org.datanucleus.store.query.cache.WeakQueryResultsCache extends AbstractQueryResultsCache implements Serializable


Package org.datanucleus.store.types

Class org.datanucleus.store.types.IncompatibleFieldTypeException extends NucleusUserException implements Serializable

Class org.datanucleus.store.types.TypeManager extends Object implements Serializable

Serialized Fields

javaTypes

Map<K,V> javaTypes
Map of java types, keyed by the class name.


convertersByName

Map<K,V> convertersByName
Map of TypeConverter keyed by their symbolic name.


autoApplyConvertersByType

Map<K,V> autoApplyConvertersByType

typeConverterMap

Map<K,V> typeConverterMap
Map of (Map of TypeConverter keyed by the datastore type), keyed by the member type.


Package org.datanucleus.store.types.backed

Class org.datanucleus.store.types.backed.ArrayList extends ArrayList implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.backed.Collection extends Collection implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.backed.HashMap extends HashMap implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.backed.HashSet extends HashSet implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.backed.Hashtable extends Hashtable implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.backed.LinkedHashMap extends LinkedHashMap implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.backed.LinkedHashSet extends LinkedHashSet implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.backed.LinkedList extends LinkedList implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.backed.List extends List implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.backed.Map extends Map implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.backed.PriorityQueue extends PriorityQueue implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.backed.Properties extends Properties implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.backed.Queue extends Queue implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.backed.Set extends Set implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.backed.SortedMap extends SortedMap implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.backed.SortedSet extends SortedSet implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.backed.Stack extends Stack implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.backed.TreeMap extends TreeMap implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.backed.TreeSet extends TreeSet implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.backed.Vector extends Vector implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Package org.datanucleus.store.types.converters

Class org.datanucleus.store.types.converters.BigDecimalStringConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.BigIntegerStringConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.BitSetStringConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.CalendarStringConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.ClassStringConverter extends Object implements Serializable

Serialized Fields

clr

ClassLoaderResolver clr

Class org.datanucleus.store.types.converters.ColorStringConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.CurrencyStringConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.DateLongConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.DateStringConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.IntegerStringConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.LocalDateStringConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.LocalDateTimeStringConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.LocaleStringConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.LocalTimeLongConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.LocalTimeStringConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.LongStringConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.SerializableByteArrayConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.SerializableStringConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.SqlDateLongConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.SqlDateStringConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.SqlTimeLongConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.SqlTimestampLongConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.SqlTimeStringConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.StringBufferStringConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.TimeZoneStringConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.URIStringConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.URLStringConverter extends Object implements Serializable

Class org.datanucleus.store.types.converters.UUIDStringConverter extends Object implements Serializable


Package org.datanucleus.store.types.simple

Class org.datanucleus.store.types.simple.ArrayList extends ArrayList implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException
Serialized Fields

delegate

ArrayList<E> delegate
The internal "delegate".

Class org.datanucleus.store.types.simple.BitSet extends BitSet implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.simple.Collection extends AbstractCollection implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException
Serialized Fields

delegate

Collection<E> delegate
The internal "delegate".

Class org.datanucleus.store.types.simple.Date extends Date implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.simple.GregorianCalendar extends GregorianCalendar implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.simple.HashMap extends HashMap implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException
Serialized Fields

delegate

HashMap<K,V> delegate
The internal "delegate".

Class org.datanucleus.store.types.simple.HashSet extends HashSet implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException
Serialized Fields

delegate

HashSet<E> delegate
The internal "delegate".

Class org.datanucleus.store.types.simple.Hashtable extends Hashtable implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException
Serialized Fields

delegate

Hashtable<K,V> delegate
The internal "delegate".

Class org.datanucleus.store.types.simple.LinkedHashMap extends LinkedHashMap implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException
Serialized Fields

delegate

LinkedHashMap<K,V> delegate
The internal "delegate".

Class org.datanucleus.store.types.simple.LinkedHashSet extends LinkedHashSet implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException
Serialized Fields

delegate

LinkedHashSet<E> delegate
The internal "delegate".

Class org.datanucleus.store.types.simple.LinkedList extends LinkedList implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException
Serialized Fields

delegate

LinkedList<E> delegate
The internal "delegate".

Class org.datanucleus.store.types.simple.List extends AbstractList implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException
Serialized Fields

ownerOP

ObjectProvider ownerOP

ownerMmd

AbstractMemberMetaData ownerMmd

delegate

ArrayList<E> delegate
The internal "delegate".

Class org.datanucleus.store.types.simple.Map extends AbstractMap implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException
Serialized Fields

delegate

Map<K,V> delegate
The internal "delegate".

Class org.datanucleus.store.types.simple.PriorityQueue extends PriorityQueue implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException
Serialized Fields

ownerOP

ObjectProvider ownerOP

ownerMmd

AbstractMemberMetaData ownerMmd

delegate

PriorityQueue<E> delegate
The internal "delegate".

Class org.datanucleus.store.types.simple.Properties extends Properties implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException
Serialized Fields

delegate

Properties delegate
The internal "delegate".

Class org.datanucleus.store.types.simple.Queue extends AbstractQueue implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException
Serialized Fields

ownerOP

ObjectProvider ownerOP

ownerMmd

AbstractMemberMetaData ownerMmd

delegate

Queue<E> delegate
The internal "delegate".

Class org.datanucleus.store.types.simple.Set extends AbstractSet implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException
Serialized Fields

delegate

Set<E> delegate
The internal "delegate".

Class org.datanucleus.store.types.simple.SortedMap extends AbstractMap implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException
Serialized Fields

delegate

TreeMap<K,V> delegate
The internal "delegate".

Class org.datanucleus.store.types.simple.SortedSet extends AbstractSet implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException
Serialized Fields

delegate

TreeSet<E> delegate
The internal "delegate".

Class org.datanucleus.store.types.simple.SqlDate extends Date implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.simple.SqlTime extends Time implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.simple.SqlTimestamp extends Timestamp implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException

Class org.datanucleus.store.types.simple.Stack extends Stack implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException
Serialized Fields

delegate

Stack<E> delegate
The internal "delegate".

Class org.datanucleus.store.types.simple.TreeMap extends TreeMap implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException
Serialized Fields

delegate

TreeMap<K,V> delegate
The internal "delegate".

Class org.datanucleus.store.types.simple.TreeSet extends TreeSet implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException
Serialized Fields

delegate

TreeSet<E> delegate
The internal "delegate".

Class org.datanucleus.store.types.simple.Vector extends Vector implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. The ObjectOutputStream checks whether the class defines the writeReplace method. If the method is defined, the writeReplace method is called to allow the object to designate its replacement in the stream. The object returned should be either of the same type as the object passed in or an object that when read and resolved will result in an object of a type that is compatible with all references to the object.

Throws:
ObjectStreamException
Serialized Fields

delegate

Vector<E> delegate
The internal "delegate".


Package org.datanucleus.store.valuegenerator

Class org.datanucleus.store.valuegenerator.ValueGenerationBlock extends Object implements Serializable

Serialized Fields

nextIndex

int nextIndex
The next id position.


valueList

List<E> valueList
The list of values in this block.

Class org.datanucleus.store.valuegenerator.ValueGenerationException extends NucleusException implements Serializable


Package org.datanucleus.transaction

Class org.datanucleus.transaction.HeuristicMixedException extends NucleusTransactionException implements Serializable

Class org.datanucleus.transaction.HeuristicRollbackException extends NucleusTransactionException implements Serializable

Class org.datanucleus.transaction.NucleusTransactionException extends NucleusException implements Serializable

Class org.datanucleus.transaction.RollbackException extends NucleusTransactionException implements Serializable


Package org.datanucleus.transaction.jta

Class org.datanucleus.transaction.jta.JTASyncRegistryUnavailableException extends Exception implements Serializable


Package org.datanucleus.util

Class org.datanucleus.util.MultiMap extends HashMap implements Serializable



Copyright © 2013. All Rights Reserved.