|
|||||||||
| 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 MethodAliasInfo

java.lang.Objectorg.apache.derby.catalog.types.MethodAliasInfo
- 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
- Direct Known Subclasses:
- RoutineAliasInfo
- public class MethodAliasInfo
- extends java.lang.Object
- implements org.apache.derby.catalog.AliasInfo, org.apache.derby.iapi.services.io.Formatable
- extends java.lang.Object
Describe a method alias.
| Field Summary | |
private java.lang.String |
methodName
This class implements Formatable. |
| Constructor Summary | |
MethodAliasInfo()
Public niladic constructor. |
|
MethodAliasInfo(java.lang.String methodName)
Create a MethodAliasInfo |
|
| Method Summary | |
java.lang.String |
getMethodName()
Get the name of the static method that the alias represents at the source database. |
java.lang.String |
getTargetClassName()
|
java.lang.String |
getTargetMethodName()
|
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 |
methodName
private java.lang.String methodName
- This class implements Formatable. That means that it
can write itself to and from a formatted stream. If
you add more fields to this class, make sure that you
also write/read them with the writeExternal()/readExternal()
methods.
If, inbetween releases, you add more fields to this class,
then you should bump the version number emitted by the getTypeFormatId()
method.
| Constructor Detail |
MethodAliasInfo
public MethodAliasInfo()
- Public niladic constructor. Needed for Formatable interface to work.
MethodAliasInfo
public MethodAliasInfo(java.lang.String methodName)
- Create a MethodAliasInfo
| Method Detail |
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
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
getTargetClassName
public java.lang.String getTargetClassName()
getTargetMethodName
public java.lang.String getTargetMethodName()
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()).
|
|||||||||
| 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.MethodAliasInfo