FreeHEP API
Version current

hep.aida.ref.remote.rmi.converters
Class RmiProfile1DConverter

java.lang.Object
  extended byhep.aida.ref.remote.RemoteConverter
      extended byhep.aida.ref.remote.rmi.converters.RmiConverter
          extended byhep.aida.ref.remote.rmi.converters.RmiHist1DConverter
              extended byhep.aida.ref.remote.rmi.converters.RmiProfile1DConverter

public class RmiProfile1DConverter
extends RmiHist1DConverter

Author:
serbo
Source Code:
RmiProfile1DConverter.java

Field Summary
protected static RmiProfile1DConverter converter
           
 
Fields inherited from class hep.aida.ref.remote.RemoteConverter
aidaType, dataType, protocol
 
Constructor Summary
protected RmiProfile1DConverter()
          Creates a new instance of RmiHist1DConverter
 
Method Summary
 Object createAidaObject(String name)
          Creates new instance of type "aidaType".
 RmiHist1DData createData(hep.aida.IProfile1D hist)
          Create RmiHist1DData structure from an IProfile1D
 RmiHist1DData createData(hep.aida.IProfile1D[] arr)
          Create RmiHist1DData structure from an array of IProfile1D
 Object extractData(Object aidaObject)
          Extract data from AIDA object
static RmiHist1DConverter getInstance()
          Creates a new instance of RmiHist1DAdapter
 boolean updateAidaObject(Object aidaObject, Object newData)
          Updates data contained by object.
 hep.aida.IManagedObject updateData(RemoteProfile1D hist, RmiHist1DData data)
          Update data in RemoteProfile1D from RmiHist1DData and calls setDataValid(true) method.
 
Methods inherited from class hep.aida.ref.remote.rmi.converters.RmiHist1DConverter
createData, createData, updateData
 
Methods inherited from class hep.aida.ref.remote.RemoteConverter
aidaType, dataType, protocol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

converter

protected static RmiProfile1DConverter converter
Constructor Detail

RmiProfile1DConverter

protected RmiProfile1DConverter()
Creates a new instance of RmiHist1DConverter

Method Detail

getInstance

public static RmiHist1DConverter getInstance()
Creates a new instance of RmiHist1DAdapter


createAidaObject

public Object createAidaObject(String name)
Description copied from class: RemoteConverter
Creates new instance of type "aidaType".

Overrides:
createAidaObject in class RmiHist1DConverter

extractData

public Object extractData(Object aidaObject)
Description copied from class: RemoteConverter
Extract data from AIDA object

Overrides:
extractData in class RmiHist1DConverter

updateAidaObject

public boolean updateAidaObject(Object aidaObject,
                                Object newData)
Description copied from class: RemoteConverter
Updates data contained by object.

Overrides:
updateAidaObject in class RmiHist1DConverter

updateData

public hep.aida.IManagedObject updateData(RemoteProfile1D hist,
                                          RmiHist1DData data)
Update data in RemoteProfile1D from RmiHist1DData and calls setDataValid(true) method.


createData

public RmiHist1DData createData(hep.aida.IProfile1D hist)
Create RmiHist1DData structure from an IProfile1D


createData

public RmiHist1DData createData(hep.aida.IProfile1D[] arr)
Create RmiHist1DData structure from an array of IProfile1D


FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.