org.sql.generation.implementation.grammar.literals
Class StringLiteralImpl

java.lang.Object
  extended by org.atp.spi.TypeableImpl<ValueExpression,ExpressionType>
      extended by org.sql.generation.implementation.grammar.common.NonBooleanExpressionImpl<StringLiteral>
          extended by org.sql.generation.implementation.grammar.literals.StringLiteralImpl
All Implemented Interfaces:
org.atp.api.Typeable<ValueExpression>, NonBooleanExpression, ValueExpression, LiteralExpression, StringLiteral

public class StringLiteralImpl
extends NonBooleanExpressionImpl<StringLiteral>
implements StringLiteral

Author:
Stanislav Muhametsin

Constructor Summary
protected StringLiteralImpl(java.lang.Class<? extends StringLiteral> implClass, java.lang.String literal)
           
  StringLiteralImpl(java.lang.String literal)
           
 
Method Summary
protected  boolean doesEqual(StringLiteral another)
           
 java.lang.String getString()
           
 
Methods inherited from class org.atp.spi.TypeableImpl
bothNullOrEquals, equals, getImplementedType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.atp.api.Typeable
getImplementedType
 

Constructor Detail

StringLiteralImpl

public StringLiteralImpl(java.lang.String literal)

StringLiteralImpl

protected StringLiteralImpl(java.lang.Class<? extends StringLiteral> implClass,
                            java.lang.String literal)
Method Detail

getString

public java.lang.String getString()
Specified by:
getString in interface StringLiteral

doesEqual

protected boolean doesEqual(StringLiteral another)
Specified by:
doesEqual in class org.atp.spi.TypeableImpl<ValueExpression,StringLiteral>


Copyright © 2010. All Rights Reserved.