org.jpox.metadata
Class SequenceMetaData

java.lang.Object
  extended byorg.jpox.metadata.MetaData
      extended byorg.jpox.metadata.ExtendableMetaData
          extended byorg.jpox.metadata.SequenceMetaData
All Implemented Interfaces:
java.io.Serializable

public class SequenceMetaData
extends ExtendableMetaData

Representation of the MetaData of a named Sequence.

MetaData Element

The MetaData Element represented here is as follows
 
 
 
 
 
 

Since:
1.1
Version:
$Revision: 1.6 $
See Also:
Serialized Form

Field Summary
protected  java.lang.String datastoreSequence
          Datastore Sequence name
protected  java.lang.String factoryClass
          factory class name
protected  java.lang.String name
          Name
protected  SequenceStrategy strategy
          Strategy for this sequence
 
Fields inherited from class org.jpox.metadata.ExtendableMetaData
extensions, JPOX_VENDOR_NAME
 
Fields inherited from class org.jpox.metadata.MetaData
LOCALISER, METADATA_CREATED_STATE, METADATA_INITIALISED_STATE, METADATA_POPULATED_STATE, METADATA_USED_STATE, metaDataState, parent
 
Constructor Summary
SequenceMetaData(ExtendableMetaData parent, java.lang.String name, java.lang.String datastoreSequence, java.lang.String factoryClass, java.lang.String strategyValue)
          Constructor.
 
Method Summary
 java.lang.String getDatastoreSequence()
          Accessor for the sequence name
 java.lang.String getFactoryClass()
          Accessor for the factory class
 java.lang.String getFullyQualifiedName()
          Convenience accessor for the fully-qualified name of the sequence.
 java.lang.String getName()
          Accessor for the class name.
 SequenceStrategy getStrategy()
          Accessor for the strategy
 java.lang.String toString()
          Returns a string representation of the object.
 java.lang.String toString(java.lang.String prefix, java.lang.String indent)
          Returns a string representation of the object.
 
Methods inherited from class org.jpox.metadata.ExtendableMetaData
addExtension, addExtension, getExtension, getExtensions, getNoOfExtensions, getValueForExtension, getValuesForExtension, getValuesForExtensionStartingWith, hasExtension, removeExtension
 
Methods inherited from class org.jpox.metadata.MetaData
getParent, initialise, isCreated, isInitialised, isPopulated, isUsed, populate, setInitialised, setPopulated, setUsed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected final java.lang.String name
Name


datastoreSequence

protected java.lang.String datastoreSequence
Datastore Sequence name


factoryClass

protected java.lang.String factoryClass
factory class name


strategy

protected SequenceStrategy strategy
Strategy for this sequence

Constructor Detail

SequenceMetaData

public SequenceMetaData(ExtendableMetaData parent,
                        java.lang.String name,
                        java.lang.String datastoreSequence,
                        java.lang.String factoryClass,
                        java.lang.String strategyValue)
Constructor.

Parameters:
parent - The parent of this element
name - The sequence name
datastoreSequence - The datastore sequence
factoryClass - The factory class
strategyValue - The strategy value
Method Detail

getFullyQualifiedName

public java.lang.String getFullyQualifiedName()
Convenience accessor for the fully-qualified name of the sequence.

Returns:
Fully qualfiied name of the sequence (including the package name).

getName

public java.lang.String getName()
Accessor for the class name.

Returns:
class name

getStrategy

public SequenceStrategy getStrategy()
Accessor for the strategy

Returns:
strategy tag value

getDatastoreSequence

public java.lang.String getDatastoreSequence()
Accessor for the sequence name

Returns:
The sequence name

getFactoryClass

public java.lang.String getFactoryClass()
Accessor for the factory class

Returns:
factory class

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class ExtendableMetaData
Returns:
a string representation of the object.

toString

public java.lang.String toString(java.lang.String prefix,
                                 java.lang.String indent)
Returns a string representation of the object.

Overrides:
toString in class ExtendableMetaData
Parameters:
prefix - prefix string
indent - indent string
Returns:
a string representation of the object.


Copyright © -2007 . All Rights Reserved.