org.glassfish.ha.store.criteria.spi
Class AttributeAccessNode<V,T>

java.lang.Object
  extended by org.glassfish.ha.store.criteria.spi.ExpressionNode<T>
      extended by org.glassfish.ha.store.criteria.spi.AttributeAccessNode<V,T>
Type Parameters:
V - The enclosing StoreEntry type
T - 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
AttributeAccessNode(AttributeMetadata<V,T> attr)
           
 
Method Summary
 AttributeMetadata<V,T> getAttributeMetadata()
          Return the SessionAttributeMetadata associated with this Attribute
 LogicalExpressionNode in(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.