Class Grouping

java.lang.Object
org.audiveris.proxymusic.Grouping

public class Grouping extends Object
The grouping type is used for musical analysis. When the type attribute is "start" or "single", it usually contains one or more feature elements. The number attribute is used for distinguishing between overlapping and hierarchical groupings. The member-of attribute allows for easy distinguishing of what grouping elements are in what hierarchy. Feature elements contained within a "stop" type of grouping may be ignored. This element is flexible to allow for different types of analyses. Future versions of the MusicXML format may add elements that can represent more standardized categories of analysis data, allowing for easier data sharing.

Java class for grouping complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="grouping">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="feature" type="{}feature" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attGroup ref="{}optional-unique-id"/>
       <attribute name="type" use="required" type="{}start-stop-single" />
       <attribute name="number" type="{http://www.w3.org/2001/XMLSchema}token" default="1" />
       <attribute name="member-of" type="{http://www.w3.org/2001/XMLSchema}token" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Grouping

      public Grouping()
  • Method Details

    • getFeature

      public List<Feature> getFeature()
      Gets the value of the feature property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the feature property.

      For example, to add a new item, do as follows:

          getFeature().add(newItem);
       

      Objects of the following type(s) are allowed in the list Feature

    • getType

      public StartStopSingle getType()
      Gets the value of the type property.
      Returns:
      possible object is StartStopSingle
    • setType

      public void setType(StartStopSingle value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is StartStopSingle
    • getNumber

      public String getNumber()
      Gets the value of the number property.
      Returns:
      possible object is String
    • setNumber

      public void setNumber(String value)
      Sets the value of the number property.
      Parameters:
      value - allowed object is String
    • getMemberOf

      public String getMemberOf()
      Gets the value of the memberOf property.
      Returns:
      possible object is String
    • setMemberOf

      public void setMemberOf(String value)
      Sets the value of the memberOf property.
      Parameters:
      value - allowed object is String
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String