com.arunta.base.settings
Class ChannelSettings

java.lang.Object
  extended by com.arunta.base.settings.ChannelSettings
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AnalogChannelSettings

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

Total Recall VR system Channel Settings.

See Also:
Serialized Form

Field Summary
protected  java.lang.String description
           
protected  int id
           
protected  ChannelType type
           
 
Constructor Summary
ChannelSettings()
           
ChannelSettings(ChannelSettings other)
           
ChannelSettings(int id, ChannelType type, java.lang.String description)
          Creates settings for a channel.
 
Method Summary
 java.lang.String getDescription()
           
 int getId()
           
 ChannelType getType()
           
protected  void readObject(java.io.ObjectInputStream in)
           
 void setDescription(java.lang.String description)
           
 void setId(int id)
           
 void setType(ChannelType type)
           
 java.lang.String toString()
           
 java.lang.String toStringL()
           
protected  void writeObject(java.io.ObjectOutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected int id

type

protected ChannelType type

description

protected java.lang.String description
Constructor Detail

ChannelSettings

public ChannelSettings(int id,
                       ChannelType type,
                       java.lang.String description)
Creates settings for a channel.

Parameters:
id - The recorder channel ID that should be assigned to the channel.
type - The type of the channel.
description - Textual description of the channel.

ChannelSettings

public ChannelSettings()

ChannelSettings

public ChannelSettings(ChannelSettings other)
Method Detail

getId

public int getId()

setId

public void setId(int id)

getType

public ChannelType getType()

setType

public void setType(ChannelType type)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

toString

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

toStringL

public java.lang.String toStringL()

writeObject

protected void writeObject(java.io.ObjectOutputStream out)
                    throws java.io.IOException
Throws:
java.io.IOException

readObject

protected void readObject(java.io.ObjectInputStream in)
                   throws java.io.IOException,
                          java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException


Copyright ©, 2005-2012 Prolancer Pty Ltd, Sydney Australia.