DESY ACOP Beans Home

de.desy.acop.displayers.chart
Class HistoryParameters

java.lang.Object
  extended by de.desy.acop.displayers.chart.HistoryParameters
All Implemented Interfaces:
java.io.Serializable

public class HistoryParameters
extends java.lang.Object
implements java.io.Serializable

HistoryParameters defines a connection point for the history data. This class defines the remote connection which can be used to connect to history or archive server and obtain data provided by those servers.

Author:
Tilen Kusterle, Cosylab
See Also:
Serialized Form

Constructor Summary
HistoryParameters(java.lang.String remoteName)
          Constructs a new HistoryParameters from the remote name.
HistoryParameters(java.lang.String historyContext, java.lang.String historyServer, java.lang.String historyDevice, java.lang.String historyProperty, int historyIndex)
          Constructs new HistoryParameters.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getHistoryContext()
          Returns the context.
 java.lang.String getHistoryDevice()
          Returns the device name.
 int getHistoryIndex()
          Returns the index of the device.
 java.lang.String getHistoryProperty()
          Returns the property name
 java.lang.String getHistoryServer()
          Returns the device server.
 java.lang.String getRemoteName()
          Returnst the remote name.
 int hashCode()
           
 void setHistoryContext(java.lang.String historyContext)
          Sets the new context.
 void setHistoryDevice(java.lang.String historyDevice)
          Sets new device name.
 void setHistoryIndex(int historyIndex)
          Sets the index of the device.
 void setHistoryProperty(java.lang.String historyProperty)
          Sets new property name
 void setHistoryServer(java.lang.String historyServer)
          Sets new device server.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HistoryParameters

public HistoryParameters(java.lang.String historyContext,
                         java.lang.String historyServer,
                         java.lang.String historyDevice,
                         java.lang.String historyProperty,
                         int historyIndex)
Constructs new HistoryParameters.

Parameters:
historyContext -
historyServer -
historyDevice -
historyProperty -
historyIndex -

HistoryParameters

public HistoryParameters(java.lang.String remoteName)
Constructs a new HistoryParameters from the remote name. The remote name should have th structure context/server/device/property.

Parameters:
remoteName -
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getRemoteName

public java.lang.String getRemoteName()
Returnst the remote name.

Returns:
the remote name
See Also:
HistoryParameters(String)

getHistoryContext

public java.lang.String getHistoryContext()
Returns the context.

Returns:
the historyContext

setHistoryContext

public void setHistoryContext(java.lang.String historyContext)
Sets the new context.

Parameters:
historyContext - the historyContext to set

getHistoryDevice

public java.lang.String getHistoryDevice()
Returns the device name.

Returns:
the historyDevice

setHistoryDevice

public void setHistoryDevice(java.lang.String historyDevice)
Sets new device name.

Parameters:
historyDevice - the historyDevice to set

getHistoryProperty

public java.lang.String getHistoryProperty()
Returns the property name

Returns:
the historyProperty

setHistoryProperty

public void setHistoryProperty(java.lang.String historyProperty)
Sets new property name

Parameters:
historyProperty - the historyProperty to set

getHistoryServer

public java.lang.String getHistoryServer()
Returns the device server.

Returns:
the historyServer

setHistoryServer

public void setHistoryServer(java.lang.String historyServer)
Sets new device server.

Parameters:
historyServer - the historyServer to set

getHistoryIndex

public int getHistoryIndex()
Returns the index of the device.

Returns:
the historyIndex

setHistoryIndex

public void setHistoryIndex(int historyIndex)
Sets the index of the device.

Parameters:
historyIndex - the historyIndex to set

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2010. All Rights Reserved.