public class Event extends Object implements Cloneable, Formattable
Modifier and Type | Field and Description |
---|---|
protected CheckedSet<EventSet> |
containedIn
All sets of events this event has been added to.
|
protected Location<XMLDocumentIdentifier> |
location
The text position of its external representations.
|
static String |
main_parameter_name |
protected CheckedMap_RD<String,CheckedList<CheckedPair_LR<Location<XMLDocumentIdentifier>,String>>> |
params
Central means for describing music: All parameters
this event can have, sorted
by their name.
|
protected Tp |
upto
The time point when it ends, if this is sensible.
|
protected Vox |
voice
The voice it belongs to.
|
protected Tp |
when
The time point when it happens, or begins.
|
static String |
when_parameter_name |
format
Constructor and Description |
---|
Event() |
Event(Location<XMLDocumentIdentifier> location,
Vox voice,
Tp when)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Modifier and Type | Method and Description |
---|---|
void |
add_params(String key0,
CheckedPair_LR<Location<XMLDocumentIdentifier>,String> value)
Convenience un-Currying method.
|
boolean |
containsKey_params(String key0)
Convenience un-Currying method.
|
void |
descend_containedIn(MATCH_ONLY_00 visitor) |
void |
descend_params(MATCH_ONLY_00 visitor) |
Event |
doclone()
Clones this object.
|
Format |
format()
Delivers a format object for pretty-printing by inheritance from some ancestor class.
|
CheckedSet<EventSet> |
get_containedIn()
All sets of events this event has been added to.
|
Location<XMLDocumentIdentifier> |
get_location()
The text position of its external representations.
|
CheckedMap_RD<String,CheckedList<CheckedPair_LR<Location<XMLDocumentIdentifier>,String>>> |
get_params()
Central means for describing music: All parameters
this event can have, sorted
by their name.
|
Tp |
get_upto()
The time point when it ends, if this is sensible.
|
Vox |
get_voice()
The voice it belongs to.
|
Tp |
get_when()
The time point when it happens, or begins.
|
Event |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
void |
put_params(String key0,
CheckedList<CheckedPair_LR<Location<XMLDocumentIdentifier>,String>> value)
Convenience un-Currying method.
|
boolean |
set_containedIn(CheckedSet<EventSet> val)
All sets of events this event has been added to.
|
boolean |
set_location(Location<XMLDocumentIdentifier> val)
The text position of its external representations.
|
boolean |
set_params(CheckedMap_RD<String,CheckedList<CheckedPair_LR<Location<XMLDocumentIdentifier>,String>>> val)
Central means for describing music: All parameters
this event can have, sorted
by their name.
|
boolean |
set_upto(Tp val)
The time point when it ends, if this is sensible.
|
boolean |
set_voice(Vox val)
The voice it belongs to.
|
boolean |
set_when(Tp val)
The time point when it happens, or begins.
|
public static final String main_parameter_name
public static final String when_parameter_name
protected Location<XMLDocumentIdentifier> location
Location
(never
null)protected Vox voice
Vox
(never null)get_voice()
,
set_voice(eu.bandm.tscore.model.Vox)
protected Tp when
Tp
(never null)get_when()
,
set_when(eu.bandm.tscore.model.Tp)
protected Tp upto
Tp
(maybe null)get_upto()
,
set_upto(eu.bandm.tscore.model.Tp)
protected CheckedSet<EventSet> containedIn
CheckedSet
<EventSet
(never
null)>(never null)protected CheckedMap_RD<String,CheckedList<CheckedPair_LR<Location<XMLDocumentIdentifier>,String>>> params
CheckedMap_RD
<java.lang.String(never
null),CheckedList
<CheckedPair_LR
<Location
(never
null),java.lang.String(never null)>(never
null)>(never null)>(never null)public Event(Location<XMLDocumentIdentifier> location, Vox voice, Tp when)
Event()
public Event doclone()
Cloneable
is known to
be implemented.public Format format()
format
in interface Formattable
public Event initFrom(Object o0)
public Location<XMLDocumentIdentifier> get_location()
Location
(never null)public boolean set_location(Location<XMLDocumentIdentifier> val)
public Vox get_voice()
Vox
(never null)public boolean set_voice(Vox val)
public Tp get_when()
Tp
(never null)public boolean set_when(Tp val)
public Tp get_upto()
Tp
(maybe null)public boolean set_upto(Tp val)
public CheckedSet<EventSet> get_containedIn()
CheckedSet
<EventSet
(never
null)>(never null)public boolean set_containedIn(CheckedSet<EventSet> val)
val
- the new value of type CheckedSet
<EventSet
(never
null)>(never null)containedIn
public void descend_containedIn(MATCH_ONLY_00 visitor)
public CheckedMap_RD<String,CheckedList<CheckedPair_LR<Location<XMLDocumentIdentifier>,String>>> get_params()
CheckedMap_RD
<java.lang.String(never
null),CheckedList
<CheckedPair_LR
<Location
(never
null),java.lang.String(never null)>(never
null)>(never null)>(never null)public boolean set_params(CheckedMap_RD<String,CheckedList<CheckedPair_LR<Location<XMLDocumentIdentifier>,String>>> val)
val
- the new value of type CheckedMap_RD
<java.lang.String(never
null),CheckedList
<CheckedPair_LR
<Location
(never
null),java.lang.String(never null)>(never
null)>(never null)>(never null)params
public void put_params(String key0, CheckedList<CheckedPair_LR<Location<XMLDocumentIdentifier>,String>> value)
val
- the new value of type CheckedList
<CheckedPair_LR
<Location
(never
null),java.lang.String(never null)>(never
null)>(never null)params
public void add_params(String key0, CheckedPair_LR<Location<XMLDocumentIdentifier>,String> value)
val
- the new value of type CheckedPair_LR
<Location
(never
null),java.lang.String(never null)>(never
null)params
public boolean containsKey_params(String key0)
params
public void descend_params(MATCH_ONLY_00 visitor)