|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> sql >> [ dictionary overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.iapi.sql.dictionary
Class AliasDescriptor

java.lang.Objectorg.apache.derby.iapi.sql.dictionary.TupleDescriptor
org.apache.derby.iapi.sql.dictionary.AliasDescriptor
- All Implemented Interfaces:
- org.apache.derby.catalog.Dependable, org.apache.derby.iapi.sql.depend.Provider, UniqueTupleDescriptor
- public final class AliasDescriptor
- extends TupleDescriptor
- implements UniqueTupleDescriptor, org.apache.derby.iapi.sql.depend.Provider
- extends TupleDescriptor
This class represents an Alias Descriptor. The public methods for this class are:
- getUUID
- getJavaClassName
- getAliasType
- getNameSpace
- getSystemAlias
- getAliasId
| Field Summary | |
private org.apache.derby.catalog.UUID |
aliasID
|
private org.apache.derby.catalog.AliasInfo |
aliasInfo
|
private java.lang.String |
aliasName
|
private char |
aliasType
|
private java.lang.String |
javaClassName
|
private char |
nameSpace
|
private org.apache.derby.catalog.UUID |
schemaID
|
private java.lang.String |
specificName
|
private boolean |
systemAlias
|
| Fields inherited from class org.apache.derby.iapi.sql.dictionary.TupleDescriptor |
COLUMN_LIST, CONGLOMERATE_LIST, CONSTRAINT_LIST, TRIGGER_LIST |
| Fields inherited from interface org.apache.derby.catalog.Dependable |
ALIAS, COLUMNS_IN_TABLE, CONGLOMERATE, CONSTRAINT, DEFAULT, FILE, HEAP, INDEX, PREPARED_STATEMENT, SCHEMA, STORED_PREPARED_STATEMENT, TABLE, TRIGGER, VIEW |
| Constructor Summary | |
AliasDescriptor(DataDictionary dataDictionary,
org.apache.derby.catalog.UUID aliasID,
java.lang.String aliasName,
org.apache.derby.catalog.UUID schemaID,
java.lang.String javaClassName,
char aliasType,
char nameSpace,
boolean systemAlias,
org.apache.derby.catalog.AliasInfo aliasInfo,
java.lang.String specificName)
Constructor for a AliasDescriptor |
|
| Method Summary | |
boolean |
equals(java.lang.Object otherObject)
Determine if two AliasDescriptors are the same. |
org.apache.derby.catalog.AliasInfo |
getAliasInfo()
Gests the AliasInfo for the alias. |
char |
getAliasType()
Gets the type of the alias. |
static java.lang.String |
getAliasType(char nameSpace)
|
java.lang.String |
getClassType()
Get the provider's type. |
org.apache.derby.catalog.DependableFinder |
getDependableFinder()
Get an object which can be written to disk and which, when read from disk, will find or reconstruct this in-memory Dependable. |
java.lang.String |
getDescriptorName()
|
java.lang.String |
getDescriptorType()
Each descriptor must identify itself with its type; i.e index, check constraint whatever. |
java.lang.String |
getJavaClassName()
Gets the java class name of the alias. |
char |
getNameSpace()
Gets the name space of the alias. |
org.apache.derby.catalog.UUID |
getObjectID()
Get the provider's UUID |
java.lang.String |
getObjectName()
Return the name of this Provider. |
org.apache.derby.catalog.UUID |
getSchemaUUID()
Gets the UUID of the schema for this method alias. |
java.lang.String |
getSpecificName()
Return the specific name for this object. |
boolean |
getSystemAlias()
Gets whether or not the alias is a system alias. |
org.apache.derby.catalog.UUID |
getUUID()
Gets the UUID of the method alias. |
int |
hashCode()
Get a hashcode for this AliasDescriptor |
java.lang.String |
toString()
Convert the AliasDescriptor to a String. |
| Methods inherited from class org.apache.derby.iapi.sql.dictionary.TupleDescriptor |
getColumnDependableFinder, getDataDictionary, getDependableFinder, isPersistent, setDataDictionary |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.derby.catalog.Dependable |
isPersistent |
| Field Detail |
aliasID
private org.apache.derby.catalog.UUID aliasID
aliasName
private java.lang.String aliasName
schemaID
private org.apache.derby.catalog.UUID schemaID
javaClassName
private java.lang.String javaClassName
aliasType
private char aliasType
nameSpace
private char nameSpace
systemAlias
private boolean systemAlias
aliasInfo
private org.apache.derby.catalog.AliasInfo aliasInfo
specificName
private java.lang.String specificName
| Constructor Detail |
AliasDescriptor
public AliasDescriptor(DataDictionary dataDictionary, org.apache.derby.catalog.UUID aliasID, java.lang.String aliasName, org.apache.derby.catalog.UUID schemaID, java.lang.String javaClassName, char aliasType, char nameSpace, boolean systemAlias, org.apache.derby.catalog.AliasInfo aliasInfo, java.lang.String specificName)
- Constructor for a AliasDescriptor
| Method Detail |
getUUID
public org.apache.derby.catalog.UUID getUUID()
- Gets the UUID of the method alias.
- Specified by:
getUUIDin interfaceUniqueTupleDescriptor
getSchemaUUID
public org.apache.derby.catalog.UUID getSchemaUUID()
- Gets the UUID of the schema for this method alias.
getJavaClassName
public java.lang.String getJavaClassName()
- Gets the java class name of the alias.
getAliasType
public char getAliasType()
- Gets the type of the alias.
getNameSpace
public char getNameSpace()
- Gets the name space of the alias.
getSystemAlias
public boolean getSystemAlias()
- Gets whether or not the alias is a system alias.
getAliasInfo
public org.apache.derby.catalog.AliasInfo getAliasInfo()
- Gests the AliasInfo for the alias.
toString
public java.lang.String toString()
- Convert the AliasDescriptor to a String.
equals
public boolean equals(java.lang.Object otherObject)
- Determine if two AliasDescriptors are the same.
hashCode
public int hashCode()
- Get a hashcode for this AliasDescriptor
getDependableFinder
public org.apache.derby.catalog.DependableFinder getDependableFinder()
- Description copied from interface:
org.apache.derby.catalog.Dependable - Get an object which can be written to disk and which,
when read from disk, will find or reconstruct this in-memory
Dependable.
- Specified by:
getDependableFinderin interfaceorg.apache.derby.catalog.Dependable
getObjectName
public java.lang.String getObjectName()
- Return the name of this Provider. (Useful for errors.)
- Specified by:
getObjectNamein interfaceorg.apache.derby.catalog.Dependable
getObjectID
public org.apache.derby.catalog.UUID getObjectID()
- Get the provider's UUID
- Specified by:
getObjectIDin interfaceorg.apache.derby.catalog.Dependable
getClassType
public java.lang.String getClassType()
- Get the provider's type.
- Specified by:
getClassTypein interfaceorg.apache.derby.catalog.Dependable
getDescriptorType
public java.lang.String getDescriptorType()
- Description copied from class:
TupleDescriptor - Each descriptor must identify itself with its type; i.e index, check
constraint whatever.
- Overrides:
getDescriptorTypein classTupleDescriptor
getAliasType
public static final java.lang.String getAliasType(char nameSpace)
getDescriptorName
public java.lang.String getDescriptorName()
- Overrides:
getDescriptorNamein classTupleDescriptor
getSpecificName
public java.lang.String getSpecificName()
- Return the specific name for this object.
|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> sql >> [ dictionary overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC