© 2005 BEA Systems, Inc.

com.bea.content.expression
Class PropertyRef

java.lang.Object
  extended bycom.bea.p13n.expression.internal.ComplexExpressionImpl
      extended bycom.bea.p13n.expression.operator.Operator
          extended bycom.bea.content.expression.PropertyRef
All Implemented Interfaces:
Cloneable, Expression, com.bea.p13n.expression.ExpressionEvents, Serializable
Direct Known Subclasses:
RequestPropertyRef, SessionPropertyRef, UserPropertyRef

public class PropertyRef
extends Operator

An operator that represents a reference to a property.

This base class is used in the left-hand-side of content query expression to reference a content property.

See Also:
Serialized Form

Constructor Summary
PropertyRef(Object propName)
          Constructor.
PropertyRef(Object propSet, Object propName)
          Constructor.
PropertyRef(PropertyRef propertyRef)
          Constructor.
 
Method Summary
 Object getPropertyName()
          Get the property name.
 Object getPropertySet()
          Get the property set.
 String getPropertyType()
          Return the type of property this refers to.
 
Methods inherited from class com.bea.p13n.expression.operator.Operator
leftHandSide, operand, rightHandSide
 
Methods inherited from class 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 inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyRef

public PropertyRef(Object propName)
Constructor.


PropertyRef

public PropertyRef(Object propSet,
                   Object propName)
Constructor.


PropertyRef

public PropertyRef(PropertyRef propertyRef)
Constructor.

Method Detail

getPropertyName

public Object getPropertyName()
Get the property name.


getPropertySet

public Object getPropertySet()
Get the property set.


getPropertyType

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".


© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved