Class AttributeAccessNode<V,T>
- java.lang.Object
-
- org.glassfish.ha.store.criteria.spi.ExpressionNode<T>
-
- org.glassfish.ha.store.criteria.spi.AttributeAccessNode<V,T>
-
- Type Parameters:
V- The enclosing StoreEntry typeT- The Attribute's type
- All Implemented Interfaces:
Expression<T>
public final class AttributeAccessNode<V,T> extends ExpressionNode<T>
An ExpressionNode that denotes an Attribute access. The type of the expression is same as the Attribute's type itself.- Author:
- Mahesh.Kannan@Sun.Com
-
-
Field Summary
-
Fields inherited from class org.glassfish.ha.store.criteria.spi.ExpressionNode
returnType
-
-
Constructor Summary
Constructors Constructor Description AttributeAccessNode(AttributeMetadata<V,T> attr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeMetadata<V,T>getAttributeMetadata()Return the SessionAttributeMetadata associated with this AttributeLogicalExpressionNodein(Collection<? extends T> entries)Checks if the value of the Attribute is in the Collection.-
Methods inherited from class org.glassfish.ha.store.criteria.spi.ExpressionNode
getOpcode, getReturnType
-
-
-
-
Constructor Detail
-
AttributeAccessNode
public AttributeAccessNode(AttributeMetadata<V,T> attr)
-
-
Method Detail
-
getAttributeMetadata
public AttributeMetadata<V,T> getAttributeMetadata()
Return the SessionAttributeMetadata associated with this Attribute- Returns:
- The SessionAttributeMetadata of this Attribute
-
in
public LogicalExpressionNode in(Collection<? extends T> entries)
Checks if the value of the Attribute is in the Collection.- Parameters:
entries- The Collection of data to examine- Returns:
- true if this attribute exists in the Collection, false if not
-
-