public class MediaTypeProperty extends Object implements Serializable
<xs:complexType xmlns:ns="http://ns.dataone.org/service/types/v2.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="MediaTypeProperty"> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute type="xs:string" use="required" name="name"/> </xs:extension> </xs:simpleContent> </xs:complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected String |
value |
Constructor and Description |
---|
MediaTypeProperty() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the 'name' attribute value.
|
String |
getValue()
Get the extension value.
|
void |
setName(String name)
Set the 'name' attribute value.
|
void |
setValue(String value)
Set the extension value.
|
public String getValue()
public void setValue(String value)
value
- public String getName()
public void setName(String name)
name
- Copyright © 2020. All Rights Reserved.