edu.iris.Fissures.IfNetwork
Class Channel

java.lang.Object
  extended by edu.iris.Fissures.IfNetwork.Channel
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.portable.Streamable, org.omg.CORBA.portable.StreamableValue, org.omg.CORBA.portable.ValueBase

public abstract class Channel
extends java.lang.Object
implements org.omg.CORBA.portable.StreamableValue

Represents a seismic recording channel, following the SEED convention.

See Also:
Serialized Form

Field Summary
protected  ChannelId id
          Uniquely identifies this channel.
 
Constructor Summary
Channel()
           
 
Method Summary
 void _read(org.omg.CORBA.portable.InputStream in)
           
 java.lang.String[] _truncatable_ids()
           
 org.omg.CORBA.TypeCode _type()
           
 void _write(org.omg.CORBA.portable.OutputStream out)
           
abstract  java.lang.String get_code()
          Access the channnel code.
abstract  ChannelId get_id()
          Access the private id attribute.
 Time getBeginTime()
           
 TimeRange getEffectiveTime()
           
 Time getEndTime()
           
 ChannelId getId()
           
 java.lang.String getName()
           
 NetworkAttr getNetworkAttr()
           
 Orientation getOrientation()
           
 Sampling getSamplingInfo()
           
 Site getSite()
           
 Station getStation()
           
static Channel intern(Channel channel)
           
 void setBeginTime(Time beginTime)
           
 void setEffectiveTime(TimeRange eff)
           
 void setEndTime(Time endTime)
           
protected  void setId(ChannelId id)
           
 void setName(java.lang.String name)
           
 void setOrientation(Orientation orientation)
           
 void setSamplingInfo(Sampling sampling_info)
           
 void setSite(Site site)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected ChannelId id
Uniquely identifies this channel. Note that channel codes can be reused within a site, and hence a time is attached to the channel to uniquely identify it.

Constructor Detail

Channel

public Channel()
Method Detail

get_id

public abstract ChannelId get_id()
Access the private id attribute.


get_code

public abstract java.lang.String get_code()
Access the channnel code. This is equivalent to get_id().channel_code


_truncatable_ids

public java.lang.String[] _truncatable_ids()
Specified by:
_truncatable_ids in interface org.omg.CORBA.portable.ValueBase

_read

public void _read(org.omg.CORBA.portable.InputStream in)
Specified by:
_read in interface org.omg.CORBA.portable.Streamable

_write

public void _write(org.omg.CORBA.portable.OutputStream out)
Specified by:
_write in interface org.omg.CORBA.portable.Streamable

_type

public org.omg.CORBA.TypeCode _type()
Specified by:
_type in interface org.omg.CORBA.portable.Streamable

getName

public java.lang.String getName()

getOrientation

public Orientation getOrientation()

getSamplingInfo

public Sampling getSamplingInfo()

getEffectiveTime

public TimeRange getEffectiveTime()

getSite

public Site getSite()

getStation

public Station getStation()

getNetworkAttr

public NetworkAttr getNetworkAttr()

intern

public static Channel intern(Channel channel)

getBeginTime

public Time getBeginTime()

setBeginTime

public void setBeginTime(Time beginTime)

getEndTime

public Time getEndTime()

setEndTime

public void setEndTime(Time endTime)

setSite

public void setSite(Site site)

getId

public ChannelId getId()

setId

protected void setId(ChannelId id)

setName

public void setName(java.lang.String name)

setOrientation

public void setOrientation(Orientation orientation)

setSamplingInfo

public void setSamplingInfo(Sampling sampling_info)

setEffectiveTime

public void setEffectiveTime(TimeRange eff)