jrun.ejb.ejbql
Class CmpField

java.lang.Object
  |
  +--jrun.ejb.ejbql.ExpressionBase
        |
        +--jrun.ejb.ejbql.CmpField
All Implemented Interfaces:
Element, Expression, Symbol

public class CmpField
extends ExpressionBase
implements Symbol

Represents the CMP field of a CMP 2.0 style persistent object.

Author:
Enrique Duvos

Fields inherited from interface jrun.ejb.ejbql.Element
UNSPECIFIED_TRAVERSAL_ORDER
 
Constructor Summary
CmpField(java.lang.String name, EntityMetaData entityMetaData)
           
 
Method Summary
 void accept(Visitor visitor)
           
 boolean equals(java.lang.Object other)
           
 CMPFieldMetaData getFieldMetaData()
           
 java.util.Iterator getFieldNames()
           
 java.lang.String getJavaType()
           
 java.lang.String getName()
           
 java.lang.String getTableName()
           
 boolean isCmpField()
           
 java.lang.String toSql()
           
 java.lang.String toString()
           
 
Methods inherited from class jrun.ejb.ejbql.ExpressionBase
getChildren, isCmrField, isIdentificationVar, isInputParam, isNavigationExpression, isOperatorExpression
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jrun.ejb.ejbql.Expression
isCmrField, isIdentificationVar, isInputParam, isNavigationExpression, isOperatorExpression
 
Methods inherited from interface jrun.ejb.ejbql.Element
getChildren
 

Constructor Detail

CmpField

public CmpField(java.lang.String name,
                EntityMetaData entityMetaData)
Method Detail

isCmpField

public boolean isCmpField()
Specified by:
isCmpField in interface Expression
Overrides:
isCmpField in class ExpressionBase

getFieldNames

public java.util.Iterator getFieldNames()

getFieldMetaData

public CMPFieldMetaData getFieldMetaData()

getName

public java.lang.String getName()
Specified by:
getName in interface Symbol

getTableName

public java.lang.String getTableName()
Specified by:
getTableName in interface Symbol

getJavaType

public java.lang.String getJavaType()
Specified by:
getJavaType in interface Expression

accept

public void accept(Visitor visitor)
Specified by:
accept in interface Element

toString

public java.lang.String toString()
Specified by:
toString in interface Symbol
Overrides:
toString in class java.lang.Object

toSql

public java.lang.String toSql()
Specified by:
toSql in interface Symbol

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object


Copyright � 2002 Macromedia Corporation. All Rights Reserved.