public class ObjectFormat extends ObjectFormat implements Serializable
<xs:complexType xmlns:ns="http://ns.dataone.org/service/types/v2.0" xmlns:ns1="http://ns.dataone.org/service/types/v1" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ObjectFormat">
<xs:complexContent>
<xs:extension base="ns1:ObjectFormat">
<xs:sequence>
<xs:element type="ns:MediaType" name="mediaType" minOccurs="0"/>
<xs:element type="xs:string" name="extension" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
extension |
protected MediaType |
mediaType |
formatId, formatName, formatType| Constructor and Description |
|---|
ObjectFormat() |
| Modifier and Type | Method and Description |
|---|---|
String |
getExtension()
Get the 'extension' element value.
|
MediaType |
getMediaType()
Get the 'mediaType' element value.
|
void |
setExtension(String extension)
Set the 'extension' element value.
|
void |
setMediaType(MediaType mediaType)
Set the 'mediaType' element value.
|
getFormatId, getFormatName, getFormatType, setFormatId, setFormatName, setFormatTypepublic MediaType getMediaType()
public void setMediaType(MediaType mediaType)
mediaType - public String getExtension()
public void setExtension(String extension)
extension - Copyright © 2018. All Rights Reserved.