edu.iris.Fissures.event
Class OriginImpl

java.lang.Object
  extended by edu.iris.Fissures.IfEvent.Origin
      extended by edu.iris.Fissures.event.OriginImpl
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 class OriginImpl
extends edu.iris.Fissures.IfEvent.Origin

See Also:
Serialized Form

Field Summary
protected  java.util.List hibernateMagList
           
 
Fields inherited from class edu.iris.Fissures.IfEvent.Origin
catalog, contributor, id, magnitudes, my_location, origin_time, parm_ids
 
Constructor Summary
protected OriginImpl()
           
  OriginImpl(java.lang.String id, java.lang.String catalog, java.lang.String contributor, edu.iris.Fissures.Time origin_time, edu.iris.Fissures.Location my_location, edu.iris.Fissures.IfEvent.Magnitude[] magnitudes, edu.iris.Fissures.IfParameterMgr.ParameterRef[] parm_ids)
           
 
Method Summary
 boolean close(OriginImpl oOrigin)
          does an equals, except origin times within 1 millisecond are judged to be the same.
static OriginImpl createEmpty()
          Only for use for CORBA object serialization.
 boolean equals(java.lang.Object o)
           
 boolean equalsExceptTime(OriginImpl oOrigin)
           
 java.lang.String get_id()
           
 int getDbid()
           
 edu.iris.Fissures.Time getFissuresTime()
           
 java.util.List getMagnitudeList()
           
 MicroSecondDate getTime()
           
 int hashCode()
           
protected  void set_id(java.lang.String id)
           
protected  void setDbid(int dbid)
           
protected  void setMagnitudeList(java.util.List list)
           
 
Methods inherited from class edu.iris.Fissures.IfEvent.Origin
_read, _truncatable_ids, _type, _write, getCatalog, getContributor, getLocation, getMagnitudes, getOriginTime, getParmIds, setCatalog, setContributor, setLocation, setMagnitudes, setOriginTime, setParmIds
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hibernateMagList

protected java.util.List hibernateMagList
Constructor Detail

OriginImpl

protected OriginImpl()

OriginImpl

public OriginImpl(java.lang.String id,
                  java.lang.String catalog,
                  java.lang.String contributor,
                  edu.iris.Fissures.Time origin_time,
                  edu.iris.Fissures.Location my_location,
                  edu.iris.Fissures.IfEvent.Magnitude[] magnitudes,
                  edu.iris.Fissures.IfParameterMgr.ParameterRef[] parm_ids)
Method Detail

createEmpty

public static OriginImpl createEmpty()
Only for use for CORBA object serialization.


get_id

public java.lang.String get_id()
Specified by:
get_id in class edu.iris.Fissures.IfEvent.Origin

equals

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

equalsExceptTime

public boolean equalsExceptTime(OriginImpl oOrigin)

close

public boolean close(OriginImpl oOrigin)
does an equals, except origin times within 1 millisecond are judged to be the same.


hashCode

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

getFissuresTime

public edu.iris.Fissures.Time getFissuresTime()

getTime

public MicroSecondDate getTime()

setDbid

protected void setDbid(int dbid)

getDbid

public int getDbid()

set_id

protected void set_id(java.lang.String id)

getMagnitudeList

public java.util.List getMagnitudeList()

setMagnitudeList

protected void setMagnitudeList(java.util.List list)