org.sql.generation.implementation.grammar.definition.view
Class ViewDefinitionImpl

java.lang.Object
  extended by org.atp.spi.TypeableImpl<SchemaStatement,ViewDefinition>
      extended by org.sql.generation.implementation.grammar.definition.view.ViewDefinitionImpl
All Implemented Interfaces:
org.atp.api.Typeable<SchemaStatement>, SchemaDefinitionStatement, SchemaStatement, SQLStatement, SchemaElement, ViewDefinition

public class ViewDefinitionImpl
extends org.atp.spi.TypeableImpl<SchemaStatement,ViewDefinition>
implements ViewDefinition

Author:
Stanislav Muhametsin

Constructor Summary
protected ViewDefinitionImpl(java.lang.Class<? extends ViewDefinition> realImplementingType, TableName name, QueryExpression query, ViewSpecification spec, ViewCheckOption viewCheck, java.lang.Boolean isRecursive)
           
  ViewDefinitionImpl(TableName name, QueryExpression query, ViewSpecification spec, ViewCheckOption viewCheck, java.lang.Boolean isRecursive)
           
 
Method Summary
 org.atp.api.Typeable<?> asTypeable()
           
protected  boolean doesEqual(ViewDefinition another)
           
 ViewCheckOption getViewCheckOption()
           
 TableName getViewName()
           
 QueryExpression getViewQuery()
           
 ViewSpecification getViewSpecification()
           
 java.lang.Boolean isRecursive()
           
 
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

ViewDefinitionImpl

public ViewDefinitionImpl(TableName name,
                          QueryExpression query,
                          ViewSpecification spec,
                          ViewCheckOption viewCheck,
                          java.lang.Boolean isRecursive)

ViewDefinitionImpl

protected ViewDefinitionImpl(java.lang.Class<? extends ViewDefinition> realImplementingType,
                             TableName name,
                             QueryExpression query,
                             ViewSpecification spec,
                             ViewCheckOption viewCheck,
                             java.lang.Boolean isRecursive)
Method Detail

doesEqual

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

asTypeable

public org.atp.api.Typeable<?> asTypeable()
Specified by:
asTypeable in interface SchemaElement

getViewCheckOption

public ViewCheckOption getViewCheckOption()
Specified by:
getViewCheckOption in interface ViewDefinition

getViewName

public TableName getViewName()
Specified by:
getViewName in interface ViewDefinition

getViewQuery

public QueryExpression getViewQuery()
Specified by:
getViewQuery in interface ViewDefinition

getViewSpecification

public ViewSpecification getViewSpecification()
Specified by:
getViewSpecification in interface ViewDefinition

isRecursive

public java.lang.Boolean isRecursive()
Specified by:
isRecursive in interface ViewDefinition


Copyright © 2010. All Rights Reserved.