|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openjpa.meta.SequenceMetaData
org.apache.openjpa.jdbc.meta.SequenceMapping
public class SequenceMapping
Specialization of sequence metadata for ORM.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.openjpa.meta.SequenceMetaData |
---|
SequenceMetaData.SequenceFactory |
Field Summary | |
---|---|
static String |
IMPL_CLASS_TABLE
ClassTableJDBCSeq alias. |
static String |
IMPL_TABLE
TableJDBCSeq alias. |
static String |
IMPL_VALUE_TABLE
ValueTableJDBCSeq alias. |
Fields inherited from class org.apache.openjpa.meta.SequenceMetaData |
---|
IMPL_NATIVE, IMPL_TIME, NAME_SYSTEM |
Fields inherited from interface org.apache.openjpa.lib.meta.SourceTracker |
---|
SRC_ANNOTATIONS, SRC_OTHER, SRC_XML |
Fields inherited from interface org.apache.openjpa.lib.xml.Commentable |
---|
EMPTY_COMMENTS |
Constructor Summary | |
---|---|
SequenceMapping(String name,
MappingRepository repos)
|
Method Summary | |
---|---|
protected void |
addStandardProperties(StringBuffer props)
Add standard properties to the given properties buffer. |
File |
getMappingFile()
Allow sequence to have a mapping file separate from its metadata source file. |
String |
getPrimaryKeyColumn()
Name of primary key column, if any. |
String |
getPrimaryKeyValue()
Primary key value, if not auto-determined. |
String |
getSequenceColumn()
Name of sequence column, if any. |
String |
getTable()
Name of sequence table, if any. |
protected PluginValue |
newPluginValue(String property)
Create a new plugin value for sequences. |
void |
setMappingFile(File file)
Allow sequence to have a mapping file separate from its metadata source file. |
void |
setPrimaryKeyColumn(String primaryKeyColumn)
Name of primary key column, if any. |
void |
setPrimaryKeyValue(String primaryKeyValue)
Primary key value, if not auto-determined. |
void |
setSequenceColumn(String sequenceColumn)
Name of sequence column, if any. |
void |
setTable(String table)
Name of sequence table, if any. |
Methods inherited from class org.apache.openjpa.meta.SequenceMetaData |
---|
appendProperty, appendProperty, close, getAllocate, getComments, getIncrement, getInitialValue, getInstance, getName, getRepository, getResourceName, getSequence, getSequenceFactory, getSequencePlugin, getSourceFile, getSourceScope, getSourceType, getType, instantiate, setAllocate, setComments, setIncrement, setInitialValue, setSequence, setSequenceFactory, setSequencePlugin, setSource, setType, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String IMPL_VALUE_TABLE
ValueTableJDBCSeq
alias.
public static final String IMPL_TABLE
TableJDBCSeq
alias.
public static final String IMPL_CLASS_TABLE
ClassTableJDBCSeq
alias.
Constructor Detail |
---|
public SequenceMapping(String name, MappingRepository repos)
Method Detail |
---|
public File getMappingFile()
public void setMappingFile(File file)
public String getTable()
public void setTable(String table)
public String getSequenceColumn()
public void setSequenceColumn(String sequenceColumn)
public String getPrimaryKeyColumn()
public void setPrimaryKeyColumn(String primaryKeyColumn)
public String getPrimaryKeyValue()
public void setPrimaryKeyValue(String primaryKeyValue)
protected PluginValue newPluginValue(String property)
SequenceMetaData
SeqValue
by default.
newPluginValue
in class SequenceMetaData
protected void addStandardProperties(StringBuffer props)
SequenceMetaData
addStandardProperties
in class SequenceMetaData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This documentation is deprecated and will be removed in the next release of WebLogic Server.