Class MimeTypeDefinitionDto
- java.lang.Object
-
- org.pentaho.platform.plugin.services.importer.mimeType.bindings.MimeTypeDefinitionDto
-
public class MimeTypeDefinitionDto extends Object
Java class for MimeTypeDefinitionDto complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MimeTypeDefinitionDto"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="extension" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> </sequence> <attribute name="mimeType" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="hidden" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="locale" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="converter" type="{http://www.w3.org/2001/XMLSchema}string" default="streamConverter" /> <attribute name="versionEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="versionCommentEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description MimeTypeDefinitionDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getConverter()
Gets the value of the converter property.List<String>
getExtension()
Gets the value of the extension property.String
getMimeType()
Gets the value of the mimeType property.boolean
isHidden()
Gets the value of the hidden property.boolean
isLocale()
Gets the value of the locale property.boolean
isVersionCommentEnabled()
Gets the value of the versionCommentEnabled property.boolean
isVersionEnabled()
Gets the value of the versionEnabled property.void
setConverter(String value)
Sets the value of the converter property.void
setHidden(Boolean value)
Sets the value of the hidden property.void
setLocale(Boolean value)
Sets the value of the locale property.void
setMimeType(String value)
Sets the value of the mimeType property.void
setVersionCommentEnabled(Boolean value)
Sets the value of the versionCommentEnabled property.void
setVersionEnabled(Boolean value)
Sets the value of the versionEnabled property.
-
-
-
Method Detail
-
getExtension
public List<String> getExtension()
Gets the value of the extension property.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 extension property.For example, to add a new item, do as follows:
getExtension().add( newItem );
Objects of the following type(s) are allowed in the list
String
-
getMimeType
public String getMimeType()
Gets the value of the mimeType property.- Returns:
- possible object is
String
-
setMimeType
public void setMimeType(String value)
Sets the value of the mimeType property.- Parameters:
value
- allowed object isString
-
isHidden
public boolean isHidden()
Gets the value of the hidden property.- Returns:
- possible object is
Boolean
-
setHidden
public void setHidden(Boolean value)
Sets the value of the hidden property.- Parameters:
value
- allowed object isBoolean
-
isLocale
public boolean isLocale()
Gets the value of the locale property.- Returns:
- possible object is
Boolean
-
setLocale
public void setLocale(Boolean value)
Sets the value of the locale property.- Parameters:
value
- allowed object isBoolean
-
getConverter
public String getConverter()
Gets the value of the converter property.- Returns:
- possible object is
String
-
setConverter
public void setConverter(String value)
Sets the value of the converter property.- Parameters:
value
- allowed object isString
-
isVersionEnabled
public boolean isVersionEnabled()
Gets the value of the versionEnabled property.- Returns:
- possible object is
Boolean
-
setVersionEnabled
public void setVersionEnabled(Boolean value)
Sets the value of the versionEnabled property.- Parameters:
value
- allowed object isBoolean
-
isVersionCommentEnabled
public boolean isVersionCommentEnabled()
Gets the value of the versionCommentEnabled property.- Returns:
- possible object is
Boolean
-
-