Package eu.bandm.tscore.model
Class TpTop
java.lang.Object
eu.bandm.tscore.model.Tp
eu.bandm.tscore.model.TpTop
- All Implemented Interfaces:
Formattable
,Cloneable
A time point corresponding to a text token in the "T"
line of the input score.
The text input corresponds to some time or duration indication system.
(This definition has been created by UMod from
the source at SYSTEM "tscore.umod":168.3-180.17, see this pretty
print.)-
Field Summary
Modifier and TypeFieldDescriptionprotected String
Text representation found on the "T" line.protected boolean
always false.protected int
always zero.Fields inherited from class eu.bandm.tscore.model.Tp
divisions, endingDivisions, location
-
Constructor Summary
ConstructorDescriptionTpTop()
TpTop
(eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> location, String absTime_text) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".Synthetic minimal constructor provided by the umod compiler. -
Method Summary
Modifier and TypeMethodDescriptiondoclone()
Clones this object.format()
Delivers a format object for pretty-printing by inheritance from some ancestor class.Text representation found on the "T" line.boolean
always false.int
always zero.Copies values of all common fields from the argument.boolean
set_absTime_text
(String val) Text representation found on the "T" line.boolean
set_defByEvent
(boolean val) always false.boolean
set_depth
(int val) always zero.toString()
Methods inherited from class eu.bandm.tscore.model.Tp
containsKey_divisions, containsKey_divisions, descend_divisions, descend_endingDivisions, get_divisions, get_endingDivisions, get_location, makeDivision, put_divisions, put_divisions, set_divisions, set_endingDivisions, set_location
-
Field Details
-
absTime_text
Text representation found on the "T" line.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":172.7-173.7, see this pretty print.)
The type of this field is java.lang.String(never null)
It is set by every possible constructor. -
defByEvent
protected boolean defByEventalways false.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":175.7-176.7, see this pretty print.)
The type of this field is boolean(never null)
Its value defaults tofalse
.- See Also:
-
depth
protected int depthalways zero.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":178.7-179.7, see this pretty print.)
The type of this field is int(never null)
Its value defaults to0
.- See Also:
-
-
Constructor Details
-
TpTop
public TpTop(eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> location, String absTime_text) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".- Parameters:
location
- is copied to fieldTp.location
absTime_text
- is copied to fieldabsTime_text
-
TpTop
Synthetic minimal constructor provided by the umod compiler.
Constructor with minimal set of arguments, supplied automatically by the umod compiler, not explicitly by user.- Parameters:
absTime_text
- is copied to fieldabsTime_text
-
TpTop
TpTop()
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented. -
format
Delivers a format object for pretty-printing by inheritance from some ancestor class.- Specified by:
format
in interfaceFormattable
- Overrides:
format
in classTp
- Returns:
- a format that represents this object in a pretty-printable way
-
toString
-
initFrom
Copies values of all common fields from the argument. All fields of this class definition are copied, iff the argument is of this class. Then the superclass method is invoked with the same argument. -
get_absTime_text
Text representation found on the "T" line.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":172.7-173.7, see this pretty print.)
Generated getter method. @see #absTime_text- Returns:
- The current field value of type java.lang.String(never null)
-
set_absTime_text
Text representation found on the "T" line.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":172.7-173.7, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of type java.lang.String(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_defByEvent
public boolean get_defByEvent()always false.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":175.7-176.7, see this pretty print.)
Generated getter method. @see #defByEvent- Overrides:
get_defByEvent
in classTp
- Returns:
- The current field value of type boolean(never null)
-
set_defByEvent
public boolean set_defByEvent(boolean val) always false.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":175.7-176.7, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of type boolean(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_depth
public int get_depth()always zero.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":178.7-179.7, see this pretty print.)
Generated getter method. @see #depth -
set_depth
public boolean set_depth(int val) always zero.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":178.7-179.7, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of type int(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-