Class 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>
     
    • Field Detail

      • mimeType

        protected String mimeType
      • converter

        protected String converter
      • versionEnabled

        protected Boolean versionEnabled
      • versionCommentEnabled

        protected Boolean versionCommentEnabled
    • Constructor Detail

      • MimeTypeDefinitionDto

        public MimeTypeDefinitionDto()
    • 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 is String
      • 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 is Boolean
      • 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 is Boolean
      • 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 is String
      • 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 is Boolean
      • isVersionCommentEnabled

        public boolean isVersionCommentEnabled()
        Gets the value of the versionCommentEnabled property.
        Returns:
        possible object is Boolean
      • setVersionCommentEnabled

        public void setVersionCommentEnabled​(Boolean value)
        Sets the value of the versionCommentEnabled property.
        Parameters:
        value - allowed object is Boolean