var org;if (!org)org={};
if (!org.resoa)org.resoa={};
org.resoa.topology=(function(){
function ActiveNodeList(jsonstring){
this.profileNames=new Array();
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
ActiveNodeList.prototype.getProfileNames=function(){return this.profileNames;};
ActiveNodeList.prototype.setProfileNames=function(param){this.profileNames=param;};
ActiveNodeList.prototype.toString=function(){return 'ActiveNodeList';};
ActiveNodeList.prototype.getInstance=function(){return new ActiveNodeList();};
ActiveNodeList.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?ActiveNodeList') == 0);};return (obj.toString() == 'ActiveNodeList');};
ActiveNodeList.prototype.isClassProperty=function(param){return (ActiveNodeList.prototype[param] == undefined);};
ActiveNodeList.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
ActiveNodeList.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
ActiveNodeList.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
ActiveNodeList.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function ApplicationInfo(jsonstring){
this.name=null;this.description=null;this.author=null;this.owner=null;this.statusServiceClass=null;
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
ApplicationInfo.prototype.getName=function(){return this.name;};
ApplicationInfo.prototype.setName=function(param){this.name=param;};
ApplicationInfo.prototype.getDescription=function(){return this.description;};
ApplicationInfo.prototype.setDescription=function(param){this.description=param;};
ApplicationInfo.prototype.getAuthor=function(){return this.author;};
ApplicationInfo.prototype.setAuthor=function(param){this.author=param;};
ApplicationInfo.prototype.getOwner=function(){return this.owner;};
ApplicationInfo.prototype.setOwner=function(param){this.owner=param;};
ApplicationInfo.prototype.getStatusServiceClass=function(){return this.statusServiceClass;};
ApplicationInfo.prototype.setStatusServiceClass=function(param){this.statusServiceClass=param;};
ApplicationInfo.prototype.toString=function(){return 'ApplicationInfo';};
ApplicationInfo.prototype.getInstance=function(){return new ApplicationInfo();};
ApplicationInfo.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?ApplicationInfo') == 0);};return (obj.toString() == 'ApplicationInfo');};
ApplicationInfo.prototype.isClassProperty=function(param){return (ApplicationInfo.prototype[param] == undefined);};
ApplicationInfo.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
ApplicationInfo.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
ApplicationInfo.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
ApplicationInfo.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function DeployDescriptor(jsonstring){
this.profile=null;this.jarDomain=new Array();this.webDomain=new Array();this.generalPermission=new Array();this.properties=new Array();this.licuser=null;this.licpw=null;this.linuxHost=null;this.portHTTP=null;this.portHTTPS=null;this.keystorePath=null;this.keystorePassword=null;this.keyPassword=null;this.persistorClass=null;this.maxCacheObjects=null;this.cacheCheckTime=null;
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
DeployDescriptor.prototype.getProfile=function(){return this.profile;};
DeployDescriptor.prototype.setProfile=function(param){this.profile=param;};
DeployDescriptor.prototype.getJarDomain=function(){return this.jarDomain;};
DeployDescriptor.prototype.setJarDomain=function(param){this.jarDomain=param;};
DeployDescriptor.prototype.getWebDomain=function(){return this.webDomain;};
DeployDescriptor.prototype.setWebDomain=function(param){this.webDomain=param;};
DeployDescriptor.prototype.getGeneralPermission=function(){return this.generalPermission;};
DeployDescriptor.prototype.setGeneralPermission=function(param){this.generalPermission=param;};
DeployDescriptor.prototype.getProperties=function(){return this.properties;};
DeployDescriptor.prototype.setProperties=function(param){this.properties=param;};
DeployDescriptor.prototype.getLicuser=function(){return this.licuser;};
DeployDescriptor.prototype.setLicuser=function(param){this.licuser=param;};
DeployDescriptor.prototype.getLicpw=function(){return this.licpw;};
DeployDescriptor.prototype.setLicpw=function(param){this.licpw=param;};
DeployDescriptor.prototype.getLinuxHost=function(){return this.linuxHost;};
DeployDescriptor.prototype.setLinuxHost=function(param){this.linuxHost=param;};
DeployDescriptor.prototype.getPortHTTP=function(){return this.portHTTP;};
DeployDescriptor.prototype.setPortHTTP=function(param){this.portHTTP=param;};
DeployDescriptor.prototype.getPortHTTPS=function(){return this.portHTTPS;};
DeployDescriptor.prototype.setPortHTTPS=function(param){this.portHTTPS=param;};
DeployDescriptor.prototype.getKeystorePath=function(){return this.keystorePath;};
DeployDescriptor.prototype.setKeystorePath=function(param){this.keystorePath=param;};
DeployDescriptor.prototype.getKeystorePassword=function(){return this.keystorePassword;};
DeployDescriptor.prototype.setKeystorePassword=function(param){this.keystorePassword=param;};
DeployDescriptor.prototype.getKeyPassword=function(){return this.keyPassword;};
DeployDescriptor.prototype.setKeyPassword=function(param){this.keyPassword=param;};
DeployDescriptor.prototype.getPersistorClass=function(){return this.persistorClass;};
DeployDescriptor.prototype.setPersistorClass=function(param){this.persistorClass=param;};
DeployDescriptor.prototype.getMaxCacheObjects=function(){return this.maxCacheObjects;};
DeployDescriptor.prototype.setMaxCacheObjects=function(param){this.maxCacheObjects=param;};
DeployDescriptor.prototype.getCacheCheckTime=function(){return this.cacheCheckTime;};
DeployDescriptor.prototype.setCacheCheckTime=function(param){this.cacheCheckTime=param;};
DeployDescriptor.prototype.toString=function(){return 'DeployDescriptor';};
DeployDescriptor.prototype.getInstance=function(){return new DeployDescriptor();};
DeployDescriptor.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?DeployDescriptor') == 0);};return (obj.toString() == 'DeployDescriptor');};
DeployDescriptor.prototype.isClassProperty=function(param){return (DeployDescriptor.prototype[param] == undefined);};
DeployDescriptor.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
DeployDescriptor.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
DeployDescriptor.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
DeployDescriptor.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function Error(jsonstring){
this.id=null;this.message=null;this.type=null;this.exception=null;
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
Error.prototype.getId=function(){return this.id;};
Error.prototype.setId=function(param){this.id=param;};
Error.prototype.getMessage=function(){return this.message;};
Error.prototype.setMessage=function(param){this.message=param;};
Error.prototype.getType=function(){return this.type;};
Error.prototype.setType=function(param){this.type=param;};
Error.prototype.getException=function(){return this.exception;};
Error.prototype.setException=function(param){this.exception=param;};
Error.prototype.toString=function(){return 'Error';};
Error.prototype.getInstance=function(){return new Error();};
Error.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?Error') == 0);};return (obj.toString() == 'Error');};
Error.prototype.isClassProperty=function(param){return (Error.prototype[param] == undefined);};
Error.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
Error.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
Error.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
Error.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function GridDomains(jsonstring){
this.jarDomain=new Array();this.webDomain=new Array();
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
GridDomains.prototype.getJarDomain=function(){return this.jarDomain;};
GridDomains.prototype.setJarDomain=function(param){this.jarDomain=param;};
GridDomains.prototype.getWebDomain=function(){return this.webDomain;};
GridDomains.prototype.setWebDomain=function(param){this.webDomain=param;};
GridDomains.prototype.toString=function(){return 'GridDomains';};
GridDomains.prototype.getInstance=function(){return new GridDomains();};
GridDomains.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?GridDomains') == 0);};return (obj.toString() == 'GridDomains');};
GridDomains.prototype.isClassProperty=function(param){return (GridDomains.prototype[param] == undefined);};
GridDomains.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
GridDomains.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
GridDomains.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
GridDomains.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function JarDomainInfo(jsonstring){
this.jarFiles=new Array();this.jarDomain=null;this.runtimeMode=null;this.storagePath=null;this.execLogPath=null;this.aesKey=null;
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
JarDomainInfo.prototype.getJarFiles=function(){return this.jarFiles;};
JarDomainInfo.prototype.setJarFiles=function(param){this.jarFiles=param;};
JarDomainInfo.prototype.getJarDomain=function(){return this.jarDomain;};
JarDomainInfo.prototype.setJarDomain=function(param){this.jarDomain=param;};
JarDomainInfo.prototype.getRuntimeMode=function(){return this.runtimeMode;};
JarDomainInfo.prototype.setRuntimeMode=function(param){this.runtimeMode=param;};
JarDomainInfo.prototype.getStoragePath=function(){return this.storagePath;};
JarDomainInfo.prototype.setStoragePath=function(param){this.storagePath=param;};
JarDomainInfo.prototype.getExecLogPath=function(){return this.execLogPath;};
JarDomainInfo.prototype.setExecLogPath=function(param){this.execLogPath=param;};
JarDomainInfo.prototype.getAesKey=function(){return this.aesKey;};
JarDomainInfo.prototype.setAesKey=function(param){this.aesKey=param;};
JarDomainInfo.prototype.toString=function(){return 'JarDomainInfo';};
JarDomainInfo.prototype.getInstance=function(){return new JarDomainInfo();};
JarDomainInfo.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?JarDomainInfo') == 0);};return (obj.toString() == 'JarDomainInfo');};
JarDomainInfo.prototype.isClassProperty=function(param){return (JarDomainInfo.prototype[param] == undefined);};
JarDomainInfo.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
JarDomainInfo.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
JarDomainInfo.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
JarDomainInfo.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function JarInfo(jsonstring){
this.packageName=new Array();this.runtimeData=new Array();this.jarFilename=null;this.jarDomain=null;
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
JarInfo.prototype.getPackageName=function(){return this.packageName;};
JarInfo.prototype.setPackageName=function(param){this.packageName=param;};
JarInfo.prototype.getRuntimeData=function(){return this.runtimeData;};
JarInfo.prototype.setRuntimeData=function(param){this.runtimeData=param;};
JarInfo.prototype.getJarFilename=function(){return this.jarFilename;};
JarInfo.prototype.setJarFilename=function(param){this.jarFilename=param;};
JarInfo.prototype.getJarDomain=function(){return this.jarDomain;};
JarInfo.prototype.setJarDomain=function(param){this.jarDomain=param;};
JarInfo.prototype.toString=function(){return 'JarInfo';};
JarInfo.prototype.getInstance=function(){return new JarInfo();};
JarInfo.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?JarInfo') == 0);};return (obj.toString() == 'JarInfo');};
JarInfo.prototype.isClassProperty=function(param){return (JarInfo.prototype[param] == undefined);};
JarInfo.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
JarInfo.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
JarInfo.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
JarInfo.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function NodeState(jsonstring){
this.system=null;this.stack=null;this.threads=new Array();this.deployment=null;this.profileName=null;this.running=false;this.info=null;this.timestamp=null;this.nodeConnections=0;this.restConnections=0;this.stackConnections=0;this.restSessions=null;this.classLoaderDump=null;
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
NodeState.prototype.getSystem=function(){return this.system;};
NodeState.prototype.setSystem=function(param){this.system=param;};
NodeState.prototype.getStack=function(){return this.stack;};
NodeState.prototype.setStack=function(param){this.stack=param;};
NodeState.prototype.getThreads=function(){return this.threads;};
NodeState.prototype.setThreads=function(param){this.threads=param;};
NodeState.prototype.getDeployment=function(){return this.deployment;};
NodeState.prototype.setDeployment=function(param){this.deployment=param;};
NodeState.prototype.getProfileName=function(){return this.profileName;};
NodeState.prototype.setProfileName=function(param){this.profileName=param;};
NodeState.prototype.getRunning=function(){return this.running;};
NodeState.prototype.setRunning=function(param){this.running=param;};
NodeState.prototype.getInfo=function(){return this.info;};
NodeState.prototype.setInfo=function(param){this.info=param;};
NodeState.prototype.getTimestamp=function(){return this.timestamp;};
NodeState.prototype.setTimestamp=function(param){this.timestamp=param;};
NodeState.prototype.getNodeConnections=function(){return this.nodeConnections;};
NodeState.prototype.setNodeConnections=function(param){this.nodeConnections=param;};
NodeState.prototype.getRestConnections=function(){return this.restConnections;};
NodeState.prototype.setRestConnections=function(param){this.restConnections=param;};
NodeState.prototype.getStackConnections=function(){return this.stackConnections;};
NodeState.prototype.setStackConnections=function(param){this.stackConnections=param;};
NodeState.prototype.getRestSessions=function(){return this.restSessions;};
NodeState.prototype.setRestSessions=function(param){this.restSessions=param;};
NodeState.prototype.getClassLoaderDump=function(){return this.classLoaderDump;};
NodeState.prototype.setClassLoaderDump=function(param){this.classLoaderDump=param;};
NodeState.prototype.toString=function(){return 'NodeState';};
NodeState.prototype.getInstance=function(){return new NodeState();};
NodeState.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?NodeState') == 0);};return (obj.toString() == 'NodeState');};
NodeState.prototype.isClassProperty=function(param){return (NodeState.prototype[param] == undefined);};
NodeState.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
NodeState.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
NodeState.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
NodeState.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function Permission(jsonstring){
this.roles=new Array();this.jarDomain=null;
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
Permission.prototype.getRoles=function(){return this.roles;};
Permission.prototype.setRoles=function(param){this.roles=param;};
Permission.prototype.getJarDomain=function(){return this.jarDomain;};
Permission.prototype.setJarDomain=function(param){this.jarDomain=param;};
Permission.prototype.toString=function(){return 'Permission';};
Permission.prototype.getInstance=function(){return new Permission();};
Permission.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?Permission') == 0);};return (obj.toString() == 'Permission');};
Permission.prototype.isClassProperty=function(param){return (Permission.prototype[param] == undefined);};
Permission.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
Permission.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
Permission.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
Permission.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function Property(jsonstring){
this.name=null;this.value=null;
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
Property.prototype.getName=function(){return this.name;};
Property.prototype.setName=function(param){this.name=param;};
Property.prototype.getValue=function(){return this.value;};
Property.prototype.setValue=function(param){this.value=param;};
Property.prototype.toString=function(){return 'Property';};
Property.prototype.getInstance=function(){return new Property();};
Property.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?Property') == 0);};return (obj.toString() == 'Property');};
Property.prototype.isClassProperty=function(param){return (Property.prototype[param] == undefined);};
Property.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
Property.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
Property.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
Property.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function RESTNode(jsonstring){
this.domains=new Array();this.portHTTP=null;this.portHTTPS=null;this.keystorePath=null;this.keystorePassword=null;this.keyPassword=null;this.profile=null;this.generalPermission=new Array();this.licFilename=null;this.sessionExceptions=null;this.permissionExceptions=null;this.requestExceptions=null;
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
RESTNode.prototype.getDomains=function(){return this.domains;};
RESTNode.prototype.setDomains=function(param){this.domains=param;};
RESTNode.prototype.getPortHTTP=function(){return this.portHTTP;};
RESTNode.prototype.setPortHTTP=function(param){this.portHTTP=param;};
RESTNode.prototype.getPortHTTPS=function(){return this.portHTTPS;};
RESTNode.prototype.setPortHTTPS=function(param){this.portHTTPS=param;};
RESTNode.prototype.getKeystorePath=function(){return this.keystorePath;};
RESTNode.prototype.setKeystorePath=function(param){this.keystorePath=param;};
RESTNode.prototype.getKeystorePassword=function(){return this.keystorePassword;};
RESTNode.prototype.setKeystorePassword=function(param){this.keystorePassword=param;};
RESTNode.prototype.getKeyPassword=function(){return this.keyPassword;};
RESTNode.prototype.setKeyPassword=function(param){this.keyPassword=param;};
RESTNode.prototype.getProfile=function(){return this.profile;};
RESTNode.prototype.setProfile=function(param){this.profile=param;};
RESTNode.prototype.getGeneralPermission=function(){return this.generalPermission;};
RESTNode.prototype.setGeneralPermission=function(param){this.generalPermission=param;};
RESTNode.prototype.getLicFilename=function(){return this.licFilename;};
RESTNode.prototype.setLicFilename=function(param){this.licFilename=param;};
RESTNode.prototype.getSessionExceptions=function(){return this.sessionExceptions;};
RESTNode.prototype.setSessionExceptions=function(param){this.sessionExceptions=param;};
RESTNode.prototype.getPermissionExceptions=function(){return this.permissionExceptions;};
RESTNode.prototype.setPermissionExceptions=function(param){this.permissionExceptions=param;};
RESTNode.prototype.getRequestExceptions=function(){return this.requestExceptions;};
RESTNode.prototype.setRequestExceptions=function(param){this.requestExceptions=param;};
RESTNode.prototype.toString=function(){return 'RESTNode';};
RESTNode.prototype.getInstance=function(){return new RESTNode();};
RESTNode.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?RESTNode') == 0);};return (obj.toString() == 'RESTNode');};
RESTNode.prototype.isClassProperty=function(param){return (RESTNode.prototype[param] == undefined);};
RESTNode.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
RESTNode.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
RESTNode.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
RESTNode.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function ResoaClient(jsonstring){
this.jarDomains=new Array();this.profile=null;this.generalPermission=new Array();this.licFilename=null;this.sessionExceptions=null;this.permissionExceptions=null;this.requestExceptions=null;
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
ResoaClient.prototype.getJarDomains=function(){return this.jarDomains;};
ResoaClient.prototype.setJarDomains=function(param){this.jarDomains=param;};
ResoaClient.prototype.getProfile=function(){return this.profile;};
ResoaClient.prototype.setProfile=function(param){this.profile=param;};
ResoaClient.prototype.getGeneralPermission=function(){return this.generalPermission;};
ResoaClient.prototype.setGeneralPermission=function(param){this.generalPermission=param;};
ResoaClient.prototype.getLicFilename=function(){return this.licFilename;};
ResoaClient.prototype.setLicFilename=function(param){this.licFilename=param;};
ResoaClient.prototype.getSessionExceptions=function(){return this.sessionExceptions;};
ResoaClient.prototype.setSessionExceptions=function(param){this.sessionExceptions=param;};
ResoaClient.prototype.getPermissionExceptions=function(){return this.permissionExceptions;};
ResoaClient.prototype.setPermissionExceptions=function(param){this.permissionExceptions=param;};
ResoaClient.prototype.getRequestExceptions=function(){return this.requestExceptions;};
ResoaClient.prototype.setRequestExceptions=function(param){this.requestExceptions=param;};
ResoaClient.prototype.toString=function(){return 'ResoaClient';};
ResoaClient.prototype.getInstance=function(){return new ResoaClient();};
ResoaClient.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?ResoaClient') == 0);};return (obj.toString() == 'ResoaClient');};
ResoaClient.prototype.isClassProperty=function(param){return (ResoaClient.prototype[param] == undefined);};
ResoaClient.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
ResoaClient.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
ResoaClient.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
ResoaClient.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function ResoaComponent(jsonstring){
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
ResoaComponent.prototype.toString=function(){return 'ResoaComponent';};
ResoaComponent.prototype.getInstance=function(){return new ResoaComponent();};
ResoaComponent.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?ResoaComponent') == 0);};return (obj.toString() == 'ResoaComponent');};
ResoaComponent.prototype.isClassProperty=function(param){return (ResoaComponent.prototype[param] == undefined);};
ResoaComponent.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
ResoaComponent.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
ResoaComponent.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
ResoaComponent.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function ResoaInfo(jsonstring){
this.resoaNodes=new Array();this.restNodes=new Array();this.resoaClients=new Array();this.jarDomain=new Array();this.name=null;this.revision=null;this.refreshClassloader=null;
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
ResoaInfo.prototype.getResoaNodes=function(){return this.resoaNodes;};
ResoaInfo.prototype.setResoaNodes=function(param){this.resoaNodes=param;};
ResoaInfo.prototype.getRestNodes=function(){return this.restNodes;};
ResoaInfo.prototype.setRestNodes=function(param){this.restNodes=param;};
ResoaInfo.prototype.getResoaClients=function(){return this.resoaClients;};
ResoaInfo.prototype.setResoaClients=function(param){this.resoaClients=param;};
ResoaInfo.prototype.getJarDomain=function(){return this.jarDomain;};
ResoaInfo.prototype.setJarDomain=function(param){this.jarDomain=param;};
ResoaInfo.prototype.getName=function(){return this.name;};
ResoaInfo.prototype.setName=function(param){this.name=param;};
ResoaInfo.prototype.getRevision=function(){return this.revision;};
ResoaInfo.prototype.setRevision=function(param){this.revision=param;};
ResoaInfo.prototype.getRefreshClassloader=function(){return this.refreshClassloader;};
ResoaInfo.prototype.setRefreshClassloader=function(param){this.refreshClassloader=param;};
ResoaInfo.prototype.toString=function(){return 'ResoaInfo';};
ResoaInfo.prototype.getInstance=function(){return new ResoaInfo();};
ResoaInfo.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?ResoaInfo') == 0);};return (obj.toString() == 'ResoaInfo');};
ResoaInfo.prototype.isClassProperty=function(param){return (ResoaInfo.prototype[param] == undefined);};
ResoaInfo.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
ResoaInfo.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
ResoaInfo.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
ResoaInfo.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function ResoaNode(jsonstring){
this.jarDomains=new Array();this.properties=new Array();this.persistorClass=null;this.maxCacheObjects=null;this.cacheCheckTime=null;this.profile=null;this.generalPermission=new Array();this.licFilename=null;this.sessionExceptions=null;this.permissionExceptions=null;this.requestExceptions=null;
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
ResoaNode.prototype.getJarDomains=function(){return this.jarDomains;};
ResoaNode.prototype.setJarDomains=function(param){this.jarDomains=param;};
ResoaNode.prototype.getProperties=function(){return this.properties;};
ResoaNode.prototype.setProperties=function(param){this.properties=param;};
ResoaNode.prototype.getPersistorClass=function(){return this.persistorClass;};
ResoaNode.prototype.setPersistorClass=function(param){this.persistorClass=param;};
ResoaNode.prototype.getMaxCacheObjects=function(){return this.maxCacheObjects;};
ResoaNode.prototype.setMaxCacheObjects=function(param){this.maxCacheObjects=param;};
ResoaNode.prototype.getCacheCheckTime=function(){return this.cacheCheckTime;};
ResoaNode.prototype.setCacheCheckTime=function(param){this.cacheCheckTime=param;};
ResoaNode.prototype.getProfile=function(){return this.profile;};
ResoaNode.prototype.setProfile=function(param){this.profile=param;};
ResoaNode.prototype.getGeneralPermission=function(){return this.generalPermission;};
ResoaNode.prototype.setGeneralPermission=function(param){this.generalPermission=param;};
ResoaNode.prototype.getLicFilename=function(){return this.licFilename;};
ResoaNode.prototype.setLicFilename=function(param){this.licFilename=param;};
ResoaNode.prototype.getSessionExceptions=function(){return this.sessionExceptions;};
ResoaNode.prototype.setSessionExceptions=function(param){this.sessionExceptions=param;};
ResoaNode.prototype.getPermissionExceptions=function(){return this.permissionExceptions;};
ResoaNode.prototype.setPermissionExceptions=function(param){this.permissionExceptions=param;};
ResoaNode.prototype.getRequestExceptions=function(){return this.requestExceptions;};
ResoaNode.prototype.setRequestExceptions=function(param){this.requestExceptions=param;};
ResoaNode.prototype.toString=function(){return 'ResoaNode';};
ResoaNode.prototype.getInstance=function(){return new ResoaNode();};
ResoaNode.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?ResoaNode') == 0);};return (obj.toString() == 'ResoaNode');};
ResoaNode.prototype.isClassProperty=function(param){return (ResoaNode.prototype[param] == undefined);};
ResoaNode.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
ResoaNode.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
ResoaNode.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
ResoaNode.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function RestSession(jsonstring){
this.permissions=new Array();this.sessionID=null;this.sessionHTTPS=null;this.userID=null;this.dns=null;this.timeout=null;
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
RestSession.prototype.getPermissions=function(){return this.permissions;};
RestSession.prototype.setPermissions=function(param){this.permissions=param;};
RestSession.prototype.getSessionID=function(){return this.sessionID;};
RestSession.prototype.setSessionID=function(param){this.sessionID=param;};
RestSession.prototype.getSessionHTTPS=function(){return this.sessionHTTPS;};
RestSession.prototype.setSessionHTTPS=function(param){this.sessionHTTPS=param;};
RestSession.prototype.getUserID=function(){return this.userID;};
RestSession.prototype.setUserID=function(param){this.userID=param;};
RestSession.prototype.getDns=function(){return this.dns;};
RestSession.prototype.setDns=function(param){this.dns=param;};
RestSession.prototype.getTimeout=function(){return this.timeout;};
RestSession.prototype.setTimeout=function(param){this.timeout=param;};
RestSession.prototype.toString=function(){return 'RestSession';};
RestSession.prototype.getInstance=function(){return new RestSession();};
RestSession.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?RestSession') == 0);};return (obj.toString() == 'RestSession');};
RestSession.prototype.isClassProperty=function(param){return (RestSession.prototype[param] == undefined);};
RestSession.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
RestSession.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
RestSession.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
RestSession.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function RestletRoute(jsonstring){
this.uriPattern=null;this.restletClass=null;this.prefix=null;this.sessionURL=null;this.secureURL=null;
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
RestletRoute.prototype.getUriPattern=function(){return this.uriPattern;};
RestletRoute.prototype.setUriPattern=function(param){this.uriPattern=param;};
RestletRoute.prototype.getRestletClass=function(){return this.restletClass;};
RestletRoute.prototype.setRestletClass=function(param){this.restletClass=param;};
RestletRoute.prototype.getPrefix=function(){return this.prefix;};
RestletRoute.prototype.setPrefix=function(param){this.prefix=param;};
RestletRoute.prototype.getSessionURL=function(){return this.sessionURL;};
RestletRoute.prototype.setSessionURL=function(param){this.sessionURL=param;};
RestletRoute.prototype.getSecureURL=function(){return this.secureURL;};
RestletRoute.prototype.setSecureURL=function(param){this.secureURL=param;};
RestletRoute.prototype.toString=function(){return 'RestletRoute';};
RestletRoute.prototype.getInstance=function(){return new RestletRoute();};
RestletRoute.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?RestletRoute') == 0);};return (obj.toString() == 'RestletRoute');};
RestletRoute.prototype.isClassProperty=function(param){return (RestletRoute.prototype[param] == undefined);};
RestletRoute.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
RestletRoute.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
RestletRoute.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
RestletRoute.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function RuntimeInfo(jsonstring){
this.jarDomain=null;this.newMode=null;
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
RuntimeInfo.prototype.getJarDomain=function(){return this.jarDomain;};
RuntimeInfo.prototype.setJarDomain=function(param){this.jarDomain=param;};
RuntimeInfo.prototype.getNewMode=function(){return this.newMode;};
RuntimeInfo.prototype.setNewMode=function(param){this.newMode=param;};
RuntimeInfo.prototype.toString=function(){return 'RuntimeInfo';};
RuntimeInfo.prototype.getInstance=function(){return new RuntimeInfo();};
RuntimeInfo.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?RuntimeInfo') == 0);};return (obj.toString() == 'RuntimeInfo');};
RuntimeInfo.prototype.isClassProperty=function(param){return (RuntimeInfo.prototype[param] == undefined);};
RuntimeInfo.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
RuntimeInfo.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
RuntimeInfo.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
RuntimeInfo.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function WebDomainInfo(jsonstring){
this.appInfo=null;this.routes=new Array();this.jarDomain=new Array();this.language=new Array();this.responseHeaderProp=new Array();this.domainName=null;this.cookieDomain=null;this.staticPath=null;this.loginURL=null;this.errorURL=null;
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
WebDomainInfo.prototype.getAppInfo=function(){return this.appInfo;};
WebDomainInfo.prototype.setAppInfo=function(param){this.appInfo=param;};
WebDomainInfo.prototype.getRoutes=function(){return this.routes;};
WebDomainInfo.prototype.setRoutes=function(param){this.routes=param;};
WebDomainInfo.prototype.getJarDomain=function(){return this.jarDomain;};
WebDomainInfo.prototype.setJarDomain=function(param){this.jarDomain=param;};
WebDomainInfo.prototype.getLanguage=function(){return this.language;};
WebDomainInfo.prototype.setLanguage=function(param){this.language=param;};
WebDomainInfo.prototype.getResponseHeaderProp=function(){return this.responseHeaderProp;};
WebDomainInfo.prototype.setResponseHeaderProp=function(param){this.responseHeaderProp=param;};
WebDomainInfo.prototype.getDomainName=function(){return this.domainName;};
WebDomainInfo.prototype.setDomainName=function(param){this.domainName=param;};
WebDomainInfo.prototype.getCookieDomain=function(){return this.cookieDomain;};
WebDomainInfo.prototype.setCookieDomain=function(param){this.cookieDomain=param;};
WebDomainInfo.prototype.getStaticPath=function(){return this.staticPath;};
WebDomainInfo.prototype.setStaticPath=function(param){this.staticPath=param;};
WebDomainInfo.prototype.getLoginURL=function(){return this.loginURL;};
WebDomainInfo.prototype.setLoginURL=function(param){this.loginURL=param;};
WebDomainInfo.prototype.getErrorURL=function(){return this.errorURL;};
WebDomainInfo.prototype.setErrorURL=function(param){this.errorURL=param;};
WebDomainInfo.prototype.toString=function(){return 'WebDomainInfo';};
WebDomainInfo.prototype.getInstance=function(){return new WebDomainInfo();};
WebDomainInfo.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?WebDomainInfo') == 0);};return (obj.toString() == 'WebDomainInfo');};
WebDomainInfo.prototype.isClassProperty=function(param){return (WebDomainInfo.prototype[param] == undefined);};
WebDomainInfo.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
WebDomainInfo.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
WebDomainInfo.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
WebDomainInfo.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
return{ActiveNodeList:ActiveNodeList,ApplicationInfo:ApplicationInfo,DeployDescriptor:DeployDescriptor,Error:Error,GridDomains:GridDomains,JarDomainInfo:JarDomainInfo,JarInfo:JarInfo,NodeState:NodeState,Permission:Permission,Property:Property,RESTNode:RESTNode,ResoaClient:ResoaClient,ResoaComponent:ResoaComponent,ResoaInfo:ResoaInfo,ResoaNode:ResoaNode,RestSession:RestSession,RestletRoute:RestletRoute,RuntimeInfo:RuntimeInfo,WebDomainInfo:WebDomainInfo};})();