edu.sc.seis.sod.velocity.network
Class VelocityNetwork
java.lang.Object
edu.iris.Fissures.IfNetwork.NetworkAttr
edu.sc.seis.sod.velocity.network.VelocityNetwork
- 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 VelocityNetwork
- extends NetworkAttr
- See Also:
- Serialized Form
Fields inherited from class edu.iris.Fissures.IfNetwork.NetworkAttr |
id |
Methods inherited from class edu.iris.Fissures.IfNetwork.NetworkAttr |
_read, _truncatable_ids, _type, _write, getBeginTime, getDescription, getEffectiveTime, getEndTime, getId, getOwner, intern, intern, intern, intern, intern, setBeginTime, setDescription, setEffectiveTime, setEndTime, setId, setName, setOwner |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
VelocityNetwork
public VelocityNetwork(NetworkAttrImpl net)
- Creates a VelocityNetwork with no stations. Will throw
UnsupportedOperationException if getStations is called
VelocityNetwork
public VelocityNetwork(java.util.List<VelocityStation> stations)
VelocityNetwork
public VelocityNetwork(NetworkAttrImpl net,
java.util.List<VelocityStation> stations)
getWrapped
public NetworkAttrImpl getWrapped()
get_id
public NetworkId get_id()
- Specified by:
get_id
in class NetworkAttr
get_code
public java.lang.String get_code()
- Specified by:
get_code
in class NetworkAttr
getCode
public java.lang.String getCode()
getCodeWithYear
public java.lang.String getCodeWithYear()
getName
public java.lang.String getName()
- Overrides:
getName
in class NetworkAttr
getRawName
public java.lang.String getRawName()
getRawBeginDate
public java.lang.String getRawBeginDate()
getRawBeginLeapSeconds
public java.lang.String getRawBeginLeapSeconds()
getStart
public MicroSecondDate getStart()
getStart
public java.lang.String getStart(java.lang.String format)
getStartDate
public MicroSecondDate getStartDate()
- Deprecated. - use getStart instead
getEnd
public MicroSecondDate getEnd()
getEnd
public java.lang.String getEnd(java.lang.String format)
getEndDate
public MicroSecondDate getEndDate()
- Deprecated. use getEnd instead
getEntityRefName
public java.lang.String getEntityRefName()
- just like getName except special characters for xml are made into entity
references. This just replaces the main ones: amp, lt, gt, apos, quot.
getStations
public java.util.List<VelocityStation> getStations()
getDbid
public int getDbid()
getDbId
public int getDbId()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
insertIntoContext
public void insertIntoContext(org.apache.velocity.VelocityContext ctx)
wrap
public static VelocityNetwork wrap(NetworkAttr net)