Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions brainz-mmd2-jaxb/src/main/java/org/musicbrainz/mmd2/Alias.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* <attribute name="primary" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* <attribute name="begin-date" type="{http://musicbrainz.org/ns/mmd-2.0#}def_incomplete-date" />
* <attribute name="end-date" type="{http://musicbrainz.org/ns/mmd-2.0#}def_incomplete-date" />
* <attribute name="ended" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </restriction>
* </complexContent>
* </complexType>
Expand Down Expand Up @@ -65,6 +66,9 @@ public class Alias {
protected String beginDate;
@XmlAttribute(name = "end-date")
protected String endDate;
@XmlAttribute(name = "ended")
@XmlSchemaType(name = "anySimpleType")
protected String ended;

/**
* Gets the value of the content property.
Expand Down Expand Up @@ -258,4 +262,28 @@ public void setEndDate(String value) {
this.endDate = value;
}

/**
* Gets the value of the ended property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEnded() {
return ended;
}

/**
* Sets the value of the ended property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEnded(String value) {
this.ended = value;
}

}
3 changes: 2 additions & 1 deletion brainz-mmd2-jaxb/src/main/resources/musicbrainz_mmd-2.0.xsd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
==================================================================
$Id: a00eba6318ee46201d4495da0a4608a8f61985e3 $
$Id: b64a047e85d0628c4d0b2b8f2bfa814c12550df4 $

Relax NG Schema for MusicBrainz XML Metadata Version 2.0

Expand Down Expand Up @@ -595,6 +595,7 @@
<xs:attribute name="primary"/>
<xs:attribute name="begin-date" type="mmd-2.0:def_incomplete-date"/>
<xs:attribute name="end-date" type="mmd-2.0:def_incomplete-date"/>
<xs:attribute name="ended"/>
</xs:complexType>
</xs:element>
<xs:element name="iswc">
Expand Down
5 changes: 5 additions & 0 deletions schema/musicbrainz_mmd-2.0.rng
Original file line number Diff line number Diff line change
Expand Up @@ -1434,6 +1434,11 @@
<ref name="def_incomplete-date"/>
</attribute>
</optional>
<optional>
<attribute name="ended">
<text />
</attribute>
</optional>
<text/>
</element>
</define>
Expand Down