Package eu.bandm.tscore.model
Class Part
java.lang.Object
eu.bandm.tscore.model.Container
eu.bandm.tscore.model.Part
- All Implemented Interfaces:
Formattable
,Cloneable
Part of a time scape = of a parsed source text file.
(This definition has been created by UMod from
the source at SYSTEM "tscore.umod":50.3-65.7, see this pretty
print.)-
Field Summary
Modifier and TypeFieldDescriptionprotected TimeScape
The score this part is part of.protected eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier>
The text position of its external representations.protected String
The name of the part (eg.static final String
protected CheckedList<CheckedList<TpTop>>
The input lines starting with "T" and giving the top time points.Fields inherited from class eu.bandm.tscore.model.Container
conform, timelesslist, voices, voicesBySource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
descend_tlines
(MATCH_ONLY_00 visitor) Deprecated.doclone()
Clones this object.format()
Delivers a format object for pretty-printing by inheritance from some ancestor class.The score this part is part of.eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier>
The text position of its external representations.get_name()
The name of the part (eg.The input lines starting with "T" and giving the top time points.Copies values of all common fields from the argument.boolean
set_context
(Container val) The score this part is part of.boolean
set_location
(eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> val) The text position of its external representations.boolean
The name of the part (eg.boolean
set_tlines
(CheckedList<CheckedList<TpTop>> val) The input lines starting with "T" and giving the top time points.Methods inherited from class eu.bandm.tscore.model.Container
containsKey_voices, descend_timelesslist, descend_voices, descend_voicesBySource, get_conform, get_timelesslist, get_voices, get_voicesBySource, put_voices, set_conform, set_timelesslist, set_voices, set_voicesBySource
-
Field Details
-
timeline_pseudo_voice
- See Also:
-
context
The score this part is part of.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":53.7-54.7, see this pretty print.)
The type of this field isTimeScape
(never null)
It is set by every possible constructor. -
location
protected eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> locationThe text position of its external representations.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":56.7-57.7, see this pretty print.)
The type of this field isLocation
(never null)
It is set by every possible constructor. -
name
The name of the part (eg. as written in the score file).(This definition has been created by UMod from the source at SYSTEM "tscore.umod":59.7-60.7, see this pretty print.)
The type of this field is java.lang.String(never null)
It is set by every possible constructor.- See Also:
-
tlines
The input lines starting with "T" and giving the top time points.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":62.7-63.7, see this pretty print.)
The type of this field isCheckedList
<CheckedList
<TpTop
(never null)>(never null)>(never null)
Its value defaults to an empty collection.
-
-
Constructor Details
-
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 classContainer
- Returns:
- a format that represents this object in a pretty-printable way
-
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_context
The score this part is part of.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":53.7-54.7, see this pretty print.)
Generated getter method. @see #context- Overrides:
get_context
in classContainer
- Returns:
- The current field value of type
TimeScape
(never null)
-
set_context
The score this part is part of.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":53.7-54.7, see this pretty print.)
Updates the (mutable) instance destructively. -
get_location
public eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> get_location()The text position of its external representations.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":56.7-57.7, see this pretty print.)
Generated getter method. @see #location- Returns:
- The current field value of type
Location
(never null)
-
set_location
public boolean set_location(eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> val) The text position of its external representations.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":56.7-57.7, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeLocation
(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_name
The name of the part (eg. as written in the score file).(This definition has been created by UMod from the source at SYSTEM "tscore.umod":59.7-60.7, see this pretty print.)
Generated getter method. @see #name- Returns:
- The current field value of type java.lang.String(never null)
-
set_name
The name of the part (eg. as written in the score file).(This definition has been created by UMod from the source at SYSTEM "tscore.umod":59.7-60.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_tlines
The input lines starting with "T" and giving the top time points.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":62.7-63.7, see this pretty print.)
Generated getter method. @see #tlines- Returns:
- The current field value of type
CheckedList
<CheckedList
<TpTop
(never null)>(never null)>(never null)
-
set_tlines
The input lines starting with "T" and giving the top time points.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":62.7-63.7, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedList
<CheckedList
<TpTop
(never null)>(never null)>(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
descend_tlines
Deprecated.
-