net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee
Class MimeMappingType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee.MimeMappingType
All Implemented Interfaces:
Serializable, Cloneable

public class MimeMappingType
extends Object
implements Serializable, Cloneable

The mime-mappingType defines a mapping between an extension and a mime type. Used in: web-app

Java class for mime-mappingType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="mime-mappingType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="extension" type="{http://java.sun.com/xml/ns/javaee}string"/>
         <element name="mime-type" type="{http://java.sun.com/xml/ns/javaee}mime-typeType"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String extension
           
protected  String id
           
protected  MimeTypeType mimeType
           
 
Constructor Summary
MimeMappingType()
          Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee.MimeMappingType instance.
MimeMappingType(MimeMappingType o)
          Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee.MimeMappingType instance by copying a given instance.
 
Method Summary
 MimeMappingType clone()
          Creates and returns a copy of this object.
 String getExtension()
          Gets the value of the extension property.
 String getId()
          Gets the value of the id property.
 MimeTypeType getMimeType()
          Gets the value of the mimeType property.
 void setExtension(String value)
          Sets the value of the extension property.
 void setId(String value)
          Sets the value of the id property.
 void setMimeType(MimeTypeType value)
          Sets the value of the mimeType property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

extension

protected String extension

mimeType

protected MimeTypeType mimeType

id

protected String id
Constructor Detail

MimeMappingType

public MimeMappingType()
Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee.MimeMappingType instance.


MimeMappingType

public MimeMappingType(MimeMappingType o)
Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee.MimeMappingType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getExtension

public String getExtension()
Gets the value of the extension property.

Returns:
possible object is String

setExtension

public void setExtension(String value)
Sets the value of the extension property.

Parameters:
value - allowed object is String

getMimeType

public MimeTypeType getMimeType()
Gets the value of the mimeType property.

Returns:
possible object is MimeTypeType

setMimeType

public void setMimeType(MimeTypeType value)
Sets the value of the mimeType property.

Parameters:
value - allowed object is MimeTypeType

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

clone

public MimeMappingType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.