All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.jaw.reference.query.AttributeExp

java.lang.Object
   |
   +----com.sun.jaw.reference.query.QueryEval
           |
           +----com.sun.jaw.reference.query.ValueExp
                   |
                   +----com.sun.jaw.reference.query.AttributeExp

public class AttributeExp
extends ValueExp
For internal use only.

This class represents attributes used as arguments to relational constraints. An AttributeExp may be used anywhere a ValueExp is required.

See Also:
ValueExp, Query

Constructor Index

 o AttributeExp()
 o AttributeExp(String)
Creates a new AttributeExp representing the object attribute named by .

Method Index

 o apply(Object)
 o getAttributeName()
 o getClassVersion()
Returns the version of this class.
 o toString()
Returns the string representing its value.

Constructors

 o AttributeExp
 public AttributeExp(String attr)
Creates a new AttributeExp representing the object attribute named by .

 o AttributeExp
 public AttributeExp()

Methods

 o getClassVersion
 public String getClassVersion()
Returns the version of this class.

 o getAttributeName
 public String getAttributeName()
 o apply
 public ValueExp apply(Object mo) throws BadAttributeValueException, InvalidApplicationException
Throws: BadAttributeValueException
The attribute value passed to the method is invalid.
Throws: InvalidApplicationException
An attempt has been made to apply a subquery expression to a managed object or a qualified attribute expression to a managed object of the wrong class.
Overrides:
apply in class ValueExp
 o toString
 public String toString()
Returns the string representing its value.

Returns:
The expression's string value.
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index