FreeHEP API
Version v1.2.2

hep.aida.ref.remote
Class RemoteAnnotation

java.lang.Object
  |
  +--hep.aida.ref.Annotation
        |
        +--hep.aida.ref.remote.RemoteAnnotation
All Implemented Interfaces:
hep.aida.IAnnotation

public class RemoteAnnotation
extends Annotation


Field Summary
 
Fields inherited from class hep.aida.ref.Annotation
fillable, keyVector, stkVector, titleKey, valVector
 
Constructor Summary
RemoteAnnotation()
          Creates a new instance of Annotation.
 
Method Summary
 void addItem(String key, String value)
          Add a key/value pair with a given visibility.
 void addItem(String key, String value, boolean sticky)
           
 void removeItem(String key)
          Remove the item indicated by a given key.
 void setSticky(String key, boolean sticky)
          Set stickyness for a given key.
 void setValue(String key, String value)
          Set value for a given key.
 String value(String key)
          Retrieve the value for a given key.
 
Methods inherited from class hep.aida.ref.Annotation
checkIndex, isSticky, isSticky, key, reset, setFillable, size, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteAnnotation

public RemoteAnnotation()
Creates a new instance of Annotation.

Method Detail

addItem

public void addItem(String key,
                    String value)
Add a key/value pair with a given visibility.

Specified by:
addItem in interface hep.aida.IAnnotation
Overrides:
addItem in class Annotation

addItem

public void addItem(String key,
                    String value,
                    boolean sticky)
Specified by:
addItem in interface hep.aida.IAnnotation
Overrides:
addItem in class Annotation

removeItem

public void removeItem(String key)
Remove the item indicated by a given key.

Specified by:
removeItem in interface hep.aida.IAnnotation
Overrides:
removeItem in class Annotation

value

public String value(String key)
Retrieve the value for a given key.

Specified by:
value in interface hep.aida.IAnnotation
Overrides:
value in class Annotation
Returns:
The value of the corresponding item.

setValue

public void setValue(String key,
                     String value)
Set value for a given key.

Specified by:
setValue in interface hep.aida.IAnnotation
Overrides:
setValue in class Annotation
Parameters:
key - The item's key.
value - The new value for the correponding item.

setSticky

public void setSticky(String key,
                      boolean sticky)
Set stickyness for a given key.

Specified by:
setSticky in interface hep.aida.IAnnotation
Overrides:
setSticky in class Annotation
Parameters:
key - The item's key.
sticky - The new stickyness for the correponding item.

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.