Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / jalview / datamodel / DBRefEntry.js
index da2e0cb..148cf99 100644 (file)
@@ -1,93 +1,93 @@
-Clazz.declarePackage ("jalview.datamodel");\r
-Clazz.load (null, "jalview.datamodel.DBRefEntry", ["jalview.datamodel.Mapping"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.source = "";\r
-this.version = "";\r
-this.accessionId = "";\r
-this.map = null;\r
-Clazz.instantialize (this, arguments);\r
-}, jalview.datamodel, "DBRefEntry");\r
-Clazz.makeConstructor (c$, \r
-function () {\r
-});\r
-Clazz.makeConstructor (c$, \r
-function (source, version, accessionId) {\r
-this.construct (source, version, accessionId, null);\r
-}, "~S,~S,~S");\r
-Clazz.makeConstructor (c$, \r
-function (source, version, accessionId, map) {\r
-this.source = source.toUpperCase ();\r
-this.version = version;\r
-this.accessionId = accessionId;\r
-this.map = map;\r
-}, "~S,~S,~S,jalview.datamodel.Mapping");\r
-Clazz.makeConstructor (c$, \r
-function (entry) {\r
-this.construct ((entry.source == null ? "" :  String.instantialize (entry.source)), (entry.version == null ? "" :  String.instantialize (entry.version)), (entry.accessionId == null ? "" :  String.instantialize (entry.accessionId)), (entry.map == null ? null :  new jalview.datamodel.Mapping (entry.map)));\r
-}, "jalview.datamodel.DBRefEntry");\r
-Clazz.overrideMethod (c$, "equals", \r
-function (o) {\r
-if (o == null || !(Clazz.instanceOf (o, jalview.datamodel.DBRefEntry))) {\r
-return false;\r
-}var entry = o;\r
-if (entry === this) {\r
-return true;\r
-}if (this.equalRef (entry) && ((this.map == null && entry.map == null) || (this.map != null && entry.map != null && this.map.equals (entry.map)))) {\r
-return true;\r
-}return false;\r
-}, "~O");\r
-Clazz.defineMethod (c$, "equalRef", \r
-function (entry) {\r
-if (entry == null) {\r
-return false;\r
-}if (entry === this) {\r
-return true;\r
-}if ((this.source != null && entry.source != null && this.source.equalsIgnoreCase (entry.source)) && (this.accessionId != null && entry.accessionId != null && this.accessionId.equalsIgnoreCase (entry.accessionId)) && (this.version != null && entry.version != null && this.version.equalsIgnoreCase (entry.version))) {\r
-return true;\r
-}return false;\r
-}, "jalview.datamodel.DBRefEntry");\r
-Clazz.defineMethod (c$, "getSource", \r
-function () {\r
-return this.source;\r
-});\r
-Clazz.defineMethod (c$, "getVersion", \r
-function () {\r
-return this.version;\r
-});\r
-Clazz.defineMethod (c$, "getAccessionId", \r
-function () {\r
-return this.accessionId;\r
-});\r
-Clazz.defineMethod (c$, "setAccessionId", \r
-function (accessionId) {\r
-this.accessionId = accessionId;\r
-}, "~S");\r
-Clazz.defineMethod (c$, "setSource", \r
-function (source) {\r
-this.source = source;\r
-}, "~S");\r
-Clazz.defineMethod (c$, "setVersion", \r
-function (version) {\r
-this.version = version;\r
-}, "~S");\r
-Clazz.defineMethod (c$, "getMap", \r
-function () {\r
-return this.map;\r
-});\r
-Clazz.defineMethod (c$, "setMap", \r
-function (map) {\r
-this.map = map;\r
-}, "jalview.datamodel.Mapping");\r
-Clazz.defineMethod (c$, "hasMap", \r
-function () {\r
-return this.map != null;\r
-});\r
-Clazz.defineMethod (c$, "getSrcAccString", \r
-function () {\r
-return ((this.source != null) ? this.source : "") + ":" + ((this.accessionId != null) ? this.accessionId : "");\r
-});\r
-Clazz.overrideMethod (c$, "toString", \r
-function () {\r
-return this.getSrcAccString ();\r
-});\r
-});\r
+Clazz.declarePackage ("jalview.datamodel");
+Clazz.load (null, "jalview.datamodel.DBRefEntry", ["jalview.datamodel.Mapping"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.source = "";
+this.version = "";
+this.accessionId = "";
+this.map = null;
+Clazz.instantialize (this, arguments);
+}, jalview.datamodel, "DBRefEntry");
+Clazz.makeConstructor (c$, 
+function () {
+});
+Clazz.makeConstructor (c$, 
+function (source, version, accessionId) {
+this.construct (source, version, accessionId, null);
+}, "~S,~S,~S");
+Clazz.makeConstructor (c$, 
+function (source, version, accessionId, map) {
+this.source = source.toUpperCase ();
+this.version = version;
+this.accessionId = accessionId;
+this.map = map;
+}, "~S,~S,~S,jalview.datamodel.Mapping");
+Clazz.makeConstructor (c$, 
+function (entry) {
+this.construct ((entry.source == null ? "" :  String.instantialize (entry.source)), (entry.version == null ? "" :  String.instantialize (entry.version)), (entry.accessionId == null ? "" :  String.instantialize (entry.accessionId)), (entry.map == null ? null :  new jalview.datamodel.Mapping (entry.map)));
+}, "jalview.datamodel.DBRefEntry");
+Clazz.overrideMethod (c$, "equals", 
+function (o) {
+if (o == null || !(Clazz.instanceOf (o, jalview.datamodel.DBRefEntry))) {
+return false;
+}var entry = o;
+if (entry === this) {
+return true;
+}if (this.equalRef (entry) && ((this.map == null && entry.map == null) || (this.map != null && entry.map != null && this.map.equals (entry.map)))) {
+return true;
+}return false;
+}, "~O");
+Clazz.defineMethod (c$, "equalRef", 
+function (entry) {
+if (entry == null) {
+return false;
+}if (entry === this) {
+return true;
+}if ((this.source != null && entry.source != null && this.source.equalsIgnoreCase (entry.source)) && (this.accessionId != null && entry.accessionId != null && this.accessionId.equalsIgnoreCase (entry.accessionId)) && (this.version != null && entry.version != null && this.version.equalsIgnoreCase (entry.version))) {
+return true;
+}return false;
+}, "jalview.datamodel.DBRefEntry");
+Clazz.defineMethod (c$, "getSource", 
+function () {
+return this.source;
+});
+Clazz.defineMethod (c$, "getVersion", 
+function () {
+return this.version;
+});
+Clazz.defineMethod (c$, "getAccessionId", 
+function () {
+return this.accessionId;
+});
+Clazz.defineMethod (c$, "setAccessionId", 
+function (accessionId) {
+this.accessionId = accessionId;
+}, "~S");
+Clazz.defineMethod (c$, "setSource", 
+function (source) {
+this.source = source;
+}, "~S");
+Clazz.defineMethod (c$, "setVersion", 
+function (version) {
+this.version = version;
+}, "~S");
+Clazz.defineMethod (c$, "getMap", 
+function () {
+return this.map;
+});
+Clazz.defineMethod (c$, "setMap", 
+function (map) {
+this.map = map;
+}, "jalview.datamodel.Mapping");
+Clazz.defineMethod (c$, "hasMap", 
+function () {
+return this.map != null;
+});
+Clazz.defineMethod (c$, "getSrcAccString", 
+function () {
+return ((this.source != null) ? this.source : "") + ":" + ((this.accessionId != null) ? this.accessionId : "");
+});
+Clazz.overrideMethod (c$, "toString", 
+function () {
+return this.getSrcAccString ();
+});
+});