/com.bugclipse.fogbugz.api/com/bugclipse/fogbugz/api/Event.java
https://github.com/subhash/Bugclipse · Java · 876 lines · 323 code · 109 blank · 444 comment · 0 complexity · d7e9ac84d16e21488f3257236fc92a0d MD5 · raw file
- /*
- * This class was automatically generated with
- * <a href="http://www.castor.org">Castor 1.1.2.1</a>, using an XML
- * Schema.
- * $Id$
- */
-
- package com.bugclipse.fogbugz.api;
-
- //---------------------------------/
- //- Imported classes and packages -/
- //---------------------------------/
-
- import org.exolab.castor.xml.Marshaller;
- import org.exolab.castor.xml.Unmarshaller;
-
- /**
- * Class Event.
- *
- * @version $Revision$ $Date$
- */
- public class Event implements java.io.Serializable {
-
-
- //--------------------------/
- //- Class/Member Variables -/
- //--------------------------/
-
- /**
- * Field _ixBugEvent.
- */
- private long _ixBugEvent;
-
- /**
- * keeps track of state for field: _ixBugEvent
- */
- private boolean _has_ixBugEvent;
-
- /**
- * Field _ixBug.
- */
- private long _ixBug;
-
- /**
- * keeps track of state for field: _ixBug
- */
- private boolean _has_ixBug;
-
- /**
- * Field _ixBugEventElement.
- */
- private long _ixBugEventElement;
-
- /**
- * keeps track of state for field: _ixBugEventElement
- */
- private boolean _has_ixBugEventElement;
-
- /**
- * Field _evt.
- */
- private long _evt;
-
- /**
- * keeps track of state for field: _evt
- */
- private boolean _has_evt;
-
- /**
- * Field _sVerb.
- */
- private java.lang.String _sVerb;
-
- /**
- * Field _ixPerson.
- */
- private long _ixPerson;
-
- /**
- * keeps track of state for field: _ixPerson
- */
- private boolean _has_ixPerson;
-
- /**
- * Field _sPerson.
- */
- private java.lang.String _sPerson;
-
- /**
- * Field _dt.
- */
- private org.exolab.castor.types.Date _dt;
-
- /**
- * Field _s.
- */
- private java.lang.String _s;
-
- /**
- * Field _bEmail.
- */
- private boolean _bEmail;
-
- /**
- * keeps track of state for field: _bEmail
- */
- private boolean _has_bEmail;
-
- /**
- * Field _bExternal.
- */
- private boolean _bExternal;
-
- /**
- * keeps track of state for field: _bExternal
- */
- private boolean _has_bExternal;
-
- /**
- * Field _sChanges.
- */
- private java.lang.String _sChanges;
-
- /**
- * Field _evtDescription.
- */
- private java.lang.String _evtDescription;
-
- /**
- * Field _rgAttachments.
- */
- private com.bugclipse.fogbugz.api.RgAttachments _rgAttachments;
-
- /**
- * Field _sFrom.
- */
- private java.lang.String _sFrom;
-
- /**
- * Field _sTo.
- */
- private java.lang.String _sTo;
-
- /**
- * Field _sCC.
- */
- private java.lang.Object _sCC;
-
- /**
- * Field _sBCC.
- */
- private java.lang.Object _sBCC;
-
- /**
- * Field _sReplyTo.
- */
- private java.lang.Object _sReplyTo;
-
- /**
- * Field _sSubject.
- */
- private java.lang.Object _sSubject;
-
- /**
- * Field _sDate.
- */
- private java.lang.String _sDate;
-
- /**
- * Field _sBodyText.
- */
- private java.lang.Object _sBodyText;
-
- /**
- * Field _sBodyHTML.
- */
- private java.lang.Object _sBodyHTML;
-
-
- //----------------/
- //- Constructors -/
- //----------------/
-
- public Event() {
- super();
- }
-
-
- //-----------/
- //- Methods -/
- //-----------/
-
- /**
- */
- public void deleteBEmail(
- ) {
- this._has_bEmail= false;
- }
-
- /**
- */
- public void deleteBExternal(
- ) {
- this._has_bExternal= false;
- }
-
- /**
- */
- public void deleteEvt(
- ) {
- this._has_evt= false;
- }
-
- /**
- */
- public void deleteIxBug(
- ) {
- this._has_ixBug= false;
- }
-
- /**
- */
- public void deleteIxBugEvent(
- ) {
- this._has_ixBugEvent= false;
- }
-
- /**
- */
- public void deleteIxBugEventElement(
- ) {
- this._has_ixBugEventElement= false;
- }
-
- /**
- */
- public void deleteIxPerson(
- ) {
- this._has_ixPerson= false;
- }
-
- /**
- * Returns the value of field 'bEmail'.
- *
- * @return the value of field 'BEmail'.
- */
- public boolean getBEmail(
- ) {
- return this._bEmail;
- }
-
- /**
- * Returns the value of field 'bExternal'.
- *
- * @return the value of field 'BExternal'.
- */
- public boolean getBExternal(
- ) {
- return this._bExternal;
- }
-
- /**
- * Returns the value of field 'dt'.
- *
- * @return the value of field 'Dt'.
- */
- public org.exolab.castor.types.Date getDt(
- ) {
- return this._dt;
- }
-
- /**
- * Returns the value of field 'evt'.
- *
- * @return the value of field 'Evt'.
- */
- public long getEvt(
- ) {
- return this._evt;
- }
-
- /**
- * Returns the value of field 'evtDescription'.
- *
- * @return the value of field 'EvtDescription'.
- */
- public java.lang.String getEvtDescription(
- ) {
- return this._evtDescription;
- }
-
- /**
- * Returns the value of field 'ixBug'.
- *
- * @return the value of field 'IxBug'.
- */
- public long getIxBug(
- ) {
- return this._ixBug;
- }
-
- /**
- * Returns the value of field 'ixBugEvent'.
- *
- * @return the value of field 'IxBugEvent'.
- */
- public long getIxBugEvent(
- ) {
- return this._ixBugEvent;
- }
-
- /**
- * Returns the value of field 'ixBugEventElement'.
- *
- * @return the value of field 'IxBugEventElement'.
- */
- public long getIxBugEventElement(
- ) {
- return this._ixBugEventElement;
- }
-
- /**
- * Returns the value of field 'ixPerson'.
- *
- * @return the value of field 'IxPerson'.
- */
- public long getIxPerson(
- ) {
- return this._ixPerson;
- }
-
- /**
- * Returns the value of field 'rgAttachments'.
- *
- * @return the value of field 'RgAttachments'.
- */
- public com.bugclipse.fogbugz.api.RgAttachments getRgAttachments(
- ) {
- return this._rgAttachments;
- }
-
- /**
- * Returns the value of field 's'.
- *
- * @return the value of field 'S'.
- */
- public java.lang.String getS(
- ) {
- return this._s;
- }
-
- /**
- * Returns the value of field 'sBCC'.
- *
- * @return the value of field 'SBCC'.
- */
- public java.lang.Object getSBCC(
- ) {
- return this._sBCC;
- }
-
- /**
- * Returns the value of field 'sBodyHTML'.
- *
- * @return the value of field 'SBodyHTML'.
- */
- public java.lang.Object getSBodyHTML(
- ) {
- return this._sBodyHTML;
- }
-
- /**
- * Returns the value of field 'sBodyText'.
- *
- * @return the value of field 'SBodyText'.
- */
- public java.lang.Object getSBodyText(
- ) {
- return this._sBodyText;
- }
-
- /**
- * Returns the value of field 'sCC'.
- *
- * @return the value of field 'SCC'.
- */
- public java.lang.Object getSCC(
- ) {
- return this._sCC;
- }
-
- /**
- * Returns the value of field 'sChanges'.
- *
- * @return the value of field 'SChanges'.
- */
- public java.lang.String getSChanges(
- ) {
- return this._sChanges;
- }
-
- /**
- * Returns the value of field 'sDate'.
- *
- * @return the value of field 'SDate'.
- */
- public java.lang.String getSDate(
- ) {
- return this._sDate;
- }
-
- /**
- * Returns the value of field 'sFrom'.
- *
- * @return the value of field 'SFrom'.
- */
- public java.lang.String getSFrom(
- ) {
- return this._sFrom;
- }
-
- /**
- * Returns the value of field 'sPerson'.
- *
- * @return the value of field 'SPerson'.
- */
- public java.lang.String getSPerson(
- ) {
- return this._sPerson;
- }
-
- /**
- * Returns the value of field 'sReplyTo'.
- *
- * @return the value of field 'SReplyTo'.
- */
- public java.lang.Object getSReplyTo(
- ) {
- return this._sReplyTo;
- }
-
- /**
- * Returns the value of field 'sSubject'.
- *
- * @return the value of field 'SSubject'.
- */
- public java.lang.Object getSSubject(
- ) {
- return this._sSubject;
- }
-
- /**
- * Returns the value of field 'sTo'.
- *
- * @return the value of field 'STo'.
- */
- public java.lang.String getSTo(
- ) {
- return this._sTo;
- }
-
- /**
- * Returns the value of field 'sVerb'.
- *
- * @return the value of field 'SVerb'.
- */
- public java.lang.String getSVerb(
- ) {
- return this._sVerb;
- }
-
- /**
- * Method hasBEmail.
- *
- * @return true if at least one BEmail has been added
- */
- public boolean hasBEmail(
- ) {
- return this._has_bEmail;
- }
-
- /**
- * Method hasBExternal.
- *
- * @return true if at least one BExternal has been added
- */
- public boolean hasBExternal(
- ) {
- return this._has_bExternal;
- }
-
- /**
- * Method hasEvt.
- *
- * @return true if at least one Evt has been added
- */
- public boolean hasEvt(
- ) {
- return this._has_evt;
- }
-
- /**
- * Method hasIxBug.
- *
- * @return true if at least one IxBug has been added
- */
- public boolean hasIxBug(
- ) {
- return this._has_ixBug;
- }
-
- /**
- * Method hasIxBugEvent.
- *
- * @return true if at least one IxBugEvent has been added
- */
- public boolean hasIxBugEvent(
- ) {
- return this._has_ixBugEvent;
- }
-
- /**
- * Method hasIxBugEventElement.
- *
- * @return true if at least one IxBugEventElement has been added
- */
- public boolean hasIxBugEventElement(
- ) {
- return this._has_ixBugEventElement;
- }
-
- /**
- * Method hasIxPerson.
- *
- * @return true if at least one IxPerson has been added
- */
- public boolean hasIxPerson(
- ) {
- return this._has_ixPerson;
- }
-
- /**
- * Returns the value of field 'bEmail'.
- *
- * @return the value of field 'BEmail'.
- */
- public boolean isBEmail(
- ) {
- return this._bEmail;
- }
-
- /**
- * Returns the value of field 'bExternal'.
- *
- * @return the value of field 'BExternal'.
- */
- public boolean isBExternal(
- ) {
- return this._bExternal;
- }
-
- /**
- * Method isValid.
- *
- * @return true if this object is valid according to the schema
- */
- public boolean isValid(
- ) {
- try {
- validate();
- } catch (org.exolab.castor.xml.ValidationException vex) {
- return false;
- }
- return true;
- }
-
- /**
- *
- *
- * @param out
- * @throws org.exolab.castor.xml.MarshalException if object is
- * null or if any SAXException is thrown during marshaling
- * @throws org.exolab.castor.xml.ValidationException if this
- * object is an invalid instance according to the schema
- */
- public void marshal(
- final java.io.Writer out)
- throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
- Marshaller.marshal(this, out);
- }
-
- /**
- *
- *
- * @param handler
- * @throws java.io.IOException if an IOException occurs during
- * marshaling
- * @throws org.exolab.castor.xml.ValidationException if this
- * object is an invalid instance according to the schema
- * @throws org.exolab.castor.xml.MarshalException if object is
- * null or if any SAXException is thrown during marshaling
- */
- public void marshal(
- final org.xml.sax.ContentHandler handler)
- throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
- Marshaller.marshal(this, handler);
- }
-
- /**
- * Sets the value of field 'bEmail'.
- *
- * @param bEmail the value of field 'bEmail'.
- */
- public void setBEmail(
- final boolean bEmail) {
- this._bEmail = bEmail;
- this._has_bEmail = true;
- }
-
- /**
- * Sets the value of field 'bExternal'.
- *
- * @param bExternal the value of field 'bExternal'.
- */
- public void setBExternal(
- final boolean bExternal) {
- this._bExternal = bExternal;
- this._has_bExternal = true;
- }
-
- /**
- * Sets the value of field 'dt'.
- *
- * @param dt the value of field 'dt'.
- */
- public void setDt(
- final org.exolab.castor.types.Date dt) {
- this._dt = dt;
- }
-
- /**
- * Sets the value of field 'evt'.
- *
- * @param evt the value of field 'evt'.
- */
- public void setEvt(
- final long evt) {
- this._evt = evt;
- this._has_evt = true;
- }
-
- /**
- * Sets the value of field 'evtDescription'.
- *
- * @param evtDescription the value of field 'evtDescription'.
- */
- public void setEvtDescription(
- final java.lang.String evtDescription) {
- this._evtDescription = evtDescription;
- }
-
- /**
- * Sets the value of field 'ixBug'.
- *
- * @param ixBug the value of field 'ixBug'.
- */
- public void setIxBug(
- final long ixBug) {
- this._ixBug = ixBug;
- this._has_ixBug = true;
- }
-
- /**
- * Sets the value of field 'ixBugEvent'.
- *
- * @param ixBugEvent the value of field 'ixBugEvent'.
- */
- public void setIxBugEvent(
- final long ixBugEvent) {
- this._ixBugEvent = ixBugEvent;
- this._has_ixBugEvent = true;
- }
-
- /**
- * Sets the value of field 'ixBugEventElement'.
- *
- * @param ixBugEventElement the value of field
- * 'ixBugEventElement'.
- */
- public void setIxBugEventElement(
- final long ixBugEventElement) {
- this._ixBugEventElement = ixBugEventElement;
- this._has_ixBugEventElement = true;
- }
-
- /**
- * Sets the value of field 'ixPerson'.
- *
- * @param ixPerson the value of field 'ixPerson'.
- */
- public void setIxPerson(
- final long ixPerson) {
- this._ixPerson = ixPerson;
- this._has_ixPerson = true;
- }
-
- /**
- * Sets the value of field 'rgAttachments'.
- *
- * @param rgAttachments the value of field 'rgAttachments'.
- */
- public void setRgAttachments(
- final com.bugclipse.fogbugz.api.RgAttachments rgAttachments) {
- this._rgAttachments = rgAttachments;
- }
-
- /**
- * Sets the value of field 's'.
- *
- * @param s the value of field 's'.
- */
- public void setS(
- final java.lang.String s) {
- this._s = s;
- }
-
- /**
- * Sets the value of field 'sBCC'.
- *
- * @param sBCC the value of field 'sBCC'.
- */
- public void setSBCC(
- final java.lang.Object sBCC) {
- this._sBCC = sBCC;
- }
-
- /**
- * Sets the value of field 'sBodyHTML'.
- *
- * @param sBodyHTML the value of field 'sBodyHTML'.
- */
- public void setSBodyHTML(
- final java.lang.Object sBodyHTML) {
- this._sBodyHTML = sBodyHTML;
- }
-
- /**
- * Sets the value of field 'sBodyText'.
- *
- * @param sBodyText the value of field 'sBodyText'.
- */
- public void setSBodyText(
- final java.lang.Object sBodyText) {
- this._sBodyText = sBodyText;
- }
-
- /**
- * Sets the value of field 'sCC'.
- *
- * @param sCC the value of field 'sCC'.
- */
- public void setSCC(
- final java.lang.Object sCC) {
- this._sCC = sCC;
- }
-
- /**
- * Sets the value of field 'sChanges'.
- *
- * @param sChanges the value of field 'sChanges'.
- */
- public void setSChanges(
- final java.lang.String sChanges) {
- this._sChanges = sChanges;
- }
-
- /**
- * Sets the value of field 'sDate'.
- *
- * @param sDate the value of field 'sDate'.
- */
- public void setSDate(
- final java.lang.String sDate) {
- this._sDate = sDate;
- }
-
- /**
- * Sets the value of field 'sFrom'.
- *
- * @param sFrom the value of field 'sFrom'.
- */
- public void setSFrom(
- final java.lang.String sFrom) {
- this._sFrom = sFrom;
- }
-
- /**
- * Sets the value of field 'sPerson'.
- *
- * @param sPerson the value of field 'sPerson'.
- */
- public void setSPerson(
- final java.lang.String sPerson) {
- this._sPerson = sPerson;
- }
-
- /**
- * Sets the value of field 'sReplyTo'.
- *
- * @param sReplyTo the value of field 'sReplyTo'.
- */
- public void setSReplyTo(
- final java.lang.Object sReplyTo) {
- this._sReplyTo = sReplyTo;
- }
-
- /**
- * Sets the value of field 'sSubject'.
- *
- * @param sSubject the value of field 'sSubject'.
- */
- public void setSSubject(
- final java.lang.Object sSubject) {
- this._sSubject = sSubject;
- }
-
- /**
- * Sets the value of field 'sTo'.
- *
- * @param sTo the value of field 'sTo'.
- */
- public void setSTo(
- final java.lang.String sTo) {
- this._sTo = sTo;
- }
-
- /**
- * Sets the value of field 'sVerb'.
- *
- * @param sVerb the value of field 'sVerb'.
- */
- public void setSVerb(
- final java.lang.String sVerb) {
- this._sVerb = sVerb;
- }
-
- /**
- * Method unmarshal.
- *
- * @param reader
- * @throws org.exolab.castor.xml.MarshalException if object is
- * null or if any SAXException is thrown during marshaling
- * @throws org.exolab.castor.xml.ValidationException if this
- * object is an invalid instance according to the schema
- * @return the unmarshaled com.bugclipse.fogbugz.api.Event
- */
- public static com.bugclipse.fogbugz.api.Event unmarshal(
- final java.io.Reader reader)
- throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
- return (com.bugclipse.fogbugz.api.Event) Unmarshaller.unmarshal(com.bugclipse.fogbugz.api.Event.class, reader);
- }
-
- /**
- *
- *
- * @throws org.exolab.castor.xml.ValidationException if this
- * object is an invalid instance according to the schema
- */
- public void validate(
- )
- throws org.exolab.castor.xml.ValidationException {
- org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
- validator.validate(this);
- }
-
- }