org.teiid.language
Class Argument
java.lang.Object
org.teiid.language.BaseLanguageObject
org.teiid.language.Argument
- All Implemented Interfaces:
- LanguageObject, MetadataReference<ProcedureParameter>
public class Argument
- extends BaseLanguageObject
- implements MetadataReference<ProcedureParameter>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Argument
public Argument(Argument.Direction direction,
Literal value,
java.lang.Class<?> type,
ProcedureParameter metadataObject)
getDirection
public Argument.Direction getDirection()
getArgumentValue
public Literal getArgumentValue()
- Get the argument value
- Returns:
- the value or null if this is an out parameter
getType
public java.lang.Class<?> getType()
setType
public void setType(java.lang.Class<?> type)
acceptVisitor
public void acceptVisitor(LanguageObjectVisitor visitor)
- Specified by:
acceptVisitor
in interface LanguageObject
setDirection
public void setDirection(Argument.Direction direction)
setArgumentValue
public void setArgumentValue(Literal value)
getMetadataObject
public ProcedureParameter getMetadataObject()
- Specified by:
getMetadataObject
in interface MetadataReference<ProcedureParameter>
setMetadataObject
public void setMetadataObject(ProcedureParameter metadataObject)
Copyright © 2010. All Rights Reserved.