File tree Expand file tree Collapse file tree 3 files changed +33
-0
lines changed
brainz-mmd2-jaxb/src/main
java/org/musicbrainz/mmd2 Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 3737 * <group ref="{http://musicbrainz.org/ns/mmd-2.0#}def_track-list"/>
3838 * <element ref="{http://musicbrainz.org/ns/mmd-2.0#}data-track-list" minOccurs="0"/>
3939 * </sequence>
40+ * <attribute name="id" type="{http://musicbrainz.org/ns/mmd-2.0#}def_uuid" />
4041 * </restriction>
4142 * </complexContent>
4243 * </complexType>
@@ -68,6 +69,8 @@ public class Medium {
6869 protected Medium .TrackList trackList ;
6970 @ XmlElement (name = "data-track-list" )
7071 protected DataTrackList dataTrackList ;
72+ @ XmlAttribute (name = "id" )
73+ protected String id ;
7174
7275 /**
7376 * Gets the value of the title property.
@@ -237,6 +240,30 @@ public void setDataTrackList(DataTrackList value) {
237240 this .dataTrackList = value ;
238241 }
239242
243+ /**
244+ * Gets the value of the id property.
245+ *
246+ * @return
247+ * possible object is
248+ * {@link String }
249+ *
250+ */
251+ public String getId () {
252+ return id ;
253+ }
254+
255+ /**
256+ * Sets the value of the id property.
257+ *
258+ * @param value
259+ * allowed object is
260+ * {@link String }
261+ *
262+ */
263+ public void setId (String value ) {
264+ this .id = value ;
265+ }
266+
240267
241268 /**
242269 * <p>Java class for anonymous complex type.
Original file line number Diff line number Diff line change 679679 <xs : group ref =" mmd-2.0:def_track-list" />
680680 <xs : element minOccurs =" 0" ref =" mmd-2.0:data-track-list" />
681681 </xs : sequence >
682+ <xs : attribute name =" id" type =" mmd-2.0:def_uuid" />
682683 </xs : complexType >
683684 </xs : element >
684685 <xs : element name =" position" type =" xs:nonNegativeInteger" />
Original file line number Diff line number Diff line change 15561556
15571557 <define name =" def_medium" >
15581558 <element name =" medium" >
1559+ <optional >
1560+ <attribute name =" id" >
1561+ <ref name =" def_uuid" />
1562+ </attribute >
1563+ </optional >
15591564 <optional >
15601565 <element name =" title" >
15611566 <text />
You can’t perform that action at this time.
0 commit comments