|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTSOpts
TSData
TSTrf
class TSTrf
.
====================================================================== Class TSTrf -- Definition einer Traffic-Definition fuer Activities ##TSTrf (Eyecatcher) ======================================================================
Field Summary | |
---|---|
private int |
Cnt
|
private java.lang.String |
FNme
|
protected static java.lang.String |
IdStr
|
private java.lang.String |
Name
|
private java.util.ArrayList<TSXtSrv> |
Serv
|
private long |
State
|
Constructor Summary | |
---|---|
protected |
TSTrf()
. |
protected |
TSTrf(java.lang.String fn,
java.io.File dat)
. |
Method Summary | |
---|---|
protected java.lang.String |
chgNme(java.lang.String w)
. |
protected long |
chkDate(long vDate)
. |
protected java.util.ArrayList<TSStStp> |
fndSrv(java.lang.String nme)
. |
protected java.lang.String |
getName(boolean mde)
. |
protected java.util.ArrayList<TSXtSrv> |
getSrv(int c)
. |
protected int |
incCnt(int inc)
. |
protected java.lang.String |
toStr()
. |
Methods inherited from class TSData |
---|
addDta, addObj, cr$Obj, get$Obj, getDta, getDta, getFlt, getInt, getInt, getObj, getOpt, getQue, setDta, setDta, setFlt, setInt, setInt, setObj |
Methods inherited from class TSOpts |
---|
$init, chkMsk, chkMsk, clrMsk, clrMsk, cntMsk, cntMsk, fndMsk, getMsk, orMsk, orMsk, prtMsk, resMsk, setMsk, setMsk, tstMsk |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String IdStr
private java.lang.String FNme
private java.lang.String Name
private long State
private int Cnt
private java.util.ArrayList<TSXtSrv> Serv
Constructor Detail |
---|
protected TSTrf()
Used options (stored within mask of 'TSOpt'): 0 - entry 'Serial' was found, processed and stored 1 - 2 - 3 to 15 - not used 16 - Severe error found within 'Traffic-Definition' 17 - Error found within a connected service-definition 18 - Error within 'StationStop'-assignment of traffic-definition 19 - Service-table was resorted due to 'Start-Time' 20 - 31 - reserved for temporary usage Index-Definitions from 'TSData' (. ): 0.xx(S) - (Queue) not used 1.00(I) - Serial-Number of Traffic ===================================================================== Constructor: (1) Create Default-Entry =====================================================================
protected TSTrf(java.lang.String fn, java.io.File dat)
===================================================================== Constructor: (2) Create Standard-Entry =====================================================================
Method Detail |
---|
protected java.lang.String chgNme(java.lang.String w)
===================================================================== Methode "chgNme" neuen aktuellen Namen/File-Namen liefern oder aendern wenn w==null: liefern aktuellen Namen (information-Hiding) ##chgNme.TSTrf (Eyecatcher) =====================================================================
protected final long chkDate(long vDate)
===================================================================== Method "chkDate" Compare File-Date to stored one. Return stored date if greater(newer) Return marker (negative-value or 0) otherwise ##chkDate.TSTrf (Eyecatcher) =====================================================================
protected java.lang.String getName(boolean mde)
===================================================================== Method "getName" Returns current file-name of the object If argument equals 'false' the file-name is returned modified to be used as a key (lowerCase and without suffix) ##getName.TSTrf (Eyecatcher) =====================================================================
protected final java.util.ArrayList<TSStStp> fndSrv(java.lang.String nme)
===================================================================== Method "fndSrv" Find special service within list of all service-definitions. Return list of StationStops of service if found. ##fndSrv.TSTrf (Eyecatcher) =====================================================================
protected java.util.ArrayList<TSXtSrv> getSrv(int c)
===================================================================== Method "getSrv" Get current list of (extended) service-definitions. Create it, if neccessary. If the argumnent ('c') specifies a positive value (c>0) an new table is created and inserted. A potentially existing table is overwritten in this case. ##getSrv.TSTrf (Eyecatcher) =====================================================================
protected final int incCnt(int inc)
===================================================================== Method "incCnt" Increment reference-counter (using argument'0', reference-counter may be returned only) ##incCnt.TSTrf (Eyecatcher) =====================================================================
protected final java.lang.String toStr()
===================================================================== Method "toStr" Build a string-representation of all values of this class ##toStr.TSTrf (Eyecatcher) =====================================================================
toStr
in class TSData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |