|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.jdbc.schema.Sequence
public class Sequence
Represents a database sequence.
Field Summary |
---|
Fields inherited from interface org.apache.openjpa.lib.meta.SourceTracker |
---|
SRC_ANNOTATIONS, SRC_OTHER, SRC_XML |
Constructor Summary | |
---|---|
Sequence()
Default constructor. |
|
Sequence(DBIdentifier name,
Schema schema)
|
|
Sequence(String name,
Schema schema)
Deprecated. |
Method Summary | |
---|---|
int |
compareTo(Sequence other)
|
void |
deref()
|
int |
getAllocate()
The sequence's cache size. |
int |
getColNumber()
Return the column number in the line of the file at which this instance was parsed. |
DBIdentifier |
getFullIdentifier()
|
String |
getFullName()
Deprecated. |
DBIdentifier |
getIdentifier()
|
int |
getIncrement()
The sequence's increment. |
int |
getInitialValue()
The sequence's initial value. |
int |
getLineNumber()
Return the line number of the file at which this instance was parsed. |
String |
getName()
Deprecated. |
QualifiedDBIdentifier |
getQualifiedPath()
|
int |
getRefCount()
|
String |
getResourceName()
Return the domain-meaningful name of the resource that was loaded from this source. |
Schema |
getSchema()
Return the schema for the sequence. |
DBIdentifier |
getSchemaIdentifier()
|
String |
getSchemaName()
The sequence's schema name. |
File |
getSourceFile()
Return the file from which this instance was parsed. |
Object |
getSourceScope()
Return the domain-dependent scope of this instance within its file. |
int |
getSourceType()
Return the type of source. |
void |
ref()
|
void |
setAllocate(int cache)
The sequence's cache size. |
void |
setColNumber(int colNum)
|
void |
setIdentifier(DBIdentifier name)
|
void |
setIncrement(int increment)
The sequence's increment. |
void |
setInitialValue(int initial)
The sequence's initial value. |
void |
setLineNumber(int lineNum)
|
void |
setName(String name)
Deprecated. |
void |
setSchemaIdentifier(DBIdentifier name)
|
void |
setSchemaName(String name)
Deprecated. |
void |
setSource(File source,
int srcType)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Sequence()
public Sequence(String name, Schema schema)
name
- the sequence nameschema
- the sequence schemapublic Sequence(DBIdentifier name, Schema schema)
Method Detail |
---|
public Schema getSchema()
public String getSchemaName()
public DBIdentifier getSchemaIdentifier()
public void setSchemaName(String name)
public void setSchemaIdentifier(DBIdentifier name)
public String getName()
public DBIdentifier getIdentifier()
public void setName(String name)
public void setIdentifier(DBIdentifier name)
public String getFullName()
public DBIdentifier getFullIdentifier()
public QualifiedDBIdentifier getQualifiedPath()
public int getInitialValue()
public void setInitialValue(int initial)
public int getIncrement()
public void setIncrement(int increment)
public int getAllocate()
public void setAllocate(int cache)
public File getSourceFile()
SourceTracker
getSourceFile
in interface SourceTracker
public Object getSourceScope()
SourceTracker
getSourceScope
in interface SourceTracker
public int getSourceType()
SourceTracker
getSourceType
in interface SourceTracker
public void setSource(File source, int srcType)
public String getResourceName()
SourceTracker
getResourceName
in interface SourceTracker
public int compareTo(Sequence other)
compareTo
in interface Comparable<Sequence>
public String toString()
toString
in class Object
public int getLineNumber()
SourceTracker
getLineNumber
in interface SourceTracker
public void setLineNumber(int lineNum)
public int getColNumber()
SourceTracker
getColNumber
in interface SourceTracker
public void setColNumber(int colNum)
public int getRefCount()
public void ref()
public void deref()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |