//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.07.24 at 11:42:28 PM CEST
//
package eu.prestoprime.model.ext.qa;
import java.io.Serializable;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* <p>
* Java class for MelodySequenceType complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="MelodySequenceType">
* <complexContent>
* <extension base="{urn:mpeg:mpeg7:schema:2004}AudioDSType">
* <sequence>
* <element name="StartingNote" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="StartingFrequency" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
* <element name="StartingPitch" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="PitchNote">
* <complexType>
* <simpleContent>
* <extension base="<urn:mpeg:mpeg7:schema:2004>degreeNoteType">
* <attribute name="display" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="accidental" type="{urn:mpeg:mpeg7:schema:2004}degreeAccidentalType" default="natural" />
* <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}integer" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="NoteArray" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <extension base="{urn:mpeg:mpeg7:schema:2004}AudioDSType">
* <sequence>
* <element name="Note" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Interval" type="{http://www.w3.org/2001/XMLSchema}float"/>
* <element name="NoteRelDuration" type="{http://www.w3.org/2001/XMLSchema}float"/>
* <element name="Lyric" type="{urn:mpeg:mpeg7:schema:2004}TextualType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MelodySequenceType", propOrder = { "startingNote", "noteArray" })
public class MelodySequenceType extends AudioDSType implements Serializable {
private final static long serialVersionUID = 1L;
@XmlElement(name = "StartingNote")
protected MelodySequenceType.StartingNote startingNote;
@XmlElement(name = "NoteArray", required = true)
protected List<MelodySequenceType.NoteArray> noteArray;
/**
* Gets the value of the startingNote property.
*
* @return possible object is {@link MelodySequenceType.StartingNote }
*
*/
public MelodySequenceType.StartingNote getStartingNote() {
return startingNote;
}
/**
* Sets the value of the startingNote property.
*
* @param value
* allowed object is {@link MelodySequenceType.StartingNote }
*
*/
public void setStartingNote(MelodySequenceType.StartingNote value) {
this.startingNote = value;
}
/**
* Gets the value of the noteArray property.
*
* <p>
* 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
* <CODE>set</CODE> method for the noteArray property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getNoteArray().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link MelodySequenceType.NoteArray }
*
*
*/
public List<MelodySequenceType.NoteArray> getNoteArray() {
if (noteArray == null) {
noteArray = new ArrayList<MelodySequenceType.NoteArray>();
}
return this.noteArray;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <extension base="{urn:mpeg:mpeg7:schema:2004}AudioDSType">
* <sequence>
* <element name="Note" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Interval" type="{http://www.w3.org/2001/XMLSchema}float"/>
* <element name="NoteRelDuration" type="{http://www.w3.org/2001/XMLSchema}float"/>
* <element name="Lyric" type="{urn:mpeg:mpeg7:schema:2004}TextualType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "note" })
public static class NoteArray extends AudioDSType implements Serializable {
private final static long serialVersionUID = 1L;
@XmlElement(name = "Note", required = true)
protected List<MelodySequenceType.NoteArray.Note> note;
/**
* Gets the value of the note property.
*
* <p>
* 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
* <CODE>set</CODE> method for the note property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getNote().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link MelodySequenceType.NoteArray.Note }
*
*
*/
public List<MelodySequenceType.NoteArray.Note> getNote() {
if (note == null) {
note = new ArrayList<MelodySequenceType.NoteArray.Note>();
}
return this.note;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content
* contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Interval" type="{http://www.w3.org/2001/XMLSchema}float"/>
* <element name="NoteRelDuration" type="{http://www.w3.org/2001/XMLSchema}float"/>
* <element name="Lyric" type="{urn:mpeg:mpeg7:schema:2004}TextualType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "interval", "noteRelDuration", "lyric" })
public static class Note implements Serializable {
private final static long serialVersionUID = 1L;
@XmlElement(name = "Interval")
protected float interval;
@XmlElement(name = "NoteRelDuration")
protected float noteRelDuration;
@XmlElement(name = "Lyric")
protected TextualType lyric;
/**
* Gets the value of the interval property.
*
*/
public float getInterval() {
return interval;
}
/**
* Sets the value of the interval property.
*
*/
public void setInterval(float value) {
this.interval = value;
}
/**
* Gets the value of the noteRelDuration property.
*
*/
public float getNoteRelDuration() {
return noteRelDuration;
}
/**
* Sets the value of the noteRelDuration property.
*
*/
public void setNoteRelDuration(float value) {
this.noteRelDuration = value;
}
/**
* Gets the value of the lyric property.
*
* @return possible object is {@link TextualType }
*
*/
public TextualType getLyric() {
return lyric;
}
/**
* Sets the value of the lyric property.
*
* @param value
* allowed object is {@link TextualType }
*
*/
public void setLyric(TextualType value) {
this.lyric = value;
}
}
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="StartingFrequency" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
* <element name="StartingPitch" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="PitchNote">
* <complexType>
* <simpleContent>
* <extension base="<urn:mpeg:mpeg7:schema:2004>degreeNoteType">
* <attribute name="display" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="accidental" type="{urn:mpeg:mpeg7:schema:2004}degreeAccidentalType" default="natural" />
* <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}integer" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "startingFrequency", "startingPitch" })
public static class StartingNote implements Serializable {
private final static long serialVersionUID = 1L;
@XmlElement(name = "StartingFrequency")
protected Float startingFrequency;
@XmlElement(name = "StartingPitch")
protected MelodySequenceType.StartingNote.StartingPitch startingPitch;
/**
* Gets the value of the startingFrequency property.
*
* @return possible object is {@link Float }
*
*/
public Float getStartingFrequency() {
return startingFrequency;
}
/**
* Sets the value of the startingFrequency property.
*
* @param value
* allowed object is {@link Float }
*
*/
public void setStartingFrequency(Float value) {
this.startingFrequency = value;
}
/**
* Gets the value of the startingPitch property.
*
* @return possible object is
* {@link MelodySequenceType.StartingNote.StartingPitch }
*
*/
public MelodySequenceType.StartingNote.StartingPitch getStartingPitch() {
return startingPitch;
}
/**
* Sets the value of the startingPitch property.
*
* @param value
* allowed object is
* {@link MelodySequenceType.StartingNote.StartingPitch }
*
*/
public void setStartingPitch(MelodySequenceType.StartingNote.StartingPitch value) {
this.startingPitch = value;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content
* contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="PitchNote">
* <complexType>
* <simpleContent>
* <extension base="<urn:mpeg:mpeg7:schema:2004>degreeNoteType">
* <attribute name="display" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="accidental" type="{urn:mpeg:mpeg7:schema:2004}degreeAccidentalType" default="natural" />
* <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}integer" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "pitchNote" })
public static class StartingPitch implements Serializable {
private final static long serialVersionUID = 1L;
@XmlElement(name = "PitchNote", required = true)
protected MelodySequenceType.StartingNote.StartingPitch.PitchNote pitchNote;
@XmlAttribute(name = "accidental")
protected DegreeAccidentalType accidental;
@XmlAttribute(name = "height")
protected BigInteger height;
/**
* Gets the value of the pitchNote property.
*
* @return possible object is
* {@link MelodySequenceType.StartingNote.StartingPitch.PitchNote }
*
*/
public MelodySequenceType.StartingNote.StartingPitch.PitchNote getPitchNote() {
return pitchNote;
}
/**
* Sets the value of the pitchNote property.
*
* @param value
* allowed object is
* {@link MelodySequenceType.StartingNote.StartingPitch.PitchNote }
*
*/
public void setPitchNote(MelodySequenceType.StartingNote.StartingPitch.PitchNote value) {
this.pitchNote = value;
}
/**
* Gets the value of the accidental property.
*
* @return possible object is {@link DegreeAccidentalType }
*
*/
public DegreeAccidentalType getAccidental() {
if (accidental == null) {
return DegreeAccidentalType.NATURAL;
} else {
return accidental;
}
}
/**
* Sets the value of the accidental property.
*
* @param value
* allowed object is {@link DegreeAccidentalType }
*
*/
public void setAccidental(DegreeAccidentalType value) {
this.accidental = value;
}
/**
* Gets the value of the height property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getHeight() {
return height;
}
/**
* Sets the value of the height property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setHeight(BigInteger value) {
this.height = value;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content
* contained within this class.
*
* <pre>
* <complexType>
* <simpleContent>
* <extension base="<urn:mpeg:mpeg7:schema:2004>degreeNoteType">
* <attribute name="display" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "value" })
public static class PitchNote implements Serializable {
private final static long serialVersionUID = 1L;
@XmlValue
protected DegreeNoteType value;
@XmlAttribute(name = "display")
protected String display;
/**
* Gets the value of the value property.
*
* @return possible object is {@link DegreeNoteType }
*
*/
public DegreeNoteType getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is {@link DegreeNoteType }
*
*/
public void setValue(DegreeNoteType value) {
this.value = value;
}
/**
* Gets the value of the display property.
*
* @return possible object is {@link String }
*
*/
public String getDisplay() {
return display;
}
/**
* Sets the value of the display property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setDisplay(String value) {
this.display = value;
}
}
}
}
}