|
|||||||||
| Home >> All >> org >> apache >> derby >> catalog >> [ types overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.catalog.types
Class SynonymAliasInfo

java.lang.Objectorg.apache.derby.catalog.types.SynonymAliasInfo
- All Implemented Interfaces:
- org.apache.derby.catalog.AliasInfo, java.io.Externalizable, org.apache.derby.iapi.services.io.Formatable, java.io.Serializable, org.apache.derby.iapi.services.io.TypedFormat
- public class SynonymAliasInfo
- extends java.lang.Object
- implements org.apache.derby.catalog.AliasInfo, org.apache.derby.iapi.services.io.Formatable
- extends java.lang.Object
Describe an S (Synonym) alias.
| Field Summary | |
private java.lang.String |
schemaName
|
private java.lang.String |
tableName
|
| Constructor Summary | |
SynonymAliasInfo()
|
|
SynonymAliasInfo(java.lang.String schemaName,
java.lang.String tableName)
Create a SynonymAliasInfo for synonym. |
|
| Method Summary | |
java.lang.String |
getMethodName()
Get the name of the static method that the alias represents at the source database. |
java.lang.String |
getSynonymSchema()
|
java.lang.String |
getSynonymTable()
|
int |
getTypeFormatId()
Get the formatID which corresponds to this class. |
void |
readExternal(java.io.ObjectInput in)
Read this object from a stream of stored objects. |
java.lang.String |
toString()
Convert this Object to a human-readable String. |
void |
writeExternal(java.io.ObjectOutput out)
Write this object to a stream of stored objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
schemaName
private java.lang.String schemaName
tableName
private java.lang.String tableName
| Constructor Detail |
SynonymAliasInfo
public SynonymAliasInfo()
SynonymAliasInfo
public SynonymAliasInfo(java.lang.String schemaName, java.lang.String tableName)
- Create a SynonymAliasInfo for synonym.
| Method Detail |
getSynonymTable
public java.lang.String getSynonymTable()
getSynonymSchema
public java.lang.String getSynonymSchema()
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Specified by:
readExternalin interfacejava.io.Externalizable
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
- Write this object to a stream of stored objects.
- Specified by:
writeExternalin interfacejava.io.Externalizable
getTypeFormatId
public int getTypeFormatId()
- Get the formatID which corresponds to this class.
- Specified by:
getTypeFormatIdin interfaceorg.apache.derby.iapi.services.io.TypedFormat
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
getMethodName
public java.lang.String getMethodName()
- Description copied from interface:
org.apache.derby.catalog.AliasInfo - Get the name of the static method that the alias
represents at the source database. (Only meaningful for
method aliases )
- Specified by:
getMethodNamein interfaceorg.apache.derby.catalog.AliasInfo
|
|||||||||
| Home >> All >> org >> apache >> derby >> catalog >> [ types overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.derby.catalog.types.SynonymAliasInfo