FreeHEP API
Version current

hep.aida.ref.remote
Class RemoteManagedObject

java.lang.Object
  extended byhep.aida.ref.event.AIDAObservable
      extended byhep.aida.ref.ManagedObject
          extended byhep.aida.ref.remote.RemoteManagedObject
All Implemented Interfaces:
Connectable, hep.aida.dev.IDevManagedObject, hep.aida.IManagedObject, IsObservable
Direct Known Subclasses:
RemoteCloud1D, RemoteCloud2D, RemoteDataPointSet, RemoteFolder, RemoteHistogram1D, RemoteHistogram2D, RemoteTable, RemoteUnavailableObject

public abstract class RemoteManagedObject
extends ManagedObject
implements IsObservable

Base class for all IManagedObjects in local AIDA Tree that are copies of remote AIDA Tree objects. If dataIsValid state changes, event is fired to notify listeners.

Author:
serbo
Source Code:
RemoteManagedObject.java

Field Summary
protected  String aidaType
           
protected  boolean dataIsValid
           
static double DEFAULT_DOUBLE
           
static float DEFAULT_FLOAT
           
static int DEFAULT_INT
           
static long DEFAULT_LONG
           
protected  Logger remoteLogger
           
protected  boolean stateDidChange
           
protected  IDevMutableStore store
           
protected  String treePath
           
 
Fields inherited from class hep.aida.ref.ManagedObject
fillable
 
Fields inherited from class hep.aida.ref.event.AIDAObservable
connectionDidChange, isConnected, isValid
 
Constructor Summary
RemoteManagedObject(String name)
          Creates a new instance of RemoteManagedObject
 
Method Summary
 IDevMutableStore getStore()
           
 String getTreePath()
           
 boolean isDataValid()
           
protected  void makeSureDataIsValid()
           
 void setConnected(boolean connected)
           
 void setDataValid(boolean dataIsValid)
           
 void setStore(IDevMutableStore store)
           
 void setTreeFolder(String treeFolder)
          Set what folder this histogram belongs to.
 void setValid(AIDAListener l)
           
 void setValidForAll()
           
 String type()
           
 
Methods inherited from class hep.aida.ref.ManagedObject
isFillable, name, setFillable, setName
 
Methods inherited from class hep.aida.ref.event.AIDAObservable
addListener, createEvent, fireStateChanged, fireStateChanged, fireStateChanged, isConnected, removeAllListeners, removeListener, setIsValidAfterNotify
 
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.IsObservable
addListener, removeAllListeners, removeListener
 
Methods inherited from interface hep.aida.ref.event.Connectable
isConnected
 

Field Detail

DEFAULT_INT

public static int DEFAULT_INT

DEFAULT_LONG

public static long DEFAULT_LONG

DEFAULT_FLOAT

public static float DEFAULT_FLOAT

DEFAULT_DOUBLE

public static double DEFAULT_DOUBLE

store

protected IDevMutableStore store

treePath

protected String treePath

aidaType

protected String aidaType

dataIsValid

protected boolean dataIsValid

stateDidChange

protected boolean stateDidChange

remoteLogger

protected Logger remoteLogger
Constructor Detail

RemoteManagedObject

public RemoteManagedObject(String name)
Creates a new instance of RemoteManagedObject

Method Detail

makeSureDataIsValid

protected void makeSureDataIsValid()

type

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

setStore

public void setStore(IDevMutableStore store)

getStore

public IDevMutableStore getStore()

setTreeFolder

public void setTreeFolder(String treeFolder)
Set what folder this histogram belongs to.


getTreePath

public String getTreePath()

setConnected

public void setConnected(boolean connected)
Specified by:
setConnected in interface Connectable
Overrides:
setConnected in class AIDAObservable

setDataValid

public void setDataValid(boolean dataIsValid)

isDataValid

public boolean isDataValid()

setValid

public void setValid(AIDAListener l)
Specified by:
setValid in interface IsObservable
Overrides:
setValid in class AIDAObservable

setValidForAll

public void setValidForAll()
Overrides:
setValidForAll in class AIDAObservable

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.