public class MediaTypeConfig extends Obj
Java class for mediaTypeConfig complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="mediaTypeConfig">
<complexContent>
<extension base="{http://www.intertrust.ru}obj">
<sequence>
<element name="contentType" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="header" type="{http://www.intertrust.ru}previewHeader" minOccurs="0"/>
<element name="tab" type="{http://www.intertrust.ru}tab" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="defaultSelectedTab" type="{http://www.w3.org/2001/XMLSchema}string" default="detailsTab" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
contentType |
protected String |
defaultSelectedTab |
protected PreviewHeader |
header |
protected List<Tab> |
tab |
| Constructor and Description |
|---|
MediaTypeConfig() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
Gets the value of the contentType property.
|
String |
getDefaultSelectedTab()
Gets the value of the defaultSelectedTab property.
|
PreviewHeader |
getHeader()
Gets the value of the header property.
|
List<Tab> |
getTab()
Gets the value of the tab property.
|
void |
setContentType(String value)
Sets the value of the contentType property.
|
void |
setDefaultSelectedTab(String value)
Sets the value of the defaultSelectedTab property.
|
void |
setHeader(PreviewHeader value)
Sets the value of the header property.
|
testGeneratedMethodprotected String contentType
protected PreviewHeader header
protected String defaultSelectedTab
public String getContentType()
Stringpublic void setContentType(String value)
value - allowed object is
Stringpublic PreviewHeader getHeader()
PreviewHeaderpublic void setHeader(PreviewHeader value)
value - allowed object is
PreviewHeaderpublic List<Tab> getTab()
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 set method for the tab property.
For example, to add a new item, do as follows:
getTab().add(newItem);
Objects of the following type(s) are allowed in the list
Tab
public String getDefaultSelectedTab()
StringCopyright © 2012–2014 RedSoft. All rights reserved.