public class Sequence extends Object implements Comparable<Sequence>, SourceTracker
SRC_ANNOTATIONS, SRC_OTHER, SRC_XML
Constructor and Description |
---|
Sequence()
Default constructor.
|
Sequence(DBIdentifier name,
Schema schema) |
Sequence(String name,
Schema schema)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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() |
public Sequence()
public Sequence(String name, Schema schema)
name
- the sequence nameschema
- the sequence schemapublic Sequence(DBIdentifier name, Schema schema)
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 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()
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.