FreeHEP API
Version current

hep.aida.ref
Class ManagedObject

java.lang.Object
  extended byhep.aida.ref.event.AIDAObservable
      extended byhep.aida.ref.ManagedObject
All Implemented Interfaces:
Connectable, hep.aida.dev.IDevManagedObject, hep.aida.IManagedObject
Direct Known Subclasses:
AbstractBaseHistogram, AbstractTuple, BaseModelFunction, DataPointSet, Folder, Link, RemoteManagedObject, SumOfFunctions

public class ManagedObject
extends AIDAObservable
implements Connectable, hep.aida.dev.IDevManagedObject

An object which can be stored in a tree. Implementation of IManagedObject.

Author:
The AIDA Team at SLAC
Source Code:
ManagedObject.java

Field Summary
protected  boolean fillable
           
 
Fields inherited from class hep.aida.ref.event.AIDAObservable
connectionDidChange, isConnected, isValid
 
Constructor Summary
ManagedObject(String name)
          Creates a new instance of ManagedObject.
 
Method Summary
 boolean isFillable()
           
 String name()
          Get the name of this ManagedObject.
 void setFillable(boolean fillable)
          If ManagedObject is fillable, it can modified.
 void setName(String name)
          Set the name of this ManagedObject.
 String type()
           
 
Methods inherited from class hep.aida.ref.event.AIDAObservable
addListener, createEvent, fireStateChanged, fireStateChanged, fireStateChanged, isConnected, removeAllListeners, removeListener, setConnected, setIsValidAfterNotify, setValid, setValidForAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hep.aida.ref.event.Connectable
isConnected, setConnected
 

Field Detail

fillable

protected boolean fillable
Constructor Detail

ManagedObject

public ManagedObject(String name)
Creates a new instance of ManagedObject.

Parameters:
name - The name of the ManagedObject as it will appear in the Tree.
Method Detail

setFillable

public void setFillable(boolean fillable)
If ManagedObject is fillable, it can modified. othervisw throws ReadOnlyException.


isFillable

public boolean isFillable()

name

public String name()
Get the name of this ManagedObject. Names can only be changed using the ITree.mv().

Specified by:
name in interface hep.aida.IManagedObject
Returns:
The name of the ManagedObject.

setName

public void setName(String name)
Set the name of this ManagedObject.

Specified by:
setName in interface hep.aida.dev.IDevManagedObject
Parameters:
name - The new name of the ManagedObject.

type

public String type()
Specified by:
type in interface hep.aida.IManagedObject

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.