Package org.teiid.query.sql.symbol
Class XMLCast
- java.lang.Object
-
- org.teiid.query.sql.symbol.XMLCast
-
- All Implemented Interfaces:
Cloneable
,LanguageObject
,Expression
public class XMLCast extends Object implements Expression
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.teiid.query.sql.LanguageObject
LanguageObject.Util
-
-
Constructor Summary
Constructors Constructor Description XMLCast(Expression expression, String typeName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.Object
clone()
Implement clone to make objects cloneable.boolean
equals(Object obj)
Expression
getExpression()
Class<?>
getType()
Get the return type of this expression.String
getTypeName()
int
hashCode()
void
setExpression(Expression expression)
void
setType(Class<?> type)
String
toString()
-
-
-
Constructor Detail
-
XMLCast
public XMLCast(Expression expression, String typeName)
-
-
Method Detail
-
getExpression
public Expression getExpression()
-
setExpression
public void setExpression(Expression expression)
-
acceptVisitor
public void acceptVisitor(LanguageVisitor visitor)
Description copied from interface:LanguageObject
Method for accepting a visitor. It is the responsibility of the language object to call back on the visitor.- Specified by:
acceptVisitor
in interfaceLanguageObject
- Parameters:
visitor
- Visitor being used
-
clone
public Object clone()
Description copied from interface:LanguageObject
Implement clone to make objects cloneable.- Specified by:
clone
in interfaceLanguageObject
- Overrides:
clone
in classObject
- Returns:
- Deep clone of this object
-
getTypeName
public String getTypeName()
-
getType
public Class<?> getType()
Description copied from interface:Expression
Get the return type of this expression.- Specified by:
getType
in interfaceExpression
- Returns:
- Java class may be null prior to being resolved
-
setType
public void setType(Class<?> type)
-
-