public class EventSet extends Object implements Cloneable, Formattable
Modifier and Type | Field and Description |
---|---|
protected CheckedList<Event> |
constructionSequence
The sequential order in which the events have been
added.
|
protected String |
endText
The external representation of the "right" end of
the event set, if sensible.
|
protected CheckedSet<Event> |
events
All events contained herein.
|
protected Boolean |
hasgaps
Wether the set is continguous or has gaps.
|
protected String |
name
Name of the sevent set, to identify it.
|
protected Boolean |
overlapping
Wether the set is "monodic" or at least two events
overlap.
|
protected String |
startText
The external representation of the "left" end of the
event set, if sensible.
|
protected CheckedSet<Vox> |
voices
All voices events of which appear in the set.
|
format
Constructor and Description |
---|
EventSet() |
EventSet(String name)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
EventSet(String name,
String startText)
Constructor generated according to specification #1
Constructor defined according to directive "C 1/..". |
Modifier and Type | Method and Description |
---|---|
void |
add(Event ev) |
void |
descend_constructionSequence(MATCH_ONLY_00 visitor) |
void |
descend_events(MATCH_ONLY_00 visitor) |
void |
descend_voices(MATCH_ONLY_00 visitor) |
EventSet |
doclone()
Clones this object.
|
Format |
format()
Delivers a format object for pretty-printing by inheritance from some ancestor class.
|
CheckedList<Event> |
get_constructionSequence()
The sequential order in which the events have been
added.
|
String |
get_endText()
The external representation of the "right" end of
the event set, if sensible.
|
CheckedSet<Event> |
get_events()
All events contained herein.
|
Boolean |
get_hasgaps()
Wether the set is continguous or has gaps.
|
String |
get_name()
Name of the sevent set, to identify it.
|
Boolean |
get_overlapping()
Wether the set is "monodic" or at least two events
overlap.
|
String |
get_startText()
The external representation of the "left" end of the
event set, if sensible.
|
CheckedSet<Vox> |
get_voices()
All voices events of which appear in the set.
|
EventSet |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
boolean |
set_constructionSequence(CheckedList<Event> val)
The sequential order in which the events have been
added.
|
boolean |
set_endText(String val)
The external representation of the "right" end of
the event set, if sensible.
|
boolean |
set_events(CheckedSet<Event> val)
All events contained herein.
|
boolean |
set_hasgaps(Boolean val)
Wether the set is continguous or has gaps.
|
boolean |
set_name(String val)
Name of the sevent set, to identify it.
|
boolean |
set_overlapping(Boolean val)
Wether the set is "monodic" or at least two events
overlap.
|
boolean |
set_startText(String val)
The external representation of the "left" end of the
event set, if sensible.
|
boolean |
set_voices(CheckedSet<Vox> val)
All voices events of which appear in the set.
|
protected String name
get_name()
,
set_name(java.lang.String)
protected CheckedSet<Event> events
CheckedSet
<Event
(never
null)>(never null)protected String startText
get_startText()
,
set_startText(java.lang.String)
protected String endText
get_endText()
,
set_endText(java.lang.String)
protected CheckedList<Event> constructionSequence
CheckedList
<Event
(never
null)>(never null)protected Boolean overlapping
protected Boolean hasgaps
get_hasgaps()
,
set_hasgaps(java.lang.Boolean)
protected CheckedSet<Vox> voices
CheckedSet
<Vox
(never
null)>(maybe null)public EventSet(String name)
name
- is copied to field name
public EventSet(String name, String startText)
EventSet()
public EventSet doclone()
Cloneable
is known to
be implemented.public Format format()
format
in interface Formattable
public void add(Event ev)
public EventSet initFrom(Object o0)
public String get_name()
public boolean set_name(String val)
val
- the new value of type java.lang.String(never null)name
public CheckedSet<Event> get_events()
CheckedSet
<Event
(never
null)>(never null)public boolean set_events(CheckedSet<Event> val)
val
- the new value of type CheckedSet
<Event
(never
null)>(never null)events
public void descend_events(MATCH_ONLY_00 visitor)
public String get_startText()
public boolean set_startText(String val)
val
- the new value of type java.lang.String(maybe null)startText
public String get_endText()
public boolean set_endText(String val)
val
- the new value of type java.lang.String(maybe null)endText
public CheckedList<Event> get_constructionSequence()
CheckedList
<Event
(never
null)>(never null)public boolean set_constructionSequence(CheckedList<Event> val)
val
- the new value of type CheckedList
<Event
(never
null)>(never null)constructionSequence
public void descend_constructionSequence(MATCH_ONLY_00 visitor)
public Boolean get_overlapping()
public boolean set_overlapping(Boolean val)
val
- the new value of type java.lang.Boolean(maybe null)overlapping
public Boolean get_hasgaps()
public boolean set_hasgaps(Boolean val)
val
- the new value of type java.lang.Boolean(maybe null)hasgaps
public CheckedSet<Vox> get_voices()
CheckedSet
<Vox
(never
null)>(maybe null)public boolean set_voices(CheckedSet<Vox> val)
val
- the new value of type CheckedSet
<Vox
(never
null)>(maybe null)voices
public void descend_voices(MATCH_ONLY_00 visitor)