Package 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:
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 edu.iris.Fissures.IfNetwork.NetworkAttr
- See Also:
-
Field Summary
Fields inherited from class edu.iris.Fissures.IfNetwork.NetworkAttr
id
-
Constructor Summary
ConstructorsConstructorDescriptionVelocityNetwork
(edu.iris.Fissures.network.NetworkAttrImpl net) Creates a VelocityNetwork with no stations.VelocityNetwork
(edu.iris.Fissures.network.NetworkAttrImpl net, List<VelocityStation> stations) VelocityNetwork
(List<VelocityStation> stations) -
Method Summary
Modifier and TypeMethodDescriptionget_code()
edu.iris.Fissures.IfNetwork.NetworkId
get_id()
getCode()
int
getDbid()
int
getDbId()
edu.iris.Fissures.model.MicroSecondDate
getEnd()
edu.iris.Fissures.model.MicroSecondDate
Deprecated.use getEnd insteadjust like getName except special characters for xml are made into entity references.getName()
edu.iris.Fissures.model.MicroSecondDate
getStart()
edu.iris.Fissures.model.MicroSecondDate
Deprecated.- use getStart insteadedu.iris.Fissures.network.NetworkAttrImpl
void
insertIntoContext
(org.apache.velocity.VelocityContext ctx) toString()
static VelocityNetwork
wrap
(edu.iris.Fissures.IfNetwork.NetworkAttr net) 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
-
Constructor Details
-
VelocityNetwork
public VelocityNetwork(edu.iris.Fissures.network.NetworkAttrImpl net) Creates a VelocityNetwork with no stations. Will throw UnsupportedOperationException if getStations is called -
VelocityNetwork
-
VelocityNetwork
public VelocityNetwork(edu.iris.Fissures.network.NetworkAttrImpl net, List<VelocityStation> stations)
-
-
Method Details
-
getWrapped
public edu.iris.Fissures.network.NetworkAttrImpl getWrapped() -
get_id
public edu.iris.Fissures.IfNetwork.NetworkId get_id()- Specified by:
get_id
in classedu.iris.Fissures.IfNetwork.NetworkAttr
-
get_code
- Specified by:
get_code
in classedu.iris.Fissures.IfNetwork.NetworkAttr
-
getCode
-
getCodeWithYear
-
getName
- Overrides:
getName
in classedu.iris.Fissures.IfNetwork.NetworkAttr
-
getRawName
-
getRawBeginDate
-
getRawBeginLeapSeconds
-
getStart
public edu.iris.Fissures.model.MicroSecondDate getStart() -
getStart
-
getStartDate
public edu.iris.Fissures.model.MicroSecondDate getStartDate()Deprecated.- use getStart instead -
getEnd
public edu.iris.Fissures.model.MicroSecondDate getEnd() -
getEnd
-
getEndDate
public edu.iris.Fissures.model.MicroSecondDate getEndDate()Deprecated.use getEnd instead -
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
-
getDbid
public int getDbid() -
getDbId
public int getDbId() -
toString
-
insertIntoContext
public void insertIntoContext(org.apache.velocity.VelocityContext ctx) -
wrap
-