Skip navigation links


org.apache.myfaces.trinidad.bean.util
Class PropertyTracker

java.lang.Object
  extended by org.apache.myfaces.trinidad.bean.util.PropertyTracker

All Implemented Interfaces:
Iterable<PropertyKey>

public class PropertyTracker
extends Object
implements Iterable<PropertyKey>

Utility class for tracking indexed PropertyKeys in a bitmask


Constructor Summary
PropertyTracker(FacesBean.Type type)
          Constructor

 

Method Summary
 void addProperty(PropertyKey key)
          Adds a property to the bitmask
 Iterator<PropertyKey> iterator()
          Provides Iterator of the propoerty being tracked in a bitmask
 void removeProperty(PropertyKey key)
          Stops tracking property in a bitmask

 

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

 

Constructor Detail

PropertyTracker

public PropertyTracker(FacesBean.Type type)
Constructor
Parameters:
type - Facesbean Type for the bean that owns the tracker

Method Detail

addProperty

public void addProperty(PropertyKey key)
Adds a property to the bitmask
Parameters:
key - property key to be tracked in a bitmask

removeProperty

public void removeProperty(PropertyKey key)
Stops tracking property in a bitmask
Parameters:
key - property key that should be removed from the bitmask

iterator

public Iterator<PropertyKey> iterator()
Provides Iterator of the propoerty being tracked in a bitmask
Specified by:
iterator in interface Iterable<PropertyKey>
Returns:
iterator of property keys

Skip navigation links


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.