/com.bugclipse.fogbugz.api/com/bugclipse/fogbugz/api/Person.java
https://github.com/subhash/Bugclipse · Java · 690 lines · 258 code · 86 blank · 346 comment · 0 complexity · b30ade517f3619606ed23bd3b58c8ad2 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 Person.
- *
- * @version $Revision$ $Date$
- */
- public class Person implements java.io.Serializable {
-
-
- //--------------------------/
- //- Class/Member Variables -/
- //--------------------------/
-
- /**
- * Field _ixPerson.
- */
- private long _ixPerson;
-
- /**
- * keeps track of state for field: _ixPerson
- */
- private boolean _has_ixPerson;
-
- /**
- * Field _sFullName.
- */
- private java.lang.String _sFullName;
-
- /**
- * Field _sEmail.
- */
- private java.lang.String _sEmail;
-
- /**
- * Field _sPhone.
- */
- private java.lang.Object _sPhone;
-
- /**
- * Field _fAdministrator.
- */
- private boolean _fAdministrator;
-
- /**
- * keeps track of state for field: _fAdministrator
- */
- private boolean _has_fAdministrator;
-
- /**
- * Field _fCommunity.
- */
- private boolean _fCommunity;
-
- /**
- * keeps track of state for field: _fCommunity
- */
- private boolean _has_fCommunity;
-
- /**
- * Field _fVirtual.
- */
- private boolean _fVirtual;
-
- /**
- * keeps track of state for field: _fVirtual
- */
- private boolean _has_fVirtual;
-
- /**
- * Field _fDeleted.
- */
- private boolean _fDeleted;
-
- /**
- * keeps track of state for field: _fDeleted
- */
- private boolean _has_fDeleted;
-
- /**
- * Field _fNotify.
- */
- private boolean _fNotify;
-
- /**
- * keeps track of state for field: _fNotify
- */
- private boolean _has_fNotify;
-
- /**
- * Field _sHomepage.
- */
- private java.lang.Object _sHomepage;
-
- /**
- * Field _sLocale.
- */
- private java.lang.String _sLocale;
-
- /**
- * Field _sLanguage.
- */
- private java.lang.String _sLanguage;
-
- /**
- * Field _sTimeZoneKey.
- */
- private java.lang.String _sTimeZoneKey;
-
- /**
- * Field _fExpert.
- */
- private boolean _fExpert;
-
- /**
- * keeps track of state for field: _fExpert
- */
- private boolean _has_fExpert;
-
-
- //----------------/
- //- Constructors -/
- //----------------/
-
- public Person() {
- super();
- }
-
-
- //-----------/
- //- Methods -/
- //-----------/
-
- /**
- */
- public void deleteFAdministrator(
- ) {
- this._has_fAdministrator= false;
- }
-
- /**
- */
- public void deleteFCommunity(
- ) {
- this._has_fCommunity= false;
- }
-
- /**
- */
- public void deleteFDeleted(
- ) {
- this._has_fDeleted= false;
- }
-
- /**
- */
- public void deleteFExpert(
- ) {
- this._has_fExpert= false;
- }
-
- /**
- */
- public void deleteFNotify(
- ) {
- this._has_fNotify= false;
- }
-
- /**
- */
- public void deleteFVirtual(
- ) {
- this._has_fVirtual= false;
- }
-
- /**
- */
- public void deleteIxPerson(
- ) {
- this._has_ixPerson= false;
- }
-
- /**
- * Returns the value of field 'fAdministrator'.
- *
- * @return the value of field 'FAdministrator'.
- */
- public boolean getFAdministrator(
- ) {
- return this._fAdministrator;
- }
-
- /**
- * Returns the value of field 'fCommunity'.
- *
- * @return the value of field 'FCommunity'.
- */
- public boolean getFCommunity(
- ) {
- return this._fCommunity;
- }
-
- /**
- * Returns the value of field 'fDeleted'.
- *
- * @return the value of field 'FDeleted'.
- */
- public boolean getFDeleted(
- ) {
- return this._fDeleted;
- }
-
- /**
- * Returns the value of field 'fExpert'.
- *
- * @return the value of field 'FExpert'.
- */
- public boolean getFExpert(
- ) {
- return this._fExpert;
- }
-
- /**
- * Returns the value of field 'fNotify'.
- *
- * @return the value of field 'FNotify'.
- */
- public boolean getFNotify(
- ) {
- return this._fNotify;
- }
-
- /**
- * Returns the value of field 'fVirtual'.
- *
- * @return the value of field 'FVirtual'.
- */
- public boolean getFVirtual(
- ) {
- return this._fVirtual;
- }
-
- /**
- * Returns the value of field 'ixPerson'.
- *
- * @return the value of field 'IxPerson'.
- */
- public long getIxPerson(
- ) {
- return this._ixPerson;
- }
-
- /**
- * Returns the value of field 'sEmail'.
- *
- * @return the value of field 'SEmail'.
- */
- public java.lang.String getSEmail(
- ) {
- return this._sEmail;
- }
-
- /**
- * Returns the value of field 'sFullName'.
- *
- * @return the value of field 'SFullName'.
- */
- public java.lang.String getSFullName(
- ) {
- return this._sFullName;
- }
-
- /**
- * Returns the value of field 'sHomepage'.
- *
- * @return the value of field 'SHomepage'.
- */
- public java.lang.Object getSHomepage(
- ) {
- return this._sHomepage;
- }
-
- /**
- * Returns the value of field 'sLanguage'.
- *
- * @return the value of field 'SLanguage'.
- */
- public java.lang.String getSLanguage(
- ) {
- return this._sLanguage;
- }
-
- /**
- * Returns the value of field 'sLocale'.
- *
- * @return the value of field 'SLocale'.
- */
- public java.lang.String getSLocale(
- ) {
- return this._sLocale;
- }
-
- /**
- * Returns the value of field 'sPhone'.
- *
- * @return the value of field 'SPhone'.
- */
- public java.lang.Object getSPhone(
- ) {
- return this._sPhone;
- }
-
- /**
- * Returns the value of field 'sTimeZoneKey'.
- *
- * @return the value of field 'STimeZoneKey'.
- */
- public java.lang.String getSTimeZoneKey(
- ) {
- return this._sTimeZoneKey;
- }
-
- /**
- * Method hasFAdministrator.
- *
- * @return true if at least one FAdministrator has been added
- */
- public boolean hasFAdministrator(
- ) {
- return this._has_fAdministrator;
- }
-
- /**
- * Method hasFCommunity.
- *
- * @return true if at least one FCommunity has been added
- */
- public boolean hasFCommunity(
- ) {
- return this._has_fCommunity;
- }
-
- /**
- * Method hasFDeleted.
- *
- * @return true if at least one FDeleted has been added
- */
- public boolean hasFDeleted(
- ) {
- return this._has_fDeleted;
- }
-
- /**
- * Method hasFExpert.
- *
- * @return true if at least one FExpert has been added
- */
- public boolean hasFExpert(
- ) {
- return this._has_fExpert;
- }
-
- /**
- * Method hasFNotify.
- *
- * @return true if at least one FNotify has been added
- */
- public boolean hasFNotify(
- ) {
- return this._has_fNotify;
- }
-
- /**
- * Method hasFVirtual.
- *
- * @return true if at least one FVirtual has been added
- */
- public boolean hasFVirtual(
- ) {
- return this._has_fVirtual;
- }
-
- /**
- * Method hasIxPerson.
- *
- * @return true if at least one IxPerson has been added
- */
- public boolean hasIxPerson(
- ) {
- return this._has_ixPerson;
- }
-
- /**
- * Returns the value of field 'fAdministrator'.
- *
- * @return the value of field 'FAdministrator'.
- */
- public boolean isFAdministrator(
- ) {
- return this._fAdministrator;
- }
-
- /**
- * Returns the value of field 'fCommunity'.
- *
- * @return the value of field 'FCommunity'.
- */
- public boolean isFCommunity(
- ) {
- return this._fCommunity;
- }
-
- /**
- * Returns the value of field 'fDeleted'.
- *
- * @return the value of field 'FDeleted'.
- */
- public boolean isFDeleted(
- ) {
- return this._fDeleted;
- }
-
- /**
- * Returns the value of field 'fExpert'.
- *
- * @return the value of field 'FExpert'.
- */
- public boolean isFExpert(
- ) {
- return this._fExpert;
- }
-
- /**
- * Returns the value of field 'fNotify'.
- *
- * @return the value of field 'FNotify'.
- */
- public boolean isFNotify(
- ) {
- return this._fNotify;
- }
-
- /**
- * Returns the value of field 'fVirtual'.
- *
- * @return the value of field 'FVirtual'.
- */
- public boolean isFVirtual(
- ) {
- return this._fVirtual;
- }
-
- /**
- * 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 'fAdministrator'.
- *
- * @param fAdministrator the value of field 'fAdministrator'.
- */
- public void setFAdministrator(
- final boolean fAdministrator) {
- this._fAdministrator = fAdministrator;
- this._has_fAdministrator = true;
- }
-
- /**
- * Sets the value of field 'fCommunity'.
- *
- * @param fCommunity the value of field 'fCommunity'.
- */
- public void setFCommunity(
- final boolean fCommunity) {
- this._fCommunity = fCommunity;
- this._has_fCommunity = true;
- }
-
- /**
- * Sets the value of field 'fDeleted'.
- *
- * @param fDeleted the value of field 'fDeleted'.
- */
- public void setFDeleted(
- final boolean fDeleted) {
- this._fDeleted = fDeleted;
- this._has_fDeleted = true;
- }
-
- /**
- * Sets the value of field 'fExpert'.
- *
- * @param fExpert the value of field 'fExpert'.
- */
- public void setFExpert(
- final boolean fExpert) {
- this._fExpert = fExpert;
- this._has_fExpert = true;
- }
-
- /**
- * Sets the value of field 'fNotify'.
- *
- * @param fNotify the value of field 'fNotify'.
- */
- public void setFNotify(
- final boolean fNotify) {
- this._fNotify = fNotify;
- this._has_fNotify = true;
- }
-
- /**
- * Sets the value of field 'fVirtual'.
- *
- * @param fVirtual the value of field 'fVirtual'.
- */
- public void setFVirtual(
- final boolean fVirtual) {
- this._fVirtual = fVirtual;
- this._has_fVirtual = 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 'sEmail'.
- *
- * @param sEmail the value of field 'sEmail'.
- */
- public void setSEmail(
- final java.lang.String sEmail) {
- this._sEmail = sEmail;
- }
-
- /**
- * Sets the value of field 'sFullName'.
- *
- * @param sFullName the value of field 'sFullName'.
- */
- public void setSFullName(
- final java.lang.String sFullName) {
- this._sFullName = sFullName;
- }
-
- /**
- * Sets the value of field 'sHomepage'.
- *
- * @param sHomepage the value of field 'sHomepage'.
- */
- public void setSHomepage(
- final java.lang.Object sHomepage) {
- this._sHomepage = sHomepage;
- }
-
- /**
- * Sets the value of field 'sLanguage'.
- *
- * @param sLanguage the value of field 'sLanguage'.
- */
- public void setSLanguage(
- final java.lang.String sLanguage) {
- this._sLanguage = sLanguage;
- }
-
- /**
- * Sets the value of field 'sLocale'.
- *
- * @param sLocale the value of field 'sLocale'.
- */
- public void setSLocale(
- final java.lang.String sLocale) {
- this._sLocale = sLocale;
- }
-
- /**
- * Sets the value of field 'sPhone'.
- *
- * @param sPhone the value of field 'sPhone'.
- */
- public void setSPhone(
- final java.lang.Object sPhone) {
- this._sPhone = sPhone;
- }
-
- /**
- * Sets the value of field 'sTimeZoneKey'.
- *
- * @param sTimeZoneKey the value of field 'sTimeZoneKey'.
- */
- public void setSTimeZoneKey(
- final java.lang.String sTimeZoneKey) {
- this._sTimeZoneKey = sTimeZoneKey;
- }
-
- /**
- * 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.Person
- */
- public static com.bugclipse.fogbugz.api.Person unmarshal(
- final java.io.Reader reader)
- throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
- return (com.bugclipse.fogbugz.api.Person) Unmarshaller.unmarshal(com.bugclipse.fogbugz.api.Person.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);
- }
-
- }