X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Forg%2Fvamsas%2Fobjects%2Fcore%2FAnnotationElement.java;h=8d722770b5fb3763383c813f18bfa4897f04ae87;hb=a2b5dbfbb458bc73bc8a76680513106c005f9120;hp=534eb9c0b6d7cc980a49ad9fa6309fbf311385dd;hpb=06aadd1eccd43600c74b6f2dd69581c84e99aee6;p=vamsas.git diff --git a/src/org/vamsas/objects/core/AnnotationElement.java b/src/org/vamsas/objects/core/AnnotationElement.java index 534eb9c..8d72277 100644 --- a/src/org/vamsas/objects/core/AnnotationElement.java +++ b/src/org/vamsas/objects/core/AnnotationElement.java @@ -1,6 +1,6 @@ /* * This class was automatically generated with - * Castor 0.9.9M1, using an XML + * Castor 0.9.9M2, using an XML * Schema. * $Id$ */ @@ -46,6 +46,11 @@ implements java.io.Serializable private boolean _has_position; /** + * Field _id + */ + private java.lang.String _id; + + /** * Field _displayCharacter */ private java.lang.String _displayCharacter; @@ -124,6 +129,13 @@ implements java.io.Serializable return false; if (this._has_position != temp._has_position) return false; + if (this._id != null) { + if (temp._id == null) return false; + else if (!(this._id.equals(temp._id))) + return false; + } + else if (temp._id != null) + return false; if (this._displayCharacter != null) { if (temp._displayCharacter == null) return false; else if (!(this._displayCharacter.equals(temp._displayCharacter))) @@ -177,6 +189,17 @@ implements java.io.Serializable } //-- java.lang.String getDisplayCharacter() /** + * Returns the value of field 'id'. + * + * @return String + * @return the value of field 'id'. + */ + public java.lang.String getId() + { + return this._id; + } //-- java.lang.String getId() + + /** * Returns the value of field 'position'. * * @return int @@ -300,6 +323,16 @@ implements java.io.Serializable } //-- void setDisplayCharacter(java.lang.String) /** + * Sets the value of field 'id'. + * + * @param id the value of field 'id'. + */ + public void setId(java.lang.String id) + { + this._id = id; + } //-- void setId(java.lang.String) + + /** * Sets the value of field 'position'. * * @param position the value of field 'position'.