net.sf.ahtutils.xml.mail
Class Mail

java.lang.Object
  extended by net.sf.ahtutils.xml.mail.Mail
All Implemented Interfaces:
Serializable

public class Mail
extends Object
implements Serializable

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="example">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             </restriction>
           </simpleType>
         </element>
         <element ref="{http://ahtutils.aht-group.com/mail}template" maxOccurs="unbounded"/>
         <element ref="{http://ahtutils.aht-group.com/mail}attachment" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="msgId" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="dir" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="test" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Attachment> attachment
           
protected  String dir
           
protected  String example
           
protected  String id
           
protected  String msgId
           
protected  List<Template> template
           
protected  Boolean test
           
 
Constructor Summary
Mail()
           
 
Method Summary
 List<Attachment> getAttachment()
          Gets the value of the attachment property.
 String getDir()
          Gets the value of the dir property.
 String getExample()
          Gets the value of the example property.
 String getId()
          Gets the value of the id property.
 String getMsgId()
          Gets the value of the msgId property.
 List<Template> getTemplate()
          Gets the value of the template property.
 boolean isSetAttachment()
           
 boolean isSetDir()
           
 boolean isSetExample()
           
 boolean isSetId()
           
 boolean isSetMsgId()
           
 boolean isSetTemplate()
           
 boolean isSetTest()
           
 boolean isTest()
          Gets the value of the test property.
 void setDir(String value)
          Sets the value of the dir property.
 void setExample(String value)
          Sets the value of the example property.
 void setId(String value)
          Sets the value of the id property.
 void setMsgId(String value)
          Sets the value of the msgId property.
 void setTest(boolean value)
          Sets the value of the test property.
 void unsetAttachment()
           
 void unsetTemplate()
           
 void unsetTest()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

example

protected String example

template

protected List<Template> template

attachment

protected List<Attachment> attachment

id

protected String id

msgId

protected String msgId

dir

protected String dir

test

protected Boolean test
Constructor Detail

Mail

public Mail()
Method Detail

getExample

public String getExample()
Gets the value of the example property.

Returns:
possible object is String

setExample

public void setExample(String value)
Sets the value of the example property.

Parameters:
value - allowed object is String

isSetExample

public boolean isSetExample()

getTemplate

public List<Template> getTemplate()
Gets the value of the template 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 template property.

For example, to add a new item, do as follows:

    getTemplate().add(newItem);
 

Objects of the following type(s) are allowed in the list Template


isSetTemplate

public boolean isSetTemplate()

unsetTemplate

public void unsetTemplate()

getAttachment

public List<Attachment> getAttachment()
Gets the value of the attachment 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 attachment property.

For example, to add a new item, do as follows:

    getAttachment().add(newItem);
 

Objects of the following type(s) are allowed in the list Attachment


isSetAttachment

public boolean isSetAttachment()

unsetAttachment

public void unsetAttachment()

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

isSetId

public boolean isSetId()

getMsgId

public String getMsgId()
Gets the value of the msgId property.

Returns:
possible object is String

setMsgId

public void setMsgId(String value)
Sets the value of the msgId property.

Parameters:
value - allowed object is String

isSetMsgId

public boolean isSetMsgId()

getDir

public String getDir()
Gets the value of the dir property.

Returns:
possible object is String

setDir

public void setDir(String value)
Sets the value of the dir property.

Parameters:
value - allowed object is String

isSetDir

public boolean isSetDir()

isTest

public boolean isTest()
Gets the value of the test property.

Returns:
possible object is Boolean

setTest

public void setTest(boolean value)
Sets the value of the test property.

Parameters:
value - allowed object is Boolean

isSetTest

public boolean isSetTest()

unsetTest

public void unsetTest()


Copyright © 2011. All Rights Reserved.