|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.iris.Fissures.IfNetwork.Channel
edu.iris.Fissures.network.ChannelImpl
public class ChannelImpl
| Field Summary | |
|---|---|
protected int |
dbid
|
| Fields inherited from class edu.iris.Fissures.IfNetwork.Channel |
|---|
id |
| Constructor Summary | |
|---|---|
protected |
ChannelImpl()
for hibernate |
|
ChannelImpl(ChannelId id,
java.lang.String name,
Orientation an_orientation,
Sampling sampling_info,
TimeRange effective_time,
Site my_site)
|
|
ChannelImpl(ChannelId id,
java.lang.String name,
Orientation an_orientation,
Sampling sampling_info,
TimeRange effective_time,
Site my_site,
int dbid)
|
| Method Summary | |
|---|---|
void |
associateInDB(ChannelImpl indb)
|
static ChannelImpl |
createEmpty()
Only for use for CORBA object serialization. |
java.lang.String |
get_code()
|
ChannelId |
get_id()
|
static int |
getAzimuth(java.lang.String chanCode)
Calculates a default azimuth based on the orientation code, 0 for Z and N, 90 for E, -1 otherwise |
int |
getDbid()
|
static int |
getDip(java.lang.String chanCode)
Calculates a default dip based on the orientation code, -90 for Z, 0 for N and E, -1 otherwise |
NetworkAttrImpl |
getNetworkAttrImpl()
Same as getNetworkAttr(), but returns a NetworkAttrImpl to avoid casting. |
SiteImpl |
getSiteImpl()
Same as getSite(), but returns a SiteImpl to avoid casting. |
StationImpl |
getStationImpl()
Same as getStation(), but returns a StationImpl to avoid casting. |
static ChannelImpl[] |
implize(Channel[] chan)
|
protected void |
setDbid(int dbid)
|
java.lang.String |
toString()
|
| Methods inherited from class edu.iris.Fissures.IfNetwork.Channel |
|---|
_read, _truncatable_ids, _type, _write, getBeginTime, getEffectiveTime, getEndTime, getId, getName, getNetworkAttr, getOrientation, getSamplingInfo, getSite, getStation, intern, setBeginTime, setEffectiveTime, setEndTime, setId, setName, setOrientation, setSamplingInfo, setSite |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int dbid
| Constructor Detail |
|---|
public ChannelImpl(ChannelId id,
java.lang.String name,
Orientation an_orientation,
Sampling sampling_info,
TimeRange effective_time,
Site my_site)
public ChannelImpl(ChannelId id,
java.lang.String name,
Orientation an_orientation,
Sampling sampling_info,
TimeRange effective_time,
Site my_site,
int dbid)
protected ChannelImpl()
| Method Detail |
|---|
public static ChannelImpl createEmpty()
public ChannelId get_id()
get_id in class Channelpublic java.lang.String get_code()
get_code in class Channelpublic NetworkAttrImpl getNetworkAttrImpl()
public StationImpl getStationImpl()
public SiteImpl getSiteImpl()
public static int getAzimuth(java.lang.String chanCode)
orientationCode -
public static int getDip(java.lang.String chanCode)
orientationCode -
protected void setDbid(int dbid)
public int getDbid()
public void associateInDB(ChannelImpl indb)
public static ChannelImpl[] implize(Channel[] chan)
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||