org.globus.cog.gridface.impl.desktop.util
Class AttributesHolder

java.lang.Object
  extended byorg.globus.cog.gridface.impl.desktop.util.AttributesHolder
All Implemented Interfaces:
AccessAttributes, AccessPreferences

public class AttributesHolder
extends Object
implements AccessAttributes, AccessPreferences


Field Summary
 
Fields inherited from interface org.globus.cog.gridface.impl.desktop.interfaces.AccessAttributes
UNKNOWN_ATTRIB
 
Fields inherited from interface org.globus.cog.gridface.impl.desktop.interfaces.AccessPreferences
NO_TOSTRING, SUFFIX_TAG
 
Constructor Summary
AttributesHolder()
           
 
Method Summary
 void clear()
           
 Object getAttribute(String name)
          Get the attribute with given name
 Hashtable getAttributes()
          Get all attributes in the form of a hash table
 void loadPreferences(Preferences startNode)
           
 void removeAttribute(String name)
           
 void savePreferences(Preferences startNode)
           
 void setAttribute(String name, Object value)
          set attributes for the given command
 void setAttributes(Hashtable attribs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributesHolder

public AttributesHolder()
Method Detail

clear

public void clear()
Specified by:
clear in interface AccessAttributes

setAttribute

public void setAttribute(String name,
                         Object value)
set attributes for the given command

Specified by:
setAttribute in interface AccessAttributes

getAttribute

public Object getAttribute(String name)
Get the attribute with given name

Specified by:
getAttribute in interface AccessAttributes

getAttributes

public Hashtable getAttributes()
Get all attributes in the form of a hash table

Specified by:
getAttributes in interface AccessAttributes

setAttributes

public void setAttributes(Hashtable attribs)
Specified by:
setAttributes in interface AccessAttributes

removeAttribute

public void removeAttribute(String name)
Specified by:
removeAttribute in interface AccessAttributes

loadPreferences

public void loadPreferences(Preferences startNode)
Specified by:
loadPreferences in interface AccessPreferences

savePreferences

public void savePreferences(Preferences startNode)
Specified by:
savePreferences in interface AccessPreferences