com.sybase.reflection
Class OperationMetaData

java.lang.Object
  extended by com.sybase.reflection.OperationMetaData

public class OperationMetaData
extends java.lang.Object

Holds operation meta data.


Field Summary
protected  java.lang.String __displayName
           
protected  int __id
           
protected  boolean __isCreate
           
protected  boolean __isDelete
           
protected  boolean __isReplay
           
protected  boolean __isStatic
           
protected  boolean __isUpdate
           
protected  java.lang.String __name
           
protected  ParameterMetaDataList __parameters
           
protected  DataType __returnType
           
 
Constructor Summary
OperationMetaData()
          Sybase internal use only.
 
Method Summary
 OperationMetaData finishInit()
          Sybase internal use only.
 java.lang.String getDisplayName()
          Gets the display name of the operation.
static OperationMetaDataList getEMPTY_LIST()
          Sybase internal use only.
 java.lang.String getFullName()
          Returns the full name of the operation based on its parameter medadata.
static java.lang.String getFullName(java.lang.String name, java.lang.String[] afxTypes)
          Returns the full name of the operation based on specified name the types.
 int getId()
          Gets the ID of the operation.
 boolean getIsCreate()
          Returns true if the create option of the operation is true.
 boolean getIsDelete()
          Gets the delete option value of the operation.
 boolean getIsReplay()
          Gets the replay option value of the operation.
 boolean getIsStatic()
          Returns true if the operation is static.
 boolean getIsUpdate()
          Returns the update option value of the operation.
 java.lang.String getName()
          Gets the name of the operation.
 ParameterMetaData getParameter(java.lang.String name)
          Gets the parameter meta data by the parameter name.
 ParameterMetaDataList getParameters()
          Gets the parameter meta data list of the operation.
 DataType getReturnType()
          Gets the return type of the operation.
 OperationMetaData initDisplayName(java.lang.String _displayName)
          Sybase internal use only.
 OperationMetaData initId(int _id)
          Sybase internal use only.
 OperationMetaData initIsCreate(boolean _isCreate)
          Sybase internal use only.
 OperationMetaData initIsDelete(boolean _isDelete)
          Sybase internal use only.
 OperationMetaData initIsReplay(boolean _isReplay)
          Sybase internal use only.
 OperationMetaData initIsStatic(boolean _isStatic)
          Sybase internal use only.
 OperationMetaData initIsUpdate(boolean _isUpdate)
          Sybase internal use only.
 OperationMetaData initName(java.lang.String _name)
          Sybase internal use only.
 OperationMetaData initParameters(ParameterMetaDataList _parameters)
          Sybase internal use only.
 OperationMetaData initReturnType(DataType _returnType)
          Sybase internal use only.
 void setDisplayName(java.lang.String _displayName)
          Sets the display name of the operation.
 void setId(int _id)
          Sets the ID of the operation.
 void setIsCreate(boolean _isCreate)
          Sets the create option of the operation.
 void setIsDelete(boolean _isDelete)
          Sets the delete option vlaue of the operation.
 void setIsReplay(boolean _isReplay)
          Sets the replay option value of the operation.
 void setIsStatic(boolean _isStatic)
          Sets the static option value of the operation.
 void setIsUpdate(boolean _isUpdate)
          Sets the update option value of the operation.
 void setName(java.lang.String _name)
          Sets the name of the operation.
 void setParameters(ParameterMetaDataList _parameters)
          Sets the parameter meta data list of the operation.
 void setReturnType(DataType _returnType)
          Sets the return type of the operation.
 void validateParameters(ObjectList parameters)
          Checks if the provided parameters match with the parameter metadata.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__id

protected int __id

__name

protected java.lang.String __name

__parameters

protected ParameterMetaDataList __parameters

__returnType

protected DataType __returnType

__displayName

protected java.lang.String __displayName

__isCreate

protected boolean __isCreate

__isUpdate

protected boolean __isUpdate

__isDelete

protected boolean __isDelete

__isReplay

protected boolean __isReplay

__isStatic

protected boolean __isStatic
Constructor Detail

OperationMetaData

public OperationMetaData()
Sybase internal use only.

Method Detail

getEMPTY_LIST

public static OperationMetaDataList getEMPTY_LIST()
Sybase internal use only.


initId

public OperationMetaData initId(int _id)
Sybase internal use only.


getId

public int getId()
Gets the ID of the operation.


setId

public void setId(int _id)
Sets the ID of the operation.


initName

public OperationMetaData initName(java.lang.String _name)
Sybase internal use only.


getName

public java.lang.String getName()
Gets the name of the operation.


setName

public void setName(java.lang.String _name)
Sets the name of the operation.


initParameters

public OperationMetaData initParameters(ParameterMetaDataList _parameters)
Sybase internal use only.


getParameters

public ParameterMetaDataList getParameters()
Gets the parameter meta data list of the operation.


setParameters

public void setParameters(ParameterMetaDataList _parameters)
Sets the parameter meta data list of the operation.


initReturnType

public OperationMetaData initReturnType(DataType _returnType)
Sybase internal use only.


getReturnType

public DataType getReturnType()
Gets the return type of the operation.


setReturnType

public void setReturnType(DataType _returnType)
Sets the return type of the operation.


initDisplayName

public OperationMetaData initDisplayName(java.lang.String _displayName)
Sybase internal use only.


getDisplayName

public java.lang.String getDisplayName()
Gets the display name of the operation.


setDisplayName

public void setDisplayName(java.lang.String _displayName)
Sets the display name of the operation.


initIsCreate

public OperationMetaData initIsCreate(boolean _isCreate)
Sybase internal use only.


getIsCreate

public boolean getIsCreate()
Returns true if the create option of the operation is true.


setIsCreate

public void setIsCreate(boolean _isCreate)
Sets the create option of the operation.


initIsUpdate

public OperationMetaData initIsUpdate(boolean _isUpdate)
Sybase internal use only.


getIsUpdate

public boolean getIsUpdate()
Returns the update option value of the operation.


setIsUpdate

public void setIsUpdate(boolean _isUpdate)
Sets the update option value of the operation.


initIsDelete

public OperationMetaData initIsDelete(boolean _isDelete)
Sybase internal use only.


getIsDelete

public boolean getIsDelete()
Gets the delete option value of the operation.


setIsDelete

public void setIsDelete(boolean _isDelete)
Sets the delete option vlaue of the operation.


initIsReplay

public OperationMetaData initIsReplay(boolean _isReplay)
Sybase internal use only.


getIsReplay

public boolean getIsReplay()
Gets the replay option value of the operation.


setIsReplay

public void setIsReplay(boolean _isReplay)
Sets the replay option value of the operation.


initIsStatic

public OperationMetaData initIsStatic(boolean _isStatic)
Sybase internal use only.


getIsStatic

public boolean getIsStatic()
Returns true if the operation is static.


setIsStatic

public void setIsStatic(boolean _isStatic)
Sets the static option value of the operation.


getParameter

public ParameterMetaData getParameter(java.lang.String name)
Gets the parameter meta data by the parameter name.


finishInit

public OperationMetaData finishInit()
Sybase internal use only.


getFullName

public static java.lang.String getFullName(java.lang.String name,
                                           java.lang.String[] afxTypes)
Returns the full name of the operation based on specified name the types. The returned string format is operationName(type1,type2,...)


getFullName

public java.lang.String getFullName()
Returns the full name of the operation based on its parameter medadata. The returned string format is operationName(type1,type2,...)


validateParameters

public void validateParameters(ObjectList parameters)
Checks if the provided parameters match with the parameter metadata.