Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.catalog.types
Class SynonymAliasInfo  view SynonymAliasInfo download SynonymAliasInfo.java

java.lang.Object
  extended byorg.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

Describe an S (Synonym) alias.


Field Summary
private  java.lang.String schemaName
           
private  java.lang.String tableName
           
 
Fields inherited from interface org.apache.derby.catalog.AliasInfo
ALIAS_NAME_SPACE_FUNCTION_AS_CHAR, ALIAS_NAME_SPACE_FUNCTION_AS_STRING, ALIAS_NAME_SPACE_PROCEDURE_AS_CHAR, ALIAS_NAME_SPACE_PROCEDURE_AS_STRING, ALIAS_NAME_SPACE_SYNONYM_AS_CHAR, ALIAS_NAME_SPACE_SYNONYM_AS_STRING, ALIAS_TYPE_FUNCTION_AS_CHAR, ALIAS_TYPE_FUNCTION_AS_STRING, ALIAS_TYPE_PROCEDURE_AS_CHAR, ALIAS_TYPE_PROCEDURE_AS_STRING, ALIAS_TYPE_SYNONYM_AS_CHAR, ALIAS_TYPE_SYNONYM_AS_STRING
 
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:
readExternal in interface java.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:
writeExternal in interface java.io.Externalizable

getTypeFormatId

public int getTypeFormatId()
Get the formatID which corresponds to this class.

Specified by:
getTypeFormatId in interface org.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:
getMethodName in interface org.apache.derby.catalog.AliasInfo