git://source.jalview.org
/
vamsas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed a slight bug in AppData entry searching, and introduced generic AppData entry...
[vamsas.git]
/
src
/
org
/
vamsas
/
objects
/
core
/
AlignmentSequence.java
diff --git
a/src/org/vamsas/objects/core/AlignmentSequence.java
b/src/org/vamsas/objects/core/AlignmentSequence.java
index
91fd691
..
6761934
100644
(file)
--- a/
src/org/vamsas/objects/core/AlignmentSequence.java
+++ b/
src/org/vamsas/objects/core/AlignmentSequence.java
@@
-36,6
+36,11
@@
implements java.io.Serializable
//--------------------------/
/**
//--------------------------/
/**
+ * Field _id
+ */
+ private java.lang.String _id;
+
+ /**
* Field _refid
*/
private java.lang.Object _refid;
* Field _refid
*/
private java.lang.Object _refid;
@@
-72,6
+77,13
@@
implements java.io.Serializable
if (obj instanceof AlignmentSequence) {
AlignmentSequence temp = (AlignmentSequence)obj;
if (obj instanceof AlignmentSequence) {
AlignmentSequence temp = (AlignmentSequence)obj;
+ 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._refid != null) {
if (temp._refid == null) return false;
else if (!(this._refid.equals(temp._refid)))
if (this._refid != null) {
if (temp._refid == null) return false;
else if (!(this._refid.equals(temp._refid)))
@@
-85,6
+97,17
@@
implements java.io.Serializable
} //-- boolean equals(java.lang.Object)
/**
} //-- boolean equals(java.lang.Object)
/**
+ * 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 'refid'.
*
* @return Object
* Returns the value of field 'refid'.
*
* @return Object
@@
-142,6
+165,16
@@
implements java.io.Serializable
} //-- void marshal(org.xml.sax.ContentHandler)
/**
} //-- void marshal(org.xml.sax.ContentHandler)
/**
+ * 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 'refid'.
*
* @param refid the value of field 'refid'.
* Sets the value of field 'refid'.
*
* @param refid the value of field 'refid'.