edu.iris.Fissures.IfNetwork
Class Site

java.lang.Object
  extended by edu.iris.Fissures.IfNetwork.Site
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 Site
extends java.lang.Object
implements org.omg.CORBA.portable.StreamableValue

Represents a seismic recording site. This is roughly equivalent to the location identifier in SEED. Channels from a single site should come frm the same location, but the converse is not required.

See Also:
Serialized Form

Field Summary
protected  java.lang.String comment
          Any additional comment for this site.
protected  TimeRange effective_time
          The effective time of this site.
protected  SiteId id
          The unique identifier of this site.
protected  Location my_location
          The location of this site.
 
Constructor Summary
Site()
           
 
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()
          Accesses the site code.
abstract  SiteId get_id()
          An accessor method for the private id.
 Time getBeginTime()
           
 java.lang.String getComment()
           
 TimeRange getEffectiveTime()
           
 Time getEndTime()
           
 SiteId getId()
           
 Location getLocation()
           
 Station getStation()
           
static Site intern(Site site)
           
static void intern(SiteId id)
           
protected  void setBeginTime(Time beginTime)
           
protected  void setComment(java.lang.String comment)
           
protected  void setEffectiveTime(TimeRange effective_time)
           
protected  void setEndTime(Time endTime)
           
protected  void setId(SiteId s)
           
protected  void setLocation(Location loc)
           
 void setStation(Station my_station)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected SiteId id
The unique identifier of this site.


my_location

protected Location my_location
The location of this site.


effective_time

protected TimeRange effective_time
The effective time of this site. The begin should be at or before any data was recorded by any channel within this site. If the site is still operating, then the end should be TIME_UNKNOWN as defined in IfConstants.idl.


comment

protected java.lang.String comment
Any additional comment for this site. The form of this is not specified, but it should be usable as a display for a person.

Constructor Detail

Site

public Site()
Method Detail

get_id

public abstract SiteId get_id()
An accessor method for the private id.


get_code

public abstract java.lang.String get_code()
Accesses the site code. This is equivalent to the SEED location identifier and to get_id().site_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

getId

public SiteId getId()

getLocation

public Location getLocation()

getEffectiveTime

public TimeRange getEffectiveTime()

getStation

public Station getStation()

getComment

public java.lang.String getComment()

intern

public static void intern(SiteId id)

intern

public static Site intern(Site site)

setId

protected void setId(SiteId s)

setLocation

protected void setLocation(Location loc)

setEffectiveTime

protected void setEffectiveTime(TimeRange effective_time)

setStation

public void setStation(Station my_station)

setComment

protected void setComment(java.lang.String comment)

getBeginTime

public Time getBeginTime()

setBeginTime

protected void setBeginTime(Time beginTime)

getEndTime

public Time getEndTime()

setEndTime

protected void setEndTime(Time endTime)