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:
  • 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

      public VelocityNetwork(List<VelocityStation> stations)
    • 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 class edu.iris.Fissures.IfNetwork.NetworkAttr
    • get_code

      public String get_code()
      Specified by:
      get_code in class edu.iris.Fissures.IfNetwork.NetworkAttr
    • getCode

      public String getCode()
    • getCodeWithYear

      public String getCodeWithYear()
    • getName

      public String getName()
      Overrides:
      getName in class edu.iris.Fissures.IfNetwork.NetworkAttr
    • getRawName

      public String getRawName()
    • getRawBeginDate

      public String getRawBeginDate()
    • getRawBeginLeapSeconds

      public String getRawBeginLeapSeconds()
    • getStart

      public edu.iris.Fissures.model.MicroSecondDate getStart()
    • getStart

      public String getStart(String format)
    • getStartDate

      public edu.iris.Fissures.model.MicroSecondDate getStartDate()
      Deprecated.
      - use getStart instead
    • getEnd

      public edu.iris.Fissures.model.MicroSecondDate getEnd()
    • getEnd

      public String getEnd(String format)
    • getEndDate

      public edu.iris.Fissures.model.MicroSecondDate getEndDate()
      Deprecated.
      use getEnd instead
    • getEntityRefName

      public 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 List<VelocityStation> getStations()
    • getDbid

      public int getDbid()
    • getDbId

      public int getDbId()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • insertIntoContext

      public void insertIntoContext(org.apache.velocity.VelocityContext ctx)
    • wrap

      public static VelocityNetwork wrap(edu.iris.Fissures.IfNetwork.NetworkAttr net)