edu.nyu.cs.pdsg.drbac
Class AttributeSets

java.lang.Object
  extended byedu.nyu.cs.pdsg.drbac.AttributeSets
All Implemented Interfaces:
java.io.Serializable

public class AttributeSets
extends java.lang.Object
implements java.io.Serializable

A set of AttributeSets. Used internally when searching to store all discovered combinations of attributes and prevent recursion

See Also:
Serialized Form

Field Summary
 java.util.HashSet bindingList
           
protected  boolean remoteSearched
           
 
Constructor Summary
AttributeSets()
          Initialize a blank set of attribute sets
 
Method Summary
 boolean addBindingSet(AttributeSet newAttributeSet)
          Add an attributeSet
 AttributeSets copy()
          Deprecated
 boolean getRemoteSearched()
          Internal function: Returns true if the role that this set of AttributeSets has already been searched by the Wallet, and no set contained within has been altered since that search
 void setRemoteSearched()
          Internal function: Signals that the role that this set of AttributeSets corresponds to has been searched by the Wallet
 boolean subsumes(AttributeSet other)
          Checks if any set of attributes contained within is better than the provided set
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bindingList

public java.util.HashSet bindingList

remoteSearched

protected boolean remoteSearched
Constructor Detail

AttributeSets

public AttributeSets()
Initialize a blank set of attribute sets

Method Detail

addBindingSet

public boolean addBindingSet(AttributeSet newAttributeSet)
Add an attributeSet

Parameters:
newAttributeSet - The AttributeSet to add
Returns:
true if there is no benefit to adding this set

subsumes

public boolean subsumes(AttributeSet other)
Checks if any set of attributes contained within is better than the provided set

Parameters:
other - the set to compare to
Returns:
true if there is a set of attributes contained within that is better than the provided set

copy

public AttributeSets copy()
Deprecated


toString

public java.lang.String toString()
Returns:
a human readable representation of the sets contained within

setRemoteSearched

public void setRemoteSearched()
Internal function: Signals that the role that this set of AttributeSets corresponds to has been searched by the Wallet


getRemoteSearched

public boolean getRemoteSearched()
Internal function: Returns true if the role that this set of AttributeSets has already been searched by the Wallet, and no set contained within has been altered since that search



Copyright (c) 2002-2003 New York University RLAB