DEPRECATED

# com.bea.p13n.content.expression
PropertyRef Class

public class PropertyRef
extends `com.bea.p13n.expression.operator.Operator`

An operator that represents the left-hand-side of a content query expression.

Hierarchy
  `Object`
  `ComplexExpressionImpl`
  `com.bea.p13n.expression.operator.Operator`
  `PropertyRef`

All Implemented Interfaces
  `Cloneable`, `com.bea.p13n.expression.Expression`, `Serializable`

Direct Known Subclasses
  `com.bea.p13n.content.expression.RequestPropertyRef`, `com.bea.p13n.content.expression.SessionPropertyRef`, `com.bea.p13n.content.expression.UserPropertyRef`

## Constructor Summary

PropertyRef(`Object` propSet, `Object` propName) Constructor.
PropertyRef(`Object` propName) Constructor.

## Method Summary

`public `Object`` | `accept`(`ExpressionVisitor` visitor, `Object` data) Accept this node.
`public `Class`[]` | `getParameterSignature`() Get the parameter signature for this node.
`public `Object`` | `getPropertyName`() Get the property name.
`public `Object`` | `getPropertySet`() Get the property set.
`public `String`` | `getPropertyType`() Return the type of property this refers to.
`public void` | `setPropertyName`(`Object` name) Set the property name.

Methods from `com.bea.p13n.expression.operator.`com.bea.p13n.expression.operator.Operator``
``leftHandSide`, `operand`, `rightHandSide``

Methods from `com.bea.p13n.expression.internal.`ComplexExpressionImpl``
`addListener, addSubExpression, clearCache, clone, createProxyExpression, equals, getCachedValue, getParent, getSource, getSubExpression, getSubExpressionCount, getUserData, hashCode, isCached, isCacheEnabled, isEqualitySubExpression, notifyListeners, removeAllSubExpressions, removeListener, removeSubExpression, removeSubExpression, setCachedValue, setCacheEnabled, setParent, setSource, setSubExpression, setUserData, toString, write`

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods from interface `com.bea.p13n.expression.`com.bea.p13n.expression.Expression``
``accept`, `addListener`, `addSubExpression`, `clearCache`, `clone`, `getCachedValue`, `getParameterSignature`, `getParent`, `getSource`, `getSubExpression`, `getSubExpressionCount`, `getUserData`, `isCached`, `isCacheEnabled`, `removeAllSubExpressions`, `removeListener`, `removeSubExpression`, `removeSubExpression`, `setCachedValue`, `setCacheEnabled`, `setSource`, `setSubExpression`, `setUserData`, `write``

## Constructor Detail

### PropertyRef

    public PropertyRef(Object propSet,
                       Object propName)

  Constructor.

### PropertyRef

    public PropertyRef(Object propName)

  Constructor.

## Method Detail

### accept(ExpressionVisitor, Object) Method

    public Object accept(ExpressionVisitor visitor,
                         Object data)
         throws ExpressionException

Accept this node.

#### Parameters

visitor
  that is interested in performing operations on this.

data
  An additional parameter used during the visit.

#### Returns

The result of an operation performed on this.

#### Exceptions

``ExpressionException``

### getParameterSignature() Method

    public Class[] getParameterSignature()

Get the parameter signature for this node.

#### Returns

the Class array containing the parameter signature.

### getPropertyName() Method

    public Object getPropertyName()

Get the property name.

### getPropertySet() Method

    public Object getPropertySet()

Get the property set.

### getPropertyType() Method

    public String getPropertyType()

Return the type of property this refers to.

This should correspond to a valid propertySetType in the PropertySetManager, but does not have to. The pre-defined values are CONTENT, USER, REQUEST, SESSION, and EVENT.

### setPropertyName(Object) Method

    public void setPropertyName(Object name)

Set the property name.