Serialized Form


Package org.jpox

Class org.jpox.FetchGroupImpl extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name
Name of the group.


cls

java.lang.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.


fieldNames

java.util.Collection<E> fieldNames
Names of the fields of the class that are part of this group.


planListeners

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

Class org.jpox.FetchPlan extends java.lang.Object implements Serializable

Serialized Fields

groups

java.util.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

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


detachmentRoots

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

Class org.jpox.PersistenceManagerFactoryImpl extends JDOPersistenceManagerFactory implements Serializable

Class org.jpox.ResourceType extends java.lang.Object implements Serializable

Serialized Fields

typeId

int typeId

Package org.jpox.exceptions

Class org.jpox.exceptions.ClassNotDetachableException extends JPOXUserException implements Serializable

Class org.jpox.exceptions.ClassNotPersistableException extends JPOXUserException implements Serializable

Class org.jpox.exceptions.ClassNotResolvedException extends JPOXException implements Serializable

Class org.jpox.exceptions.ConnectionFactoryNotFoundException extends JPOXUserException implements Serializable

Class org.jpox.exceptions.JPOXDataStoreException extends JPOXException implements Serializable

Class org.jpox.exceptions.JPOXException extends java.lang.RuntimeException implements Serializable

Serialized Fields

nested

java.lang.Throwable[] nested
Array of nested Throwables (optional)


failed

java.lang.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.jpox.exceptions.JPOXObjectNotFoundException extends JPOXException implements Serializable

Class org.jpox.exceptions.JPOXOptimisticException extends JPOXException implements Serializable

Class org.jpox.exceptions.JPOXUnsupportedOptionException extends JPOXUserException implements Serializable

Class org.jpox.exceptions.JPOXUserException extends JPOXException implements Serializable

Class org.jpox.exceptions.NoPersistenceInformationException extends JPOXUserException implements Serializable

Class org.jpox.exceptions.ObjectDetachedException extends JPOXUserException implements Serializable

Class org.jpox.exceptions.RollbackStateTransitionException extends JPOXException implements Serializable

Class org.jpox.exceptions.TransactionActiveOnBeginException extends JPOXUserException implements Serializable

Class org.jpox.exceptions.TransactionActiveOnCloseException extends JPOXUserException implements Serializable

Class org.jpox.exceptions.TransactionNotActiveException extends JPOXUserException implements Serializable

Class org.jpox.exceptions.UnsupportedConnectionFactoryException extends JPOXUserException implements Serializable


Package org.jpox.identity

Class org.jpox.identity.ByteIdentity extends SingleFieldIdentity implements Serializable

Serialization Methods

readExternal

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

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

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

Throws:
java.io.IOException

Class org.jpox.identity.CharIdentity extends SingleFieldIdentity implements Serializable

Serialization Methods

readExternal

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

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

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

Throws:
java.io.IOException

Class org.jpox.identity.DatastoreUniqueOID extends java.lang.Object implements Serializable

Serialized Fields

key

long key
The key value.

Class org.jpox.identity.IntIdentity extends SingleFieldIdentity implements Serializable

Serialization Methods

readExternal

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

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

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

Throws:
java.io.IOException

Class org.jpox.identity.LongIdentity extends SingleFieldIdentity implements Serializable

Serialization Methods

readExternal

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

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

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

Throws:
java.io.IOException

Class org.jpox.identity.ObjectIdentity extends SingleFieldIdentity implements Serializable

Serialization Methods

readExternal

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

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

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

Throws:
java.io.IOException

Class org.jpox.identity.OIDImpl extends java.lang.Object implements Serializable

Serialized Fields

oid

java.lang.Object oid
The key value.


pcClass

java.lang.String pcClass
The PersistenceCapable class name


toString

java.lang.String toString
pre-created toString to improve performance


hashCode

int hashCode
pre-created hasCode to improve performance

Class org.jpox.identity.ShortIdentity extends SingleFieldIdentity implements Serializable

Serialization Methods

readExternal

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

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

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

Throws:
java.io.IOException

Class org.jpox.identity.SingleFieldIdentity extends java.lang.Object implements Serializable

Serialization Methods

readExternal

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

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

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

Throws:
java.io.IOException

Class org.jpox.identity.StringIdentity extends SingleFieldIdentity implements Serializable

Serialization Methods

readExternal

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

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

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

Throws:
java.io.IOException

Package org.jpox.jdo

Class org.jpox.jdo.FieldInstanceLifecycleEvent extends javax.jdo.listener.InstanceLifecycleEvent implements Serializable

Serialized Fields

fieldNames

java.lang.String[] fieldNames
Names of the fields affected.

Class org.jpox.jdo.JDOFetchPlan extends java.lang.Object implements Serializable

Serialized Fields

fp

FetchPlan fp

Class org.jpox.jdo.JDOPersistenceManagerFactory extends AbstractPersistenceManagerFactory implements Serializable

Class org.jpox.jdo.JDOQuery extends java.lang.Object implements Serializable

Serialized Fields

query

Query query
Underlying query that will be executed by JPOX.


language

java.lang.String language
Query language.


fetchPlan

JDOFetchPlan fetchPlan
JDO Fetch Plan.


Package org.jpox.jdo.exceptions

Class org.jpox.jdo.exceptions.ClassNotPersistenceCapableException extends javax.jdo.JDOUserException implements Serializable

Class org.jpox.jdo.exceptions.CommitStateTransitionException extends javax.jdo.JDOFatalException implements Serializable

Class org.jpox.jdo.exceptions.ConnectionInUseException extends javax.jdo.JDOUserException implements Serializable

Class org.jpox.jdo.exceptions.NoPersistenceInformationException extends javax.jdo.JDOUserException implements Serializable

Class org.jpox.jdo.exceptions.TransactionActiveException extends javax.jdo.JDOUserException implements Serializable

Class org.jpox.jdo.exceptions.TransactionCommitingException extends javax.jdo.JDOUserException implements Serializable

Class org.jpox.jdo.exceptions.TransactionNotActiveException extends javax.jdo.JDOUserException implements Serializable

Class org.jpox.jdo.exceptions.TransactionNotReadableException extends TransactionNotActiveException implements Serializable

Class org.jpox.jdo.exceptions.TransactionNotWritableException extends TransactionNotActiveException implements Serializable


Package org.jpox.metadata

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

Serialized Fields

name

java.lang.String name
Class name


entityName

java.lang.String entityName
Entity name. Required by JPA1 §4.3.1 for accessing this class in queries.


identityType

IdentityType identityType
Identity-type tag value.


persistenceModifier

ClassPersistenceModifier persistenceModifier
persistence-modifier tag value.


persistenceCapableSuperclass

java.lang.String persistenceCapableSuperclass
persistence-capable-superclass tag value (deprecated).


objectidClass

java.lang.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

java.lang.String catalog
Catalog name (O/R mapping).


schema

java.lang.String schema
Schema name (O/R mapping).


table

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


fullName

java.lang.String fullName
Full name (e.g org.jpox.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

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


excludeSuperClassListeners

java.lang.Boolean excludeSuperClassListeners
Flag to exclude superclass listeners.


excludeDefaultListeners

java.lang.Boolean excludeDefaultListeners
Flag to exclude default listeners.


fetchGroupMetaData

FetchGroupMetaData[] fetchGroupMetaData
Fetch Groups for this class. Available to be used in queries and when detaching.


fetchGroupMetaDataByName

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


pcSuperclassMetaData

AbstractClassMetaData pcSuperclassMetaData
Class MetaData for the Persistence-Capable superclass (if any)


metaDataComplete

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


queries

java.util.Collection<E> queries
Named queries


queryResultMetaData

java.util.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

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


unmappedColumns

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


joins

java.util.List<E> joins
List of joins


foreignKeys

java.util.List<E> foreignKeys
List of foreign-key


indexes

java.util.List<E> indexes
List of indexes


uniqueConstraints

java.util.List<E> uniqueConstraints
List of uniqueConstraints


fetchGroups

java.util.List<E> fetchGroups
List of fetch-group


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

java.util.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.


persistenceCapableMemberPositions

int[] persistenceCapableMemberPositions
Postions of the PersistenceCapable fields/properties (inc superclasses).


noOfInheritedManagedMembers

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


usesSingleFieldIdentityClass

boolean usesSingleFieldIdentityClass
if this PersistenceCapable class uses SingleFieldIdentity


memberCount

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


implementationOfPersistentDefinition

boolean implementationOfPersistentDefinition

scoNonContainerMemberPositions

int[] scoNonContainerMemberPositions
Field numbers of all SCO fields/properties that arent containers.


secondClassContainerMemberPositions

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


relationPositions

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

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

Serialized Fields

name

java.lang.String name
the constraint name


table

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


memberMetaData

AbstractMemberMetaData[] memberMetaData
Contains the metadata for fields/properties.


columnMetaData

ColumnMetaData[] columnMetaData
Contains the metadata for columns


members

java.util.List<E> members
The fields/properties for this constraint.


columns

java.util.List<E> columns
The columns for this constraint.

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

Serialized Fields

columns

java.util.List<E> columns
Columns ColumnMetaData


indexMetaData

IndexMetaData indexMetaData
IndexMetaData


indexed

IndexedValue indexed
The indexing value


uniqueMetaData

UniqueMetaData uniqueMetaData
UniqueMetaData.


uniqueConstraint

boolean uniqueConstraint
Whether to add a unique constraint


foreignKeyMetaData

ForeignKeyMetaData foreignKeyMetaData
ForeignKeyMetaData


embeddedMetaData

EmbeddedMetaData embeddedMetaData
EmbeddedMetaData


columnName

java.lang.String columnName
column name value.


mappedBy

java.lang.String mappedBy
Field that this is mapped to.


columnMetaData

ColumnMetaData[] columnMetaData

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

Serialized Fields

columnMetaData

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


container

ContainerMetaData container
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

java.lang.Boolean defaultFetchGroup
default-fetch-group tag value.


column

java.lang.String column
column tag value.


mappedBy

java.lang.String mappedBy
mapped-by tag value.


embedded

java.lang.Boolean embedded
embedded tag value.


dependent

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


serialized

java.lang.Boolean serialized
serialized 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


cascadeRefresh

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


loadFetchGroup

java.lang.String loadFetchGroup
load-fetch-group value.


recursionDepth

int recursionDepth
recursion-depth value.


name

java.lang.String name
Field name.


nullValue

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


persistenceModifier

FieldPersistenceModifier persistenceModifier
persistence-modifier tag value.


primaryKey

java.lang.Boolean primaryKey
primary key tag value.


table

java.lang.String table
Table name for this field.


catalog

java.lang.String catalog
Catalog for the table specified for this field.


schema

java.lang.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

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


sequence

java.lang.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

java.lang.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.


fieldTypes

java.lang.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

java.lang.Class<T> type
Field type being represented by this MetaData.


modifiers

int modifiers
Field modifiers


fieldId

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


relationType

int 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

java.util.List<E> columns
Columns ColumnMetaData


targetClassName

java.lang.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.


jdoFieldFlag

byte jdoFieldFlag
JDO Flags for use in enhancement process - see JDO spec 21.14.

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

Serialized Fields

element

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


mayContainPersistenceCapableElements

boolean mayContainPersistenceCapableElements
wether this array may contain PersistenceCapable elements

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

Serialized Fields

implementations

java.util.List<E> implementations
List of implements.


implementsMetaData

ImplementsMetaData[] implementsMetaData
ImplementsMetaData


isAbstractPersistenceCapable

boolean isAbstractPersistenceCapable
is the persistable class abstract.


populating

boolean populating
whether the populate method is running

Class org.jpox.metadata.ClassPersistenceModifier extends java.lang.Object implements Serializable

Serialized Fields

typeId

int typeId
persistence-capable|persistence-aware|non-persistent

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

Serialized Fields

element

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

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

Serialized Fields

name

java.lang.String name
column name.


target

java.lang.String target
target column name.


targetMember

java.lang.String targetMember
target field/property name.


jdbcType

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


sqlType

java.lang.String sqlType
sql-type to use (if any).


length

java.lang.Integer length
length to use (if any). Also known as precision


scale

java.lang.Integer scale
scale to use (if any).


allowsNull

java.lang.Boolean allowsNull
allows-null tag value.


defaultValue

java.lang.String defaultValue
column default value (when constructing the table with this column).


insertValue

java.lang.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. JPA 1.0 attribute.


updateable

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


unique

boolean unique
unique tag value. JPA 1.0 attribute.

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

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

Serialized Fields

strategy

DiscriminatorStrategy strategy
strategy tag value.


columnName

java.lang.String columnName
Column name of discriminator


value

java.lang.String value
Value for discriminator column


columnMetaData

ColumnMetaData columnMetaData
Discriminator column


indexed

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


indexMetaData

IndexMetaData indexMetaData
Definition of any indexing of the discriminator column.

Class org.jpox.metadata.DiscriminatorStrategy extends java.lang.Object implements Serializable

Serialized Fields

typeId

int typeId
The type id.

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

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

Serialized Fields

members

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


ownerMember

java.lang.String ownerMember
Name of the owner field/property in the embedded object.


nullIndicatorColumn

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


nullIndicatorValue

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


fieldMetaData

AbstractMemberMetaData[] fieldMetaData

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

Serialized Fields

className

java.lang.String className
Name of the EventListener class.


methodNamesByCallbackName

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

Class org.jpox.metadata.ExtensionMetaData extends java.lang.Object implements Serializable

Serialized Fields

vendorName

java.lang.String vendorName
vendor-name tag value.


key

java.lang.String key
key tag value.


value

java.lang.String value
value tag value.

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

Serialized Fields

postLoad

java.lang.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

java.lang.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.


fetchGroupMetaData

FetchGroupMetaData[] fetchGroupMetaData
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.


memberMetaData

AbstractMemberMetaData[] memberMetaData
members declared to be in this fetch group.


fetchGroups

java.util.List<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

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

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

Serialized Fields

name

java.lang.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

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

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

Class org.jpox.metadata.FieldPersistenceModifier extends java.lang.Object implements Serializable

Serialized Fields

typeId

int typeId
persistent|transactional|none id

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

Serialized Fields

type

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


filename

java.lang.String filename
Name of file


catalog

java.lang.String catalog
Catalog name for all classes in this file


schema

java.lang.String schema
Schema name for all classes in this file


queries

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


queryResultMetaData

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


fetchPlans

java.util.Collection<E> fetchPlans
Named FetchPlans in this file.


packages

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


listeners

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

Class org.jpox.metadata.ForeignKeyAction extends java.lang.Object implements Serializable

Serialized Fields

typeId

int typeId
The type id

Class org.jpox.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.

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

Serialized Fields

columnName

java.lang.String columnName
column name value.


strategy

IdentityStrategy strategy
strategy tag value.


sequence

java.lang.String sequence
sequence tag value.


columns

java.util.List<E> columns
the columns


valueGeneratorName

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


columnMetaData

ColumnMetaData[] columnMetaData
Metadata for columns.

Class org.jpox.metadata.IdentityStrategy extends java.lang.Object implements Serializable

Serialized Fields

typeId

int typeId
The type id.


customName

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

Class org.jpox.metadata.IdentityType extends java.lang.Object implements Serializable

Serialized Fields

typeId

int typeId

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

Serialized Fields

name

java.lang.String name
Name of the interface implemented.


properties

java.util.List<E> properties
Properties implemented.

Class org.jpox.metadata.IndexedValue extends java.lang.Object implements Serializable

Serialized Fields

typeId

int typeId
The type id.

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

Serialized Fields

unique

java.lang.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.jpox.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

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

Class org.jpox.metadata.InheritanceStrategy extends java.lang.Object implements Serializable

Serialized Fields

typeId

int typeId
The type id.

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

Serialized Fields

populating

boolean populating
whether the populate method is running

Class org.jpox.metadata.InvalidAnnotationException extends JPOXUserException implements Serializable

Serialized Fields

messageKey

java.lang.String messageKey
Message resources key


cause

java.lang.Throwable cause
Cause of the exception

Class org.jpox.metadata.InvalidMetaDataException extends JPOXUserException implements Serializable

Serialized Fields

messageKey

java.lang.String messageKey
Message resources key


cause

java.lang.Throwable cause
Cause of the exception

Class org.jpox.metadata.InvalidPrimaryKeyException extends InvalidMetaDataException implements Serializable

Class org.jpox.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

java.util.List<E> columns
column elements


outer

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


table

java.lang.String table
the table name.


catalog

java.lang.String catalog
the catalog name.


schema

java.lang.String schema
the schema name.


columnName

java.lang.String columnName
the column name.


foreignKey

java.lang.String foreignKey
the foreign-key column name.


indexed

IndexedValue indexed
The indexing value


uniqueConstraint

boolean uniqueConstraint
Whether to add a unique constraint.


columnMetaData

ColumnMetaData[] columnMetaData
Contains the metadata for column

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

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

Serialized Fields

key

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


value

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

Class org.jpox.metadata.MetaData extends java.lang.Object implements Serializable

Serialized Fields

metaDataState

int metaDataState
State of the MetaData.


parent

MetaData parent
Parent MetaData object, allowing hierarchical MetaData structure.


extensions

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

Class org.jpox.metadata.NullValue extends java.lang.Object implements Serializable

Serialized Fields

typeId

int typeId
The type id

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

Serialized Fields

columnName

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


columns

java.util.List<E> columns
the columns


indexMetaData

IndexMetaData indexMetaData
IndexMetaData.


indexed

IndexedValue indexed
The indexing value specified as input.


mappedBy

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


ordering

java.lang.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.jpox.metadata.PackageMetaData extends MetaData implements Serializable

Serialized Fields

interfaces

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


classes

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


sequences

java.util.Collection<E> sequences
Sequence generators.


tableGenerators

java.util.Collection<E> tableGenerators
Table generators.


name

java.lang.String name
Package name


catalog

java.lang.String catalog
Catalog name for all classes in this package


schema

java.lang.String schema
Schema name for all classes in this package

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

Serialized Fields

filename

java.lang.String filename
Filename of the "persistence.xml"


persistenceUnits

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

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

Serialized Fields

name

java.lang.String name
Name of the persistence unit.


transactionType

TransactionType transactionType
Transaction type for this persistence unit.


description

java.lang.String description
Description of the persistence unit.


provider

java.lang.String provider
Provider for the persistence unit.


jtaDataSource

java.lang.String jtaDataSource
JTA data source for the persistence unit.


nonJtaDataSource

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


classNames

java.util.HashSet<E> classNames
Names of the classes specified.


jarFiles

java.util.HashSet<E> jarFiles
Names/URLs of the JAR files specified.


mappingFileNames

java.util.HashSet<E> mappingFileNames
Names of the mapping files specified.


properties

java.util.Properties properties
Vendor properties.


excludeUnlistedClasses

boolean excludeUnlistedClasses
Whether to exclude unlisted classes.

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

Serialized Fields

name

java.lang.String name
PK constraint name.


columnName

java.lang.String columnName
Column name of PK.


columnMetaData

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


columns

java.util.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.jpox.metadata.PropertyMetaData extends AbstractMemberMetaData implements Serializable

Serialized Fields

fieldName

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

Class org.jpox.metadata.QueryLanguage extends java.lang.Object implements Serializable

Serialized Fields

typeId

int typeId

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

Serialized Fields

scope

java.lang.String scope
Scope of this query (if any).


name

java.lang.String name
Name of the query.


language

QueryLanguage language
Query language.


unmodifiable

boolean unmodifiable
Whether the query is unmodifiable.


query

java.lang.String query
The single string query


resultClass

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


resultMetaDataName

java.lang.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

java.lang.String fetchPlanName
Name of any fetch-plan to use.

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

Serialized Fields

name

java.lang.String name
Name of the query result mapping.


persistentTypeMappings

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


scalarColumns

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

Class org.jpox.metadata.Relation extends java.lang.Object implements Serializable

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

Serialized Fields

name

java.lang.String name
Name under which this sequence generator is known.


datastoreSequence

java.lang.String datastoreSequence
Datastore Sequence name


factoryClass

java.lang.String factoryClass
factory class name (JDO).


strategy

SequenceStrategy strategy
Strategy for this sequence (JDO).


initialValue

long initialValue
Initial value of the sequence.


allocationSize

long allocationSize
Allocation size for the sequence.

Class org.jpox.metadata.SequenceStrategy extends java.lang.Object implements Serializable