com.metamatrix.metadata.runtime.impl
Class ProcedureParameterRecordImpl

java.lang.Object
  extended by com.metamatrix.metadata.runtime.impl.AbstractMetadataRecord
      extended by com.metamatrix.metadata.runtime.impl.ProcedureParameterRecordImpl
All Implemented Interfaces:
MetadataRecord, ProcedureParameterRecord, java.io.Serializable

public class ProcedureParameterRecordImpl
extends AbstractMetadataRecord
implements ProcedureParameterRecord

ProcedureParameterRecordImpl

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.metamatrix.modeler.core.metadata.runtime.MetadataRecord
MetadataRecord.MetadataFieldNames, MetadataRecord.MetadataRecordProperties
 
Field Summary
 
Fields inherited from class com.metamatrix.metadata.runtime.impl.AbstractMetadataRecord
delegate, eObject
 
Constructor Summary
  ProcedureParameterRecordImpl()
           
protected ProcedureParameterRecordImpl(MetadataRecordDelegate delegate)
           
 
Method Summary
 java.lang.String getDatatypeUUID()
          Get the UUID of the datatype associated with the column
 java.lang.Object getDefaultValue()
          Get the default value of the parameter
 int getLength()
          Get the length of the parameter
 int getNullType()
          Get the nullability of the parameter
 int getPosition()
          Get the position of the parameter
 int getPrecision()
          Get the precision of the parameter
 int getRadix()
          Get the radix of the parameter
 java.lang.String getRuntimeType()
          Get the runtime type name of the parameter
 int getScale()
          Get the scale of the parameter
 short getType()
          Return short indicating the type of KEY it is.
 boolean isOptional()
          Check if the parameter is optional
 void setDatatypeUUID(java.lang.String string)
           
 void setDefaultValue(java.lang.Object object)
           
 void setLength(int i)
           
 void setNullType(int i)
           
 void setOptional(boolean b)
           
 void setPosition(int i)
           
 void setPrecision(int i)
           
 void setRadix(int i)
           
 void setRuntimeType(java.lang.String string)
           
 void setScale(int i)
           
 void setType(int i)
           
 
Methods inherited from class com.metamatrix.metadata.runtime.impl.AbstractMetadataRecord
equals, getEObject, getFullName, getIndexVersion, getModelName, getName, getNameInSource, getParentFullName, getParentPathString, getParentUUID, getPath, getPathString, getPropertyValue, getRecordType, getResourcePath, getUUID, hashCode, setEObjectFinder, setFullName, setIndexVersion, setName, setNameInSource, setParentUUID, setPropertyValue, setRecordType, setResourcePath, setUUID, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.metamatrix.modeler.core.metadata.runtime.MetadataRecord
getEObject, getFullName, getModelName, getName, getNameInSource, getParentFullName, getParentPathString, getParentUUID, getPath, getPathString, getPropertyValue, getRecordType, getResourcePath, getUUID, setPropertyValue
 

Constructor Detail

ProcedureParameterRecordImpl

public ProcedureParameterRecordImpl()

ProcedureParameterRecordImpl

protected ProcedureParameterRecordImpl(MetadataRecordDelegate delegate)
Method Detail

getDefaultValue

public java.lang.Object getDefaultValue()
Description copied from interface: ProcedureParameterRecord
Get the default value of the parameter

Specified by:
getDefaultValue in interface ProcedureParameterRecord
Returns:
parameter's default value

getType

public short getType()
Description copied from interface: ProcedureParameterRecord
Return short indicating the type of KEY it is.

Specified by:
getType in interface ProcedureParameterRecord
Returns:
short
See Also:
MetadataConstants.PARAMETER_TYPES

getDatatypeUUID

public java.lang.String getDatatypeUUID()
Description copied from interface: ProcedureParameterRecord
Get the UUID of the datatype associated with the column

Specified by:
getDatatypeUUID in interface ProcedureParameterRecord
Returns:
the UUID of the datatype

getRuntimeType

public java.lang.String getRuntimeType()
Description copied from interface: ProcedureParameterRecord
Get the runtime type name of the parameter

Specified by:
getRuntimeType in interface ProcedureParameterRecord
Returns:
column's runtime type

getLength

public int getLength()
Description copied from interface: ProcedureParameterRecord
Get the length of the parameter

Specified by:
getLength in interface ProcedureParameterRecord
Returns:

getPrecision

public int getPrecision()
Description copied from interface: ProcedureParameterRecord
Get the precision of the parameter

Specified by:
getPrecision in interface ProcedureParameterRecord
Returns:

getScale

public int getScale()
Description copied from interface: ProcedureParameterRecord
Get the scale of the parameter

Specified by:
getScale in interface ProcedureParameterRecord
Returns:

getRadix

public int getRadix()
Description copied from interface: ProcedureParameterRecord
Get the radix of the parameter

Specified by:
getRadix in interface ProcedureParameterRecord
Returns:

getPosition

public int getPosition()
Description copied from interface: ProcedureParameterRecord
Get the position of the parameter

Specified by:
getPosition in interface ProcedureParameterRecord
Returns:

getNullType

public int getNullType()
Description copied from interface: ProcedureParameterRecord
Get the nullability of the parameter

Specified by:
getNullType in interface ProcedureParameterRecord
Returns:

isOptional

public boolean isOptional()
Description copied from interface: ProcedureParameterRecord
Check if the parameter is optional

Specified by:
isOptional in interface ProcedureParameterRecord
Returns:
true if this parameter is optional

setLength

public void setLength(int i)
Parameters:
i -

setPrecision

public void setPrecision(int i)
Parameters:
i -

setScale

public void setScale(int i)
Parameters:
i -

setRadix

public void setRadix(int i)
Parameters:
i -

setNullType

public void setNullType(int i)
Parameters:
i -

setPosition

public void setPosition(int i)
Parameters:
i -

setRuntimeType

public void setRuntimeType(java.lang.String string)
Parameters:
string -

setDatatypeUUID

public void setDatatypeUUID(java.lang.String string)
Parameters:
string -

setDefaultValue

public void setDefaultValue(java.lang.Object object)
Parameters:
object -

setType

public void setType(int i)
Parameters:
i -

setOptional

public void setOptional(boolean b)
Parameters:
b -


Copyright © 2009. All Rights Reserved.