forked from Coded/SIPRP
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8107 lines
311 KiB
8107 lines
311 KiB
//
|
|
// Definitions for schema: null
|
|
// http://localhost:8080/safemode/safemode-ws/legislacao-edit?wsdl=1#types1
|
|
//
|
|
//
|
|
// Definitions for schema: http://ws.safemode.pt/
|
|
// http://localhost:8080/safemode/safemode-ws/legislacao-edit?xsd=1
|
|
//
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}alteracaoBean
|
|
//
|
|
function ws_safemode_pt__alteracaoBean () {
|
|
this.typeMarker = 'ws_safemode_pt__alteracaoBean';
|
|
this._designacao = null;
|
|
this._id = null;
|
|
this._detalhes = null;
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__alteracaoBean.prototype.getDesignacao
|
|
// element get for designacao
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for designacao
|
|
// setter function is is ws_safemode_pt__alteracaoBean.prototype.setDesignacao
|
|
//
|
|
function ws_safemode_pt__alteracaoBean_getDesignacao() { return this._designacao;}
|
|
|
|
ws_safemode_pt__alteracaoBean.prototype.getDesignacao = ws_safemode_pt__alteracaoBean_getDesignacao;
|
|
|
|
function ws_safemode_pt__alteracaoBean_setDesignacao(value) { this._designacao = value;}
|
|
|
|
ws_safemode_pt__alteracaoBean.prototype.setDesignacao = ws_safemode_pt__alteracaoBean_setDesignacao;
|
|
//
|
|
// accessor is ws_safemode_pt__alteracaoBean.prototype.getId
|
|
// element get for id
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}int
|
|
// - optional element
|
|
//
|
|
// element set for id
|
|
// setter function is is ws_safemode_pt__alteracaoBean.prototype.setId
|
|
//
|
|
function ws_safemode_pt__alteracaoBean_getId() { return this._id;}
|
|
|
|
ws_safemode_pt__alteracaoBean.prototype.getId = ws_safemode_pt__alteracaoBean_getId;
|
|
|
|
function ws_safemode_pt__alteracaoBean_setId(value) { this._id = value;}
|
|
|
|
ws_safemode_pt__alteracaoBean.prototype.setId = ws_safemode_pt__alteracaoBean_setId;
|
|
//
|
|
// accessor is ws_safemode_pt__alteracaoBean.prototype.getDetalhes
|
|
// element get for detalhes
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for detalhes
|
|
// setter function is is ws_safemode_pt__alteracaoBean.prototype.setDetalhes
|
|
//
|
|
function ws_safemode_pt__alteracaoBean_getDetalhes() { return this._detalhes;}
|
|
|
|
ws_safemode_pt__alteracaoBean.prototype.getDetalhes = ws_safemode_pt__alteracaoBean_getDetalhes;
|
|
|
|
function ws_safemode_pt__alteracaoBean_setDetalhes(value) { this._detalhes = value;}
|
|
|
|
ws_safemode_pt__alteracaoBean.prototype.setDetalhes = ws_safemode_pt__alteracaoBean_setDetalhes;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}alteracaoBean
|
|
//
|
|
function ws_safemode_pt__alteracaoBean_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._designacao != null) {
|
|
xml = xml + '<designacao>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._designacao);
|
|
xml = xml + '</designacao>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._id != null) {
|
|
xml = xml + '<id>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._id);
|
|
xml = xml + '</id>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._detalhes != null) {
|
|
xml = xml + '<detalhes>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._detalhes);
|
|
xml = xml + '</detalhes>';
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__alteracaoBean.prototype.serialize = ws_safemode_pt__alteracaoBean_serialize;
|
|
|
|
function ws_safemode_pt__alteracaoBean_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__alteracaoBean();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing designacao');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'designacao')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setDesignacao(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing id');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'id')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = parseInt(value);
|
|
}
|
|
newobject.setId(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing detalhes');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'detalhes')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setDetalhes(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}legEntidadeReguladoraBean
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBean () {
|
|
this.typeMarker = 'ws_safemode_pt__legEntidadeReguladoraBean';
|
|
this._id = null;
|
|
this._created_stamp = null;
|
|
this._created_user_id = null;
|
|
this._deleted_stamp = null;
|
|
this._deleted_user_id = null;
|
|
this._codigo = null;
|
|
this._abreviatura = null;
|
|
this._designacao = null;
|
|
this._descricao = null;
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__legEntidadeReguladoraBean.prototype.getId
|
|
// element get for id
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}int
|
|
// - optional element
|
|
//
|
|
// element set for id
|
|
// setter function is is ws_safemode_pt__legEntidadeReguladoraBean.prototype.setId
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBean_getId() { return this._id;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBean.prototype.getId = ws_safemode_pt__legEntidadeReguladoraBean_getId;
|
|
|
|
function ws_safemode_pt__legEntidadeReguladoraBean_setId(value) { this._id = value;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBean.prototype.setId = ws_safemode_pt__legEntidadeReguladoraBean_setId;
|
|
//
|
|
// accessor is ws_safemode_pt__legEntidadeReguladoraBean.prototype.getCreated_stamp
|
|
// element get for created_stamp
|
|
// - element type is {http://ws.safemode.pt/}timestamp
|
|
// - optional element
|
|
//
|
|
// element set for created_stamp
|
|
// setter function is is ws_safemode_pt__legEntidadeReguladoraBean.prototype.setCreated_stamp
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBean_getCreated_stamp() { return this._created_stamp;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBean.prototype.getCreated_stamp = ws_safemode_pt__legEntidadeReguladoraBean_getCreated_stamp;
|
|
|
|
function ws_safemode_pt__legEntidadeReguladoraBean_setCreated_stamp(value) { this._created_stamp = value;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBean.prototype.setCreated_stamp = ws_safemode_pt__legEntidadeReguladoraBean_setCreated_stamp;
|
|
//
|
|
// accessor is ws_safemode_pt__legEntidadeReguladoraBean.prototype.getCreated_user_id
|
|
// element get for created_user_id
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}int
|
|
// - optional element
|
|
//
|
|
// element set for created_user_id
|
|
// setter function is is ws_safemode_pt__legEntidadeReguladoraBean.prototype.setCreated_user_id
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBean_getCreated_user_id() { return this._created_user_id;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBean.prototype.getCreated_user_id = ws_safemode_pt__legEntidadeReguladoraBean_getCreated_user_id;
|
|
|
|
function ws_safemode_pt__legEntidadeReguladoraBean_setCreated_user_id(value) { this._created_user_id = value;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBean.prototype.setCreated_user_id = ws_safemode_pt__legEntidadeReguladoraBean_setCreated_user_id;
|
|
//
|
|
// accessor is ws_safemode_pt__legEntidadeReguladoraBean.prototype.getDeleted_stamp
|
|
// element get for deleted_stamp
|
|
// - element type is {http://ws.safemode.pt/}timestamp
|
|
// - optional element
|
|
//
|
|
// element set for deleted_stamp
|
|
// setter function is is ws_safemode_pt__legEntidadeReguladoraBean.prototype.setDeleted_stamp
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBean_getDeleted_stamp() { return this._deleted_stamp;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBean.prototype.getDeleted_stamp = ws_safemode_pt__legEntidadeReguladoraBean_getDeleted_stamp;
|
|
|
|
function ws_safemode_pt__legEntidadeReguladoraBean_setDeleted_stamp(value) { this._deleted_stamp = value;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBean.prototype.setDeleted_stamp = ws_safemode_pt__legEntidadeReguladoraBean_setDeleted_stamp;
|
|
//
|
|
// accessor is ws_safemode_pt__legEntidadeReguladoraBean.prototype.getDeleted_user_id
|
|
// element get for deleted_user_id
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}int
|
|
// - optional element
|
|
//
|
|
// element set for deleted_user_id
|
|
// setter function is is ws_safemode_pt__legEntidadeReguladoraBean.prototype.setDeleted_user_id
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBean_getDeleted_user_id() { return this._deleted_user_id;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBean.prototype.getDeleted_user_id = ws_safemode_pt__legEntidadeReguladoraBean_getDeleted_user_id;
|
|
|
|
function ws_safemode_pt__legEntidadeReguladoraBean_setDeleted_user_id(value) { this._deleted_user_id = value;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBean.prototype.setDeleted_user_id = ws_safemode_pt__legEntidadeReguladoraBean_setDeleted_user_id;
|
|
//
|
|
// accessor is ws_safemode_pt__legEntidadeReguladoraBean.prototype.getCodigo
|
|
// element get for codigo
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for codigo
|
|
// setter function is is ws_safemode_pt__legEntidadeReguladoraBean.prototype.setCodigo
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBean_getCodigo() { return this._codigo;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBean.prototype.getCodigo = ws_safemode_pt__legEntidadeReguladoraBean_getCodigo;
|
|
|
|
function ws_safemode_pt__legEntidadeReguladoraBean_setCodigo(value) { this._codigo = value;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBean.prototype.setCodigo = ws_safemode_pt__legEntidadeReguladoraBean_setCodigo;
|
|
//
|
|
// accessor is ws_safemode_pt__legEntidadeReguladoraBean.prototype.getAbreviatura
|
|
// element get for abreviatura
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for abreviatura
|
|
// setter function is is ws_safemode_pt__legEntidadeReguladoraBean.prototype.setAbreviatura
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBean_getAbreviatura() { return this._abreviatura;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBean.prototype.getAbreviatura = ws_safemode_pt__legEntidadeReguladoraBean_getAbreviatura;
|
|
|
|
function ws_safemode_pt__legEntidadeReguladoraBean_setAbreviatura(value) { this._abreviatura = value;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBean.prototype.setAbreviatura = ws_safemode_pt__legEntidadeReguladoraBean_setAbreviatura;
|
|
//
|
|
// accessor is ws_safemode_pt__legEntidadeReguladoraBean.prototype.getDesignacao
|
|
// element get for designacao
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for designacao
|
|
// setter function is is ws_safemode_pt__legEntidadeReguladoraBean.prototype.setDesignacao
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBean_getDesignacao() { return this._designacao;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBean.prototype.getDesignacao = ws_safemode_pt__legEntidadeReguladoraBean_getDesignacao;
|
|
|
|
function ws_safemode_pt__legEntidadeReguladoraBean_setDesignacao(value) { this._designacao = value;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBean.prototype.setDesignacao = ws_safemode_pt__legEntidadeReguladoraBean_setDesignacao;
|
|
//
|
|
// accessor is ws_safemode_pt__legEntidadeReguladoraBean.prototype.getDescricao
|
|
// element get for descricao
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for descricao
|
|
// setter function is is ws_safemode_pt__legEntidadeReguladoraBean.prototype.setDescricao
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBean_getDescricao() { return this._descricao;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBean.prototype.getDescricao = ws_safemode_pt__legEntidadeReguladoraBean_getDescricao;
|
|
|
|
function ws_safemode_pt__legEntidadeReguladoraBean_setDescricao(value) { this._descricao = value;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBean.prototype.setDescricao = ws_safemode_pt__legEntidadeReguladoraBean_setDescricao;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}legEntidadeReguladoraBean
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBean_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._id != null) {
|
|
xml = xml + '<id>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._id);
|
|
xml = xml + '</id>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._created_stamp != null) {
|
|
xml = xml + this._created_stamp.serialize(cxfjsutils, 'created_stamp', null);
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._created_user_id != null) {
|
|
xml = xml + '<created_user_id>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._created_user_id);
|
|
xml = xml + '</created_user_id>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._deleted_stamp != null) {
|
|
xml = xml + this._deleted_stamp.serialize(cxfjsutils, 'deleted_stamp', null);
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._deleted_user_id != null) {
|
|
xml = xml + '<deleted_user_id>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._deleted_user_id);
|
|
xml = xml + '</deleted_user_id>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._codigo != null) {
|
|
xml = xml + '<codigo>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._codigo);
|
|
xml = xml + '</codigo>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._abreviatura != null) {
|
|
xml = xml + '<abreviatura>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._abreviatura);
|
|
xml = xml + '</abreviatura>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._designacao != null) {
|
|
xml = xml + '<designacao>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._designacao);
|
|
xml = xml + '</designacao>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._descricao != null) {
|
|
xml = xml + '<descricao>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._descricao);
|
|
xml = xml + '</descricao>';
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBean.prototype.serialize = ws_safemode_pt__legEntidadeReguladoraBean_serialize;
|
|
|
|
function ws_safemode_pt__legEntidadeReguladoraBean_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__legEntidadeReguladoraBean();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing id');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'id')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = parseInt(value);
|
|
}
|
|
newobject.setId(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing created_stamp');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'created_stamp')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
item = ws_safemode_pt__timestamp_deserialize(cxfjsutils, curElement);
|
|
}
|
|
newobject.setCreated_stamp(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing created_user_id');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'created_user_id')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = parseInt(value);
|
|
}
|
|
newobject.setCreated_user_id(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing deleted_stamp');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'deleted_stamp')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
item = ws_safemode_pt__timestamp_deserialize(cxfjsutils, curElement);
|
|
}
|
|
newobject.setDeleted_stamp(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing deleted_user_id');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'deleted_user_id')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = parseInt(value);
|
|
}
|
|
newobject.setDeleted_user_id(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing codigo');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'codigo')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setCodigo(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing abreviatura');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'abreviatura')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setAbreviatura(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing designacao');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'designacao')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setDesignacao(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing descricao');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'descricao')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setDescricao(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}classificacaoBean
|
|
//
|
|
function ws_safemode_pt__classificacaoBean () {
|
|
this.typeMarker = 'ws_safemode_pt__classificacaoBean';
|
|
this._categoria = null;
|
|
this._categoriaId = null;
|
|
this._completo = null;
|
|
this._novaCategoria = null;
|
|
this._novaSubtema = null;
|
|
this._novoTema = null;
|
|
this._subtema = null;
|
|
this._subtemaId = null;
|
|
this._tema = null;
|
|
this._temaId = null;
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__classificacaoBean.prototype.getCategoria
|
|
// element get for categoria
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for categoria
|
|
// setter function is is ws_safemode_pt__classificacaoBean.prototype.setCategoria
|
|
//
|
|
function ws_safemode_pt__classificacaoBean_getCategoria() { return this._categoria;}
|
|
|
|
ws_safemode_pt__classificacaoBean.prototype.getCategoria = ws_safemode_pt__classificacaoBean_getCategoria;
|
|
|
|
function ws_safemode_pt__classificacaoBean_setCategoria(value) { this._categoria = value;}
|
|
|
|
ws_safemode_pt__classificacaoBean.prototype.setCategoria = ws_safemode_pt__classificacaoBean_setCategoria;
|
|
//
|
|
// accessor is ws_safemode_pt__classificacaoBean.prototype.getCategoriaId
|
|
// element get for categoriaId
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}int
|
|
// - optional element
|
|
//
|
|
// element set for categoriaId
|
|
// setter function is is ws_safemode_pt__classificacaoBean.prototype.setCategoriaId
|
|
//
|
|
function ws_safemode_pt__classificacaoBean_getCategoriaId() { return this._categoriaId;}
|
|
|
|
ws_safemode_pt__classificacaoBean.prototype.getCategoriaId = ws_safemode_pt__classificacaoBean_getCategoriaId;
|
|
|
|
function ws_safemode_pt__classificacaoBean_setCategoriaId(value) { this._categoriaId = value;}
|
|
|
|
ws_safemode_pt__classificacaoBean.prototype.setCategoriaId = ws_safemode_pt__classificacaoBean_setCategoriaId;
|
|
//
|
|
// accessor is ws_safemode_pt__classificacaoBean.prototype.getCompleto
|
|
// element get for completo
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for completo
|
|
// setter function is is ws_safemode_pt__classificacaoBean.prototype.setCompleto
|
|
//
|
|
function ws_safemode_pt__classificacaoBean_getCompleto() { return this._completo;}
|
|
|
|
ws_safemode_pt__classificacaoBean.prototype.getCompleto = ws_safemode_pt__classificacaoBean_getCompleto;
|
|
|
|
function ws_safemode_pt__classificacaoBean_setCompleto(value) { this._completo = value;}
|
|
|
|
ws_safemode_pt__classificacaoBean.prototype.setCompleto = ws_safemode_pt__classificacaoBean_setCompleto;
|
|
//
|
|
// accessor is ws_safemode_pt__classificacaoBean.prototype.getNovaCategoria
|
|
// element get for novaCategoria
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for novaCategoria
|
|
// setter function is is ws_safemode_pt__classificacaoBean.prototype.setNovaCategoria
|
|
//
|
|
function ws_safemode_pt__classificacaoBean_getNovaCategoria() { return this._novaCategoria;}
|
|
|
|
ws_safemode_pt__classificacaoBean.prototype.getNovaCategoria = ws_safemode_pt__classificacaoBean_getNovaCategoria;
|
|
|
|
function ws_safemode_pt__classificacaoBean_setNovaCategoria(value) { this._novaCategoria = value;}
|
|
|
|
ws_safemode_pt__classificacaoBean.prototype.setNovaCategoria = ws_safemode_pt__classificacaoBean_setNovaCategoria;
|
|
//
|
|
// accessor is ws_safemode_pt__classificacaoBean.prototype.getNovaSubtema
|
|
// element get for novaSubtema
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for novaSubtema
|
|
// setter function is is ws_safemode_pt__classificacaoBean.prototype.setNovaSubtema
|
|
//
|
|
function ws_safemode_pt__classificacaoBean_getNovaSubtema() { return this._novaSubtema;}
|
|
|
|
ws_safemode_pt__classificacaoBean.prototype.getNovaSubtema = ws_safemode_pt__classificacaoBean_getNovaSubtema;
|
|
|
|
function ws_safemode_pt__classificacaoBean_setNovaSubtema(value) { this._novaSubtema = value;}
|
|
|
|
ws_safemode_pt__classificacaoBean.prototype.setNovaSubtema = ws_safemode_pt__classificacaoBean_setNovaSubtema;
|
|
//
|
|
// accessor is ws_safemode_pt__classificacaoBean.prototype.getNovoTema
|
|
// element get for novoTema
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for novoTema
|
|
// setter function is is ws_safemode_pt__classificacaoBean.prototype.setNovoTema
|
|
//
|
|
function ws_safemode_pt__classificacaoBean_getNovoTema() { return this._novoTema;}
|
|
|
|
ws_safemode_pt__classificacaoBean.prototype.getNovoTema = ws_safemode_pt__classificacaoBean_getNovoTema;
|
|
|
|
function ws_safemode_pt__classificacaoBean_setNovoTema(value) { this._novoTema = value;}
|
|
|
|
ws_safemode_pt__classificacaoBean.prototype.setNovoTema = ws_safemode_pt__classificacaoBean_setNovoTema;
|
|
//
|
|
// accessor is ws_safemode_pt__classificacaoBean.prototype.getSubtema
|
|
// element get for subtema
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for subtema
|
|
// setter function is is ws_safemode_pt__classificacaoBean.prototype.setSubtema
|
|
//
|
|
function ws_safemode_pt__classificacaoBean_getSubtema() { return this._subtema;}
|
|
|
|
ws_safemode_pt__classificacaoBean.prototype.getSubtema = ws_safemode_pt__classificacaoBean_getSubtema;
|
|
|
|
function ws_safemode_pt__classificacaoBean_setSubtema(value) { this._subtema = value;}
|
|
|
|
ws_safemode_pt__classificacaoBean.prototype.setSubtema = ws_safemode_pt__classificacaoBean_setSubtema;
|
|
//
|
|
// accessor is ws_safemode_pt__classificacaoBean.prototype.getSubtemaId
|
|
// element get for subtemaId
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}int
|
|
// - optional element
|
|
//
|
|
// element set for subtemaId
|
|
// setter function is is ws_safemode_pt__classificacaoBean.prototype.setSubtemaId
|
|
//
|
|
function ws_safemode_pt__classificacaoBean_getSubtemaId() { return this._subtemaId;}
|
|
|
|
ws_safemode_pt__classificacaoBean.prototype.getSubtemaId = ws_safemode_pt__classificacaoBean_getSubtemaId;
|
|
|
|
function ws_safemode_pt__classificacaoBean_setSubtemaId(value) { this._subtemaId = value;}
|
|
|
|
ws_safemode_pt__classificacaoBean.prototype.setSubtemaId = ws_safemode_pt__classificacaoBean_setSubtemaId;
|
|
//
|
|
// accessor is ws_safemode_pt__classificacaoBean.prototype.getTema
|
|
// element get for tema
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for tema
|
|
// setter function is is ws_safemode_pt__classificacaoBean.prototype.setTema
|
|
//
|
|
function ws_safemode_pt__classificacaoBean_getTema() { return this._tema;}
|
|
|
|
ws_safemode_pt__classificacaoBean.prototype.getTema = ws_safemode_pt__classificacaoBean_getTema;
|
|
|
|
function ws_safemode_pt__classificacaoBean_setTema(value) { this._tema = value;}
|
|
|
|
ws_safemode_pt__classificacaoBean.prototype.setTema = ws_safemode_pt__classificacaoBean_setTema;
|
|
//
|
|
// accessor is ws_safemode_pt__classificacaoBean.prototype.getTemaId
|
|
// element get for temaId
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}int
|
|
// - optional element
|
|
//
|
|
// element set for temaId
|
|
// setter function is is ws_safemode_pt__classificacaoBean.prototype.setTemaId
|
|
//
|
|
function ws_safemode_pt__classificacaoBean_getTemaId() { return this._temaId;}
|
|
|
|
ws_safemode_pt__classificacaoBean.prototype.getTemaId = ws_safemode_pt__classificacaoBean_getTemaId;
|
|
|
|
function ws_safemode_pt__classificacaoBean_setTemaId(value) { this._temaId = value;}
|
|
|
|
ws_safemode_pt__classificacaoBean.prototype.setTemaId = ws_safemode_pt__classificacaoBean_setTemaId;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}classificacaoBean
|
|
//
|
|
function ws_safemode_pt__classificacaoBean_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._categoria != null) {
|
|
xml = xml + '<categoria>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._categoria);
|
|
xml = xml + '</categoria>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._categoriaId != null) {
|
|
xml = xml + '<categoriaId>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._categoriaId);
|
|
xml = xml + '</categoriaId>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._completo != null) {
|
|
xml = xml + '<completo>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._completo);
|
|
xml = xml + '</completo>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._novaCategoria != null) {
|
|
xml = xml + '<novaCategoria>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._novaCategoria);
|
|
xml = xml + '</novaCategoria>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._novaSubtema != null) {
|
|
xml = xml + '<novaSubtema>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._novaSubtema);
|
|
xml = xml + '</novaSubtema>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._novoTema != null) {
|
|
xml = xml + '<novoTema>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._novoTema);
|
|
xml = xml + '</novoTema>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._subtema != null) {
|
|
xml = xml + '<subtema>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._subtema);
|
|
xml = xml + '</subtema>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._subtemaId != null) {
|
|
xml = xml + '<subtemaId>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._subtemaId);
|
|
xml = xml + '</subtemaId>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._tema != null) {
|
|
xml = xml + '<tema>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._tema);
|
|
xml = xml + '</tema>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._temaId != null) {
|
|
xml = xml + '<temaId>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._temaId);
|
|
xml = xml + '</temaId>';
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__classificacaoBean.prototype.serialize = ws_safemode_pt__classificacaoBean_serialize;
|
|
|
|
function ws_safemode_pt__classificacaoBean_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__classificacaoBean();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing categoria');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'categoria')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setCategoria(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing categoriaId');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'categoriaId')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = parseInt(value);
|
|
}
|
|
newobject.setCategoriaId(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing completo');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'completo')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setCompleto(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing novaCategoria');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'novaCategoria')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setNovaCategoria(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing novaSubtema');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'novaSubtema')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setNovaSubtema(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing novoTema');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'novoTema')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setNovoTema(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing subtema');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'subtema')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setSubtema(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing subtemaId');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'subtemaId')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = parseInt(value);
|
|
}
|
|
newobject.setSubtemaId(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing tema');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'tema')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setTema(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing temaId');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'temaId')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = parseInt(value);
|
|
}
|
|
newobject.setTemaId(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}removeEntidadeReguladora
|
|
//
|
|
function ws_safemode_pt__removeEntidadeReguladora () {
|
|
this.typeMarker = 'ws_safemode_pt__removeEntidadeReguladora';
|
|
this._arg0 = null;
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__removeEntidadeReguladora.prototype.getArg0
|
|
// element get for arg0
|
|
// - element type is {http://ws.safemode.pt/}legEntidadeReguladoraBeanData
|
|
// - optional element
|
|
//
|
|
// element set for arg0
|
|
// setter function is is ws_safemode_pt__removeEntidadeReguladora.prototype.setArg0
|
|
//
|
|
function ws_safemode_pt__removeEntidadeReguladora_getArg0() { return this._arg0;}
|
|
|
|
ws_safemode_pt__removeEntidadeReguladora.prototype.getArg0 = ws_safemode_pt__removeEntidadeReguladora_getArg0;
|
|
|
|
function ws_safemode_pt__removeEntidadeReguladora_setArg0(value) { this._arg0 = value;}
|
|
|
|
ws_safemode_pt__removeEntidadeReguladora.prototype.setArg0 = ws_safemode_pt__removeEntidadeReguladora_setArg0;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}removeEntidadeReguladora
|
|
//
|
|
function ws_safemode_pt__removeEntidadeReguladora_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._arg0 != null) {
|
|
xml = xml + this._arg0.serialize(cxfjsutils, 'arg0', null);
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__removeEntidadeReguladora.prototype.serialize = ws_safemode_pt__removeEntidadeReguladora_serialize;
|
|
|
|
function ws_safemode_pt__removeEntidadeReguladora_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__removeEntidadeReguladora();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing arg0');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'arg0')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
item = ws_safemode_pt__legEntidadeReguladoraBeanData_deserialize(cxfjsutils, curElement);
|
|
}
|
|
newobject.setArg0(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getAllTemasResponse
|
|
//
|
|
function ws_safemode_pt__getAllTemasResponse () {
|
|
this.typeMarker = 'ws_safemode_pt__getAllTemasResponse';
|
|
this._return = [];
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__getAllTemasResponse.prototype.getReturn
|
|
// element get for return
|
|
// - element type is {http://ws.safemode.pt/}classificacaoBean
|
|
// - required element
|
|
// - array
|
|
//
|
|
// element set for return
|
|
// setter function is is ws_safemode_pt__getAllTemasResponse.prototype.setReturn
|
|
//
|
|
function ws_safemode_pt__getAllTemasResponse_getReturn() { return this._return;}
|
|
|
|
ws_safemode_pt__getAllTemasResponse.prototype.getReturn = ws_safemode_pt__getAllTemasResponse_getReturn;
|
|
|
|
function ws_safemode_pt__getAllTemasResponse_setReturn(value) { this._return = value;}
|
|
|
|
ws_safemode_pt__getAllTemasResponse.prototype.setReturn = ws_safemode_pt__getAllTemasResponse_setReturn;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getAllTemasResponse
|
|
//
|
|
function ws_safemode_pt__getAllTemasResponse_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._return != null) {
|
|
for (var ax = 0;ax < this._return.length;ax ++) {
|
|
if (this._return[ax] == null) {
|
|
xml = xml + '<return/>';
|
|
} else {
|
|
xml = xml + this._return[ax].serialize(cxfjsutils, 'return', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getAllTemasResponse.prototype.serialize = ws_safemode_pt__getAllTemasResponse_serialize;
|
|
|
|
function ws_safemode_pt__getAllTemasResponse_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getAllTemasResponse();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing return');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__classificacaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return'));
|
|
newobject.setReturn(item);
|
|
var item = null;
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getTipos
|
|
//
|
|
function ws_safemode_pt__getTipos () {
|
|
this.typeMarker = 'ws_safemode_pt__getTipos';
|
|
}
|
|
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getTipos
|
|
//
|
|
function ws_safemode_pt__getTipos_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getTipos.prototype.serialize = ws_safemode_pt__getTipos_serialize;
|
|
|
|
function ws_safemode_pt__getTipos_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getTipos();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getTiposResponse
|
|
//
|
|
function ws_safemode_pt__getTiposResponse () {
|
|
this.typeMarker = 'ws_safemode_pt__getTiposResponse';
|
|
this._return = [];
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__getTiposResponse.prototype.getReturn
|
|
// element get for return
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - required element
|
|
// - array
|
|
//
|
|
// element set for return
|
|
// setter function is is ws_safemode_pt__getTiposResponse.prototype.setReturn
|
|
//
|
|
function ws_safemode_pt__getTiposResponse_getReturn() { return this._return;}
|
|
|
|
ws_safemode_pt__getTiposResponse.prototype.getReturn = ws_safemode_pt__getTiposResponse_getReturn;
|
|
|
|
function ws_safemode_pt__getTiposResponse_setReturn(value) { this._return = value;}
|
|
|
|
ws_safemode_pt__getTiposResponse.prototype.setReturn = ws_safemode_pt__getTiposResponse_setReturn;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getTiposResponse
|
|
//
|
|
function ws_safemode_pt__getTiposResponse_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._return != null) {
|
|
for (var ax = 0;ax < this._return.length;ax ++) {
|
|
if (this._return[ax] == null) {
|
|
xml = xml + '<return/>';
|
|
} else {
|
|
xml = xml + '<return>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._return[ax]);
|
|
xml = xml + '</return>';
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getTiposResponse.prototype.serialize = ws_safemode_pt__getTiposResponse_serialize;
|
|
|
|
function ws_safemode_pt__getTiposResponse_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getTiposResponse();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing return');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
arrayItem = value;
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return'));
|
|
newobject.setReturn(item);
|
|
var item = null;
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}addDiploma
|
|
//
|
|
function ws_safemode_pt__addDiploma () {
|
|
this.typeMarker = 'ws_safemode_pt__addDiploma';
|
|
this._bean = null;
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__addDiploma.prototype.getBean
|
|
// element get for bean
|
|
// - element type is {http://ws.safemode.pt/}legislacaoBean
|
|
// - optional element
|
|
//
|
|
// element set for bean
|
|
// setter function is is ws_safemode_pt__addDiploma.prototype.setBean
|
|
//
|
|
function ws_safemode_pt__addDiploma_getBean() { return this._bean;}
|
|
|
|
ws_safemode_pt__addDiploma.prototype.getBean = ws_safemode_pt__addDiploma_getBean;
|
|
|
|
function ws_safemode_pt__addDiploma_setBean(value) { this._bean = value;}
|
|
|
|
ws_safemode_pt__addDiploma.prototype.setBean = ws_safemode_pt__addDiploma_setBean;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}addDiploma
|
|
//
|
|
function ws_safemode_pt__addDiploma_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._bean != null) {
|
|
xml = xml + this._bean.serialize(cxfjsutils, 'bean', null);
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__addDiploma.prototype.serialize = ws_safemode_pt__addDiploma_serialize;
|
|
|
|
function ws_safemode_pt__addDiploma_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__addDiploma();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing bean');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'bean')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
item = ws_safemode_pt__legislacaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
newobject.setBean(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getCategorias
|
|
//
|
|
function ws_safemode_pt__getCategorias () {
|
|
this.typeMarker = 'ws_safemode_pt__getCategorias';
|
|
this._arg0 = null;
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__getCategorias.prototype.getArg0
|
|
// element get for arg0
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for arg0
|
|
// setter function is is ws_safemode_pt__getCategorias.prototype.setArg0
|
|
//
|
|
function ws_safemode_pt__getCategorias_getArg0() { return this._arg0;}
|
|
|
|
ws_safemode_pt__getCategorias.prototype.getArg0 = ws_safemode_pt__getCategorias_getArg0;
|
|
|
|
function ws_safemode_pt__getCategorias_setArg0(value) { this._arg0 = value;}
|
|
|
|
ws_safemode_pt__getCategorias.prototype.setArg0 = ws_safemode_pt__getCategorias_setArg0;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getCategorias
|
|
//
|
|
function ws_safemode_pt__getCategorias_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._arg0 != null) {
|
|
xml = xml + '<arg0>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._arg0);
|
|
xml = xml + '</arg0>';
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getCategorias.prototype.serialize = ws_safemode_pt__getCategorias_serialize;
|
|
|
|
function ws_safemode_pt__getCategorias_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getCategorias();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing arg0');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'arg0')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setArg0(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getAllEntidadesReguladorasResponse
|
|
//
|
|
function ws_safemode_pt__getAllEntidadesReguladorasResponse () {
|
|
this.typeMarker = 'ws_safemode_pt__getAllEntidadesReguladorasResponse';
|
|
this._return = [];
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__getAllEntidadesReguladorasResponse.prototype.getReturn
|
|
// element get for return
|
|
// - element type is {http://ws.safemode.pt/}legEntidadeReguladoraBeanData
|
|
// - required element
|
|
// - array
|
|
//
|
|
// element set for return
|
|
// setter function is is ws_safemode_pt__getAllEntidadesReguladorasResponse.prototype.setReturn
|
|
//
|
|
function ws_safemode_pt__getAllEntidadesReguladorasResponse_getReturn() { return this._return;}
|
|
|
|
ws_safemode_pt__getAllEntidadesReguladorasResponse.prototype.getReturn = ws_safemode_pt__getAllEntidadesReguladorasResponse_getReturn;
|
|
|
|
function ws_safemode_pt__getAllEntidadesReguladorasResponse_setReturn(value) { this._return = value;}
|
|
|
|
ws_safemode_pt__getAllEntidadesReguladorasResponse.prototype.setReturn = ws_safemode_pt__getAllEntidadesReguladorasResponse_setReturn;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getAllEntidadesReguladorasResponse
|
|
//
|
|
function ws_safemode_pt__getAllEntidadesReguladorasResponse_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._return != null) {
|
|
for (var ax = 0;ax < this._return.length;ax ++) {
|
|
if (this._return[ax] == null) {
|
|
xml = xml + '<return/>';
|
|
} else {
|
|
xml = xml + this._return[ax].serialize(cxfjsutils, 'return', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getAllEntidadesReguladorasResponse.prototype.serialize = ws_safemode_pt__getAllEntidadesReguladorasResponse_serialize;
|
|
|
|
function ws_safemode_pt__getAllEntidadesReguladorasResponse_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getAllEntidadesReguladorasResponse();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing return');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__legEntidadeReguladoraBeanData_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return'));
|
|
newobject.setReturn(item);
|
|
var item = null;
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getAllTemas
|
|
//
|
|
function ws_safemode_pt__getAllTemas () {
|
|
this.typeMarker = 'ws_safemode_pt__getAllTemas';
|
|
this._arg0 = null;
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__getAllTemas.prototype.getArg0
|
|
// element get for arg0
|
|
// - element type is {http://ws.safemode.pt/}classificacaoBean
|
|
// - optional element
|
|
//
|
|
// element set for arg0
|
|
// setter function is is ws_safemode_pt__getAllTemas.prototype.setArg0
|
|
//
|
|
function ws_safemode_pt__getAllTemas_getArg0() { return this._arg0;}
|
|
|
|
ws_safemode_pt__getAllTemas.prototype.getArg0 = ws_safemode_pt__getAllTemas_getArg0;
|
|
|
|
function ws_safemode_pt__getAllTemas_setArg0(value) { this._arg0 = value;}
|
|
|
|
ws_safemode_pt__getAllTemas.prototype.setArg0 = ws_safemode_pt__getAllTemas_setArg0;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getAllTemas
|
|
//
|
|
function ws_safemode_pt__getAllTemas_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._arg0 != null) {
|
|
xml = xml + this._arg0.serialize(cxfjsutils, 'arg0', null);
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getAllTemas.prototype.serialize = ws_safemode_pt__getAllTemas_serialize;
|
|
|
|
function ws_safemode_pt__getAllTemas_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getAllTemas();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing arg0');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'arg0')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
item = ws_safemode_pt__classificacaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
newobject.setArg0(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getSubtemas
|
|
//
|
|
function ws_safemode_pt__getSubtemas () {
|
|
this.typeMarker = 'ws_safemode_pt__getSubtemas';
|
|
this._arg0 = null;
|
|
this._arg1 = [];
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__getSubtemas.prototype.getArg0
|
|
// element get for arg0
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for arg0
|
|
// setter function is is ws_safemode_pt__getSubtemas.prototype.setArg0
|
|
//
|
|
function ws_safemode_pt__getSubtemas_getArg0() { return this._arg0;}
|
|
|
|
ws_safemode_pt__getSubtemas.prototype.getArg0 = ws_safemode_pt__getSubtemas_getArg0;
|
|
|
|
function ws_safemode_pt__getSubtemas_setArg0(value) { this._arg0 = value;}
|
|
|
|
ws_safemode_pt__getSubtemas.prototype.setArg0 = ws_safemode_pt__getSubtemas_setArg0;
|
|
//
|
|
// accessor is ws_safemode_pt__getSubtemas.prototype.getArg1
|
|
// element get for arg1
|
|
// - element type is {http://ws.safemode.pt/}classificacaoBean
|
|
// - required element
|
|
// - array
|
|
//
|
|
// element set for arg1
|
|
// setter function is is ws_safemode_pt__getSubtemas.prototype.setArg1
|
|
//
|
|
function ws_safemode_pt__getSubtemas_getArg1() { return this._arg1;}
|
|
|
|
ws_safemode_pt__getSubtemas.prototype.getArg1 = ws_safemode_pt__getSubtemas_getArg1;
|
|
|
|
function ws_safemode_pt__getSubtemas_setArg1(value) { this._arg1 = value;}
|
|
|
|
ws_safemode_pt__getSubtemas.prototype.setArg1 = ws_safemode_pt__getSubtemas_setArg1;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getSubtemas
|
|
//
|
|
function ws_safemode_pt__getSubtemas_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._arg0 != null) {
|
|
xml = xml + '<arg0>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._arg0);
|
|
xml = xml + '</arg0>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._arg1 != null) {
|
|
for (var ax = 0;ax < this._arg1.length;ax ++) {
|
|
if (this._arg1[ax] == null) {
|
|
xml = xml + '<arg1/>';
|
|
} else {
|
|
xml = xml + this._arg1[ax].serialize(cxfjsutils, 'arg1', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getSubtemas.prototype.serialize = ws_safemode_pt__getSubtemas_serialize;
|
|
|
|
function ws_safemode_pt__getSubtemas_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getSubtemas();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing arg0');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'arg0')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setArg0(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing arg1');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'arg1')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__classificacaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'arg1'));
|
|
newobject.setArg1(item);
|
|
var item = null;
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}removePdfResponse
|
|
//
|
|
function ws_safemode_pt__removePdfResponse () {
|
|
this.typeMarker = 'ws_safemode_pt__removePdfResponse';
|
|
this._return = '';
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__removePdfResponse.prototype.getReturn
|
|
// element get for return
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}boolean
|
|
// - required element
|
|
//
|
|
// element set for return
|
|
// setter function is is ws_safemode_pt__removePdfResponse.prototype.setReturn
|
|
//
|
|
function ws_safemode_pt__removePdfResponse_getReturn() { return this._return;}
|
|
|
|
ws_safemode_pt__removePdfResponse.prototype.getReturn = ws_safemode_pt__removePdfResponse_getReturn;
|
|
|
|
function ws_safemode_pt__removePdfResponse_setReturn(value) { this._return = value;}
|
|
|
|
ws_safemode_pt__removePdfResponse.prototype.setReturn = ws_safemode_pt__removePdfResponse_setReturn;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}removePdfResponse
|
|
//
|
|
function ws_safemode_pt__removePdfResponse_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
xml = xml + '<return>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._return);
|
|
xml = xml + '</return>';
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__removePdfResponse.prototype.serialize = ws_safemode_pt__removePdfResponse_serialize;
|
|
|
|
function ws_safemode_pt__removePdfResponse_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__removePdfResponse();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing return');
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = (value == 'true');
|
|
}
|
|
newobject.setReturn(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getDiplomaView
|
|
//
|
|
function ws_safemode_pt__getDiplomaView () {
|
|
this.typeMarker = 'ws_safemode_pt__getDiplomaView';
|
|
this._bean = null;
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__getDiplomaView.prototype.getBean
|
|
// element get for bean
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}int
|
|
// - optional element
|
|
//
|
|
// element set for bean
|
|
// setter function is is ws_safemode_pt__getDiplomaView.prototype.setBean
|
|
//
|
|
function ws_safemode_pt__getDiplomaView_getBean() { return this._bean;}
|
|
|
|
ws_safemode_pt__getDiplomaView.prototype.getBean = ws_safemode_pt__getDiplomaView_getBean;
|
|
|
|
function ws_safemode_pt__getDiplomaView_setBean(value) { this._bean = value;}
|
|
|
|
ws_safemode_pt__getDiplomaView.prototype.setBean = ws_safemode_pt__getDiplomaView_setBean;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getDiplomaView
|
|
//
|
|
function ws_safemode_pt__getDiplomaView_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._bean != null) {
|
|
xml = xml + '<bean>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._bean);
|
|
xml = xml + '</bean>';
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getDiplomaView.prototype.serialize = ws_safemode_pt__getDiplomaView_serialize;
|
|
|
|
function ws_safemode_pt__getDiplomaView_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getDiplomaView();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing bean');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'bean')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = parseInt(value);
|
|
}
|
|
newobject.setBean(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}gravarCategoriaTemaSubtemaResponse
|
|
//
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtemaResponse () {
|
|
this.typeMarker = 'ws_safemode_pt__gravarCategoriaTemaSubtemaResponse';
|
|
this._return = '';
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__gravarCategoriaTemaSubtemaResponse.prototype.getReturn
|
|
// element get for return
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}boolean
|
|
// - required element
|
|
//
|
|
// element set for return
|
|
// setter function is is ws_safemode_pt__gravarCategoriaTemaSubtemaResponse.prototype.setReturn
|
|
//
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtemaResponse_getReturn() { return this._return;}
|
|
|
|
ws_safemode_pt__gravarCategoriaTemaSubtemaResponse.prototype.getReturn = ws_safemode_pt__gravarCategoriaTemaSubtemaResponse_getReturn;
|
|
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtemaResponse_setReturn(value) { this._return = value;}
|
|
|
|
ws_safemode_pt__gravarCategoriaTemaSubtemaResponse.prototype.setReturn = ws_safemode_pt__gravarCategoriaTemaSubtemaResponse_setReturn;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}gravarCategoriaTemaSubtemaResponse
|
|
//
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtemaResponse_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
xml = xml + '<return>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._return);
|
|
xml = xml + '</return>';
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__gravarCategoriaTemaSubtemaResponse.prototype.serialize = ws_safemode_pt__gravarCategoriaTemaSubtemaResponse_serialize;
|
|
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtemaResponse_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__gravarCategoriaTemaSubtemaResponse();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing return');
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = (value == 'true');
|
|
}
|
|
newobject.setReturn(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}diplomaBean
|
|
//
|
|
function ws_safemode_pt__diplomaBean () {
|
|
this.typeMarker = 'ws_safemode_pt__diplomaBean';
|
|
this._designacao = null;
|
|
this._id = null;
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__diplomaBean.prototype.getDesignacao
|
|
// element get for designacao
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for designacao
|
|
// setter function is is ws_safemode_pt__diplomaBean.prototype.setDesignacao
|
|
//
|
|
function ws_safemode_pt__diplomaBean_getDesignacao() { return this._designacao;}
|
|
|
|
ws_safemode_pt__diplomaBean.prototype.getDesignacao = ws_safemode_pt__diplomaBean_getDesignacao;
|
|
|
|
function ws_safemode_pt__diplomaBean_setDesignacao(value) { this._designacao = value;}
|
|
|
|
ws_safemode_pt__diplomaBean.prototype.setDesignacao = ws_safemode_pt__diplomaBean_setDesignacao;
|
|
//
|
|
// accessor is ws_safemode_pt__diplomaBean.prototype.getId
|
|
// element get for id
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}int
|
|
// - optional element
|
|
//
|
|
// element set for id
|
|
// setter function is is ws_safemode_pt__diplomaBean.prototype.setId
|
|
//
|
|
function ws_safemode_pt__diplomaBean_getId() { return this._id;}
|
|
|
|
ws_safemode_pt__diplomaBean.prototype.getId = ws_safemode_pt__diplomaBean_getId;
|
|
|
|
function ws_safemode_pt__diplomaBean_setId(value) { this._id = value;}
|
|
|
|
ws_safemode_pt__diplomaBean.prototype.setId = ws_safemode_pt__diplomaBean_setId;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}diplomaBean
|
|
//
|
|
function ws_safemode_pt__diplomaBean_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._designacao != null) {
|
|
xml = xml + '<designacao>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._designacao);
|
|
xml = xml + '</designacao>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._id != null) {
|
|
xml = xml + '<id>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._id);
|
|
xml = xml + '</id>';
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__diplomaBean.prototype.serialize = ws_safemode_pt__diplomaBean_serialize;
|
|
|
|
function ws_safemode_pt__diplomaBean_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__diplomaBean();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing designacao');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'designacao')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setDesignacao(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing id');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'id')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = parseInt(value);
|
|
}
|
|
newobject.setId(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}legislacaoBean
|
|
//
|
|
function ws_safemode_pt__legislacaoBean () {
|
|
this.typeMarker = 'ws_safemode_pt__legislacaoBean';
|
|
this._cnpdDirectivasEuropeias = null;
|
|
this._data_publicacao = null;
|
|
this._diplomasAlterados = [];
|
|
this._diplomasRelacionados = [];
|
|
this._diplomasRepublicados = [];
|
|
this._diplomasRevogados = [];
|
|
this._disposicoesTransitorias = null;
|
|
this._entidadesReguladoras = [];
|
|
this._estado = null;
|
|
this._id = null;
|
|
this._numero = null;
|
|
this._observacoes = null;
|
|
this._palavrasChave = [];
|
|
this._subtemas = [];
|
|
this._sumario = null;
|
|
this._temFicheiro = '';
|
|
this._temas = [];
|
|
this._tipo = null;
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoBean.prototype.getCnpdDirectivasEuropeias
|
|
// element get for cnpdDirectivasEuropeias
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for cnpdDirectivasEuropeias
|
|
// setter function is is ws_safemode_pt__legislacaoBean.prototype.setCnpdDirectivasEuropeias
|
|
//
|
|
function ws_safemode_pt__legislacaoBean_getCnpdDirectivasEuropeias() { return this._cnpdDirectivasEuropeias;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.getCnpdDirectivasEuropeias = ws_safemode_pt__legislacaoBean_getCnpdDirectivasEuropeias;
|
|
|
|
function ws_safemode_pt__legislacaoBean_setCnpdDirectivasEuropeias(value) { this._cnpdDirectivasEuropeias = value;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.setCnpdDirectivasEuropeias = ws_safemode_pt__legislacaoBean_setCnpdDirectivasEuropeias;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoBean.prototype.getData_publicacao
|
|
// element get for data_publicacao
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for data_publicacao
|
|
// setter function is is ws_safemode_pt__legislacaoBean.prototype.setData_publicacao
|
|
//
|
|
function ws_safemode_pt__legislacaoBean_getData_publicacao() { return this._data_publicacao;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.getData_publicacao = ws_safemode_pt__legislacaoBean_getData_publicacao;
|
|
|
|
function ws_safemode_pt__legislacaoBean_setData_publicacao(value) { this._data_publicacao = value;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.setData_publicacao = ws_safemode_pt__legislacaoBean_setData_publicacao;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoBean.prototype.getDiplomasAlterados
|
|
// element get for diplomasAlterados
|
|
// - element type is {http://ws.safemode.pt/}alteracaoBean
|
|
// - required element
|
|
// - array
|
|
// - nillable
|
|
//
|
|
// element set for diplomasAlterados
|
|
// setter function is is ws_safemode_pt__legislacaoBean.prototype.setDiplomasAlterados
|
|
//
|
|
function ws_safemode_pt__legislacaoBean_getDiplomasAlterados() { return this._diplomasAlterados;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.getDiplomasAlterados = ws_safemode_pt__legislacaoBean_getDiplomasAlterados;
|
|
|
|
function ws_safemode_pt__legislacaoBean_setDiplomasAlterados(value) { this._diplomasAlterados = value;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.setDiplomasAlterados = ws_safemode_pt__legislacaoBean_setDiplomasAlterados;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoBean.prototype.getDiplomasRelacionados
|
|
// element get for diplomasRelacionados
|
|
// - element type is {http://ws.safemode.pt/}diplomaBean
|
|
// - required element
|
|
// - array
|
|
// - nillable
|
|
//
|
|
// element set for diplomasRelacionados
|
|
// setter function is is ws_safemode_pt__legislacaoBean.prototype.setDiplomasRelacionados
|
|
//
|
|
function ws_safemode_pt__legislacaoBean_getDiplomasRelacionados() { return this._diplomasRelacionados;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.getDiplomasRelacionados = ws_safemode_pt__legislacaoBean_getDiplomasRelacionados;
|
|
|
|
function ws_safemode_pt__legislacaoBean_setDiplomasRelacionados(value) { this._diplomasRelacionados = value;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.setDiplomasRelacionados = ws_safemode_pt__legislacaoBean_setDiplomasRelacionados;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoBean.prototype.getDiplomasRepublicados
|
|
// element get for diplomasRepublicados
|
|
// - element type is {http://ws.safemode.pt/}alteracaoBean
|
|
// - required element
|
|
// - array
|
|
// - nillable
|
|
//
|
|
// element set for diplomasRepublicados
|
|
// setter function is is ws_safemode_pt__legislacaoBean.prototype.setDiplomasRepublicados
|
|
//
|
|
function ws_safemode_pt__legislacaoBean_getDiplomasRepublicados() { return this._diplomasRepublicados;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.getDiplomasRepublicados = ws_safemode_pt__legislacaoBean_getDiplomasRepublicados;
|
|
|
|
function ws_safemode_pt__legislacaoBean_setDiplomasRepublicados(value) { this._diplomasRepublicados = value;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.setDiplomasRepublicados = ws_safemode_pt__legislacaoBean_setDiplomasRepublicados;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoBean.prototype.getDiplomasRevogados
|
|
// element get for diplomasRevogados
|
|
// - element type is {http://ws.safemode.pt/}alteracaoBean
|
|
// - required element
|
|
// - array
|
|
// - nillable
|
|
//
|
|
// element set for diplomasRevogados
|
|
// setter function is is ws_safemode_pt__legislacaoBean.prototype.setDiplomasRevogados
|
|
//
|
|
function ws_safemode_pt__legislacaoBean_getDiplomasRevogados() { return this._diplomasRevogados;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.getDiplomasRevogados = ws_safemode_pt__legislacaoBean_getDiplomasRevogados;
|
|
|
|
function ws_safemode_pt__legislacaoBean_setDiplomasRevogados(value) { this._diplomasRevogados = value;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.setDiplomasRevogados = ws_safemode_pt__legislacaoBean_setDiplomasRevogados;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoBean.prototype.getDisposicoesTransitorias
|
|
// element get for disposicoesTransitorias
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for disposicoesTransitorias
|
|
// setter function is is ws_safemode_pt__legislacaoBean.prototype.setDisposicoesTransitorias
|
|
//
|
|
function ws_safemode_pt__legislacaoBean_getDisposicoesTransitorias() { return this._disposicoesTransitorias;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.getDisposicoesTransitorias = ws_safemode_pt__legislacaoBean_getDisposicoesTransitorias;
|
|
|
|
function ws_safemode_pt__legislacaoBean_setDisposicoesTransitorias(value) { this._disposicoesTransitorias = value;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.setDisposicoesTransitorias = ws_safemode_pt__legislacaoBean_setDisposicoesTransitorias;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoBean.prototype.getEntidadesReguladoras
|
|
// element get for entidadesReguladoras
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - required element
|
|
// - array
|
|
// - nillable
|
|
//
|
|
// element set for entidadesReguladoras
|
|
// setter function is is ws_safemode_pt__legislacaoBean.prototype.setEntidadesReguladoras
|
|
//
|
|
function ws_safemode_pt__legislacaoBean_getEntidadesReguladoras() { return this._entidadesReguladoras;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.getEntidadesReguladoras = ws_safemode_pt__legislacaoBean_getEntidadesReguladoras;
|
|
|
|
function ws_safemode_pt__legislacaoBean_setEntidadesReguladoras(value) { this._entidadesReguladoras = value;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.setEntidadesReguladoras = ws_safemode_pt__legislacaoBean_setEntidadesReguladoras;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoBean.prototype.getEstado
|
|
// element get for estado
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for estado
|
|
// setter function is is ws_safemode_pt__legislacaoBean.prototype.setEstado
|
|
//
|
|
function ws_safemode_pt__legislacaoBean_getEstado() { return this._estado;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.getEstado = ws_safemode_pt__legislacaoBean_getEstado;
|
|
|
|
function ws_safemode_pt__legislacaoBean_setEstado(value) { this._estado = value;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.setEstado = ws_safemode_pt__legislacaoBean_setEstado;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoBean.prototype.getId
|
|
// element get for id
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}int
|
|
// - optional element
|
|
//
|
|
// element set for id
|
|
// setter function is is ws_safemode_pt__legislacaoBean.prototype.setId
|
|
//
|
|
function ws_safemode_pt__legislacaoBean_getId() { return this._id;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.getId = ws_safemode_pt__legislacaoBean_getId;
|
|
|
|
function ws_safemode_pt__legislacaoBean_setId(value) { this._id = value;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.setId = ws_safemode_pt__legislacaoBean_setId;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoBean.prototype.getNumero
|
|
// element get for numero
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for numero
|
|
// setter function is is ws_safemode_pt__legislacaoBean.prototype.setNumero
|
|
//
|
|
function ws_safemode_pt__legislacaoBean_getNumero() { return this._numero;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.getNumero = ws_safemode_pt__legislacaoBean_getNumero;
|
|
|
|
function ws_safemode_pt__legislacaoBean_setNumero(value) { this._numero = value;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.setNumero = ws_safemode_pt__legislacaoBean_setNumero;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoBean.prototype.getObservacoes
|
|
// element get for observacoes
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for observacoes
|
|
// setter function is is ws_safemode_pt__legislacaoBean.prototype.setObservacoes
|
|
//
|
|
function ws_safemode_pt__legislacaoBean_getObservacoes() { return this._observacoes;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.getObservacoes = ws_safemode_pt__legislacaoBean_getObservacoes;
|
|
|
|
function ws_safemode_pt__legislacaoBean_setObservacoes(value) { this._observacoes = value;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.setObservacoes = ws_safemode_pt__legislacaoBean_setObservacoes;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoBean.prototype.getPalavrasChave
|
|
// element get for palavrasChave
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - required element
|
|
// - array
|
|
// - nillable
|
|
//
|
|
// element set for palavrasChave
|
|
// setter function is is ws_safemode_pt__legislacaoBean.prototype.setPalavrasChave
|
|
//
|
|
function ws_safemode_pt__legislacaoBean_getPalavrasChave() { return this._palavrasChave;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.getPalavrasChave = ws_safemode_pt__legislacaoBean_getPalavrasChave;
|
|
|
|
function ws_safemode_pt__legislacaoBean_setPalavrasChave(value) { this._palavrasChave = value;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.setPalavrasChave = ws_safemode_pt__legislacaoBean_setPalavrasChave;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoBean.prototype.getSubtemas
|
|
// element get for subtemas
|
|
// - element type is {http://ws.safemode.pt/}classificacaoBean
|
|
// - required element
|
|
// - array
|
|
// - nillable
|
|
//
|
|
// element set for subtemas
|
|
// setter function is is ws_safemode_pt__legislacaoBean.prototype.setSubtemas
|
|
//
|
|
function ws_safemode_pt__legislacaoBean_getSubtemas() { return this._subtemas;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.getSubtemas = ws_safemode_pt__legislacaoBean_getSubtemas;
|
|
|
|
function ws_safemode_pt__legislacaoBean_setSubtemas(value) { this._subtemas = value;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.setSubtemas = ws_safemode_pt__legislacaoBean_setSubtemas;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoBean.prototype.getSumario
|
|
// element get for sumario
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for sumario
|
|
// setter function is is ws_safemode_pt__legislacaoBean.prototype.setSumario
|
|
//
|
|
function ws_safemode_pt__legislacaoBean_getSumario() { return this._sumario;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.getSumario = ws_safemode_pt__legislacaoBean_getSumario;
|
|
|
|
function ws_safemode_pt__legislacaoBean_setSumario(value) { this._sumario = value;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.setSumario = ws_safemode_pt__legislacaoBean_setSumario;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoBean.prototype.getTemFicheiro
|
|
// element get for temFicheiro
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}boolean
|
|
// - required element
|
|
//
|
|
// element set for temFicheiro
|
|
// setter function is is ws_safemode_pt__legislacaoBean.prototype.setTemFicheiro
|
|
//
|
|
function ws_safemode_pt__legislacaoBean_getTemFicheiro() { return this._temFicheiro;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.getTemFicheiro = ws_safemode_pt__legislacaoBean_getTemFicheiro;
|
|
|
|
function ws_safemode_pt__legislacaoBean_setTemFicheiro(value) { this._temFicheiro = value;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.setTemFicheiro = ws_safemode_pt__legislacaoBean_setTemFicheiro;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoBean.prototype.getTemas
|
|
// element get for temas
|
|
// - element type is {http://ws.safemode.pt/}classificacaoBean
|
|
// - required element
|
|
// - array
|
|
// - nillable
|
|
//
|
|
// element set for temas
|
|
// setter function is is ws_safemode_pt__legislacaoBean.prototype.setTemas
|
|
//
|
|
function ws_safemode_pt__legislacaoBean_getTemas() { return this._temas;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.getTemas = ws_safemode_pt__legislacaoBean_getTemas;
|
|
|
|
function ws_safemode_pt__legislacaoBean_setTemas(value) { this._temas = value;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.setTemas = ws_safemode_pt__legislacaoBean_setTemas;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoBean.prototype.getTipo
|
|
// element get for tipo
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for tipo
|
|
// setter function is is ws_safemode_pt__legislacaoBean.prototype.setTipo
|
|
//
|
|
function ws_safemode_pt__legislacaoBean_getTipo() { return this._tipo;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.getTipo = ws_safemode_pt__legislacaoBean_getTipo;
|
|
|
|
function ws_safemode_pt__legislacaoBean_setTipo(value) { this._tipo = value;}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.setTipo = ws_safemode_pt__legislacaoBean_setTipo;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}legislacaoBean
|
|
//
|
|
function ws_safemode_pt__legislacaoBean_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._cnpdDirectivasEuropeias != null) {
|
|
xml = xml + '<cnpdDirectivasEuropeias>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._cnpdDirectivasEuropeias);
|
|
xml = xml + '</cnpdDirectivasEuropeias>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._data_publicacao != null) {
|
|
xml = xml + '<data_publicacao>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._data_publicacao);
|
|
xml = xml + '</data_publicacao>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._diplomasAlterados != null) {
|
|
for (var ax = 0;ax < this._diplomasAlterados.length;ax ++) {
|
|
if (this._diplomasAlterados[ax] == null) {
|
|
xml = xml + '<diplomasAlterados xsi:nil=\'true\'/>';
|
|
} else {
|
|
xml = xml + this._diplomasAlterados[ax].serialize(cxfjsutils, 'diplomasAlterados', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._diplomasRelacionados != null) {
|
|
for (var ax = 0;ax < this._diplomasRelacionados.length;ax ++) {
|
|
if (this._diplomasRelacionados[ax] == null) {
|
|
xml = xml + '<diplomasRelacionados xsi:nil=\'true\'/>';
|
|
} else {
|
|
xml = xml + this._diplomasRelacionados[ax].serialize(cxfjsutils, 'diplomasRelacionados', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._diplomasRepublicados != null) {
|
|
for (var ax = 0;ax < this._diplomasRepublicados.length;ax ++) {
|
|
if (this._diplomasRepublicados[ax] == null) {
|
|
xml = xml + '<diplomasRepublicados xsi:nil=\'true\'/>';
|
|
} else {
|
|
xml = xml + this._diplomasRepublicados[ax].serialize(cxfjsutils, 'diplomasRepublicados', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._diplomasRevogados != null) {
|
|
for (var ax = 0;ax < this._diplomasRevogados.length;ax ++) {
|
|
if (this._diplomasRevogados[ax] == null) {
|
|
xml = xml + '<diplomasRevogados xsi:nil=\'true\'/>';
|
|
} else {
|
|
xml = xml + this._diplomasRevogados[ax].serialize(cxfjsutils, 'diplomasRevogados', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._disposicoesTransitorias != null) {
|
|
xml = xml + '<disposicoesTransitorias>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._disposicoesTransitorias);
|
|
xml = xml + '</disposicoesTransitorias>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._entidadesReguladoras != null) {
|
|
for (var ax = 0;ax < this._entidadesReguladoras.length;ax ++) {
|
|
if (this._entidadesReguladoras[ax] == null) {
|
|
xml = xml + '<entidadesReguladoras xsi:nil=\'true\'/>';
|
|
} else {
|
|
xml = xml + '<entidadesReguladoras>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._entidadesReguladoras[ax]);
|
|
xml = xml + '</entidadesReguladoras>';
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._estado != null) {
|
|
xml = xml + '<estado>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._estado);
|
|
xml = xml + '</estado>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._id != null) {
|
|
xml = xml + '<id>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._id);
|
|
xml = xml + '</id>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._numero != null) {
|
|
xml = xml + '<numero>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._numero);
|
|
xml = xml + '</numero>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._observacoes != null) {
|
|
xml = xml + '<observacoes>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._observacoes);
|
|
xml = xml + '</observacoes>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._palavrasChave != null) {
|
|
for (var ax = 0;ax < this._palavrasChave.length;ax ++) {
|
|
if (this._palavrasChave[ax] == null) {
|
|
xml = xml + '<palavrasChave xsi:nil=\'true\'/>';
|
|
} else {
|
|
xml = xml + '<palavrasChave>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._palavrasChave[ax]);
|
|
xml = xml + '</palavrasChave>';
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._subtemas != null) {
|
|
for (var ax = 0;ax < this._subtemas.length;ax ++) {
|
|
if (this._subtemas[ax] == null) {
|
|
xml = xml + '<subtemas xsi:nil=\'true\'/>';
|
|
} else {
|
|
xml = xml + this._subtemas[ax].serialize(cxfjsutils, 'subtemas', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._sumario != null) {
|
|
xml = xml + '<sumario>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._sumario);
|
|
xml = xml + '</sumario>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
xml = xml + '<temFicheiro>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._temFicheiro);
|
|
xml = xml + '</temFicheiro>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._temas != null) {
|
|
for (var ax = 0;ax < this._temas.length;ax ++) {
|
|
if (this._temas[ax] == null) {
|
|
xml = xml + '<temas xsi:nil=\'true\'/>';
|
|
} else {
|
|
xml = xml + this._temas[ax].serialize(cxfjsutils, 'temas', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._tipo != null) {
|
|
xml = xml + '<tipo>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._tipo);
|
|
xml = xml + '</tipo>';
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__legislacaoBean.prototype.serialize = ws_safemode_pt__legislacaoBean_serialize;
|
|
|
|
function ws_safemode_pt__legislacaoBean_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__legislacaoBean();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing cnpdDirectivasEuropeias');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'cnpdDirectivasEuropeias')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setCnpdDirectivasEuropeias(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing data_publicacao');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'data_publicacao')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setData_publicacao(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing diplomasAlterados');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'diplomasAlterados')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__alteracaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'diplomasAlterados'));
|
|
newobject.setDiplomasAlterados(item);
|
|
var item = null;
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing diplomasRelacionados');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'diplomasRelacionados')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__diplomaBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'diplomasRelacionados'));
|
|
newobject.setDiplomasRelacionados(item);
|
|
var item = null;
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing diplomasRepublicados');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'diplomasRepublicados')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__alteracaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'diplomasRepublicados'));
|
|
newobject.setDiplomasRepublicados(item);
|
|
var item = null;
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing diplomasRevogados');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'diplomasRevogados')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__alteracaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'diplomasRevogados'));
|
|
newobject.setDiplomasRevogados(item);
|
|
var item = null;
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing disposicoesTransitorias');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'disposicoesTransitorias')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setDisposicoesTransitorias(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing entidadesReguladoras');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'entidadesReguladoras')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
arrayItem = value;
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'entidadesReguladoras'));
|
|
newobject.setEntidadesReguladoras(item);
|
|
var item = null;
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing estado');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'estado')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setEstado(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing id');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'id')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = parseInt(value);
|
|
}
|
|
newobject.setId(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing numero');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'numero')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setNumero(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing observacoes');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'observacoes')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setObservacoes(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing palavrasChave');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'palavrasChave')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
arrayItem = value;
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'palavrasChave'));
|
|
newobject.setPalavrasChave(item);
|
|
var item = null;
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing subtemas');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'subtemas')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__classificacaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'subtemas'));
|
|
newobject.setSubtemas(item);
|
|
var item = null;
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing sumario');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'sumario')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setSumario(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing temFicheiro');
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = (value == 'true');
|
|
}
|
|
newobject.setTemFicheiro(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing temas');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'temas')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__classificacaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'temas'));
|
|
newobject.setTemas(item);
|
|
var item = null;
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing tipo');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'tipo')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setTipo(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getEstados
|
|
//
|
|
function ws_safemode_pt__getEstados () {
|
|
this.typeMarker = 'ws_safemode_pt__getEstados';
|
|
}
|
|
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getEstados
|
|
//
|
|
function ws_safemode_pt__getEstados_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getEstados.prototype.serialize = ws_safemode_pt__getEstados_serialize;
|
|
|
|
function ws_safemode_pt__getEstados_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getEstados();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getDiplomasResponse
|
|
//
|
|
function ws_safemode_pt__getDiplomasResponse () {
|
|
this.typeMarker = 'ws_safemode_pt__getDiplomasResponse';
|
|
this._return = [];
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__getDiplomasResponse.prototype.getReturn
|
|
// element get for return
|
|
// - element type is {http://ws.safemode.pt/}diplomaBean
|
|
// - required element
|
|
// - array
|
|
//
|
|
// element set for return
|
|
// setter function is is ws_safemode_pt__getDiplomasResponse.prototype.setReturn
|
|
//
|
|
function ws_safemode_pt__getDiplomasResponse_getReturn() { return this._return;}
|
|
|
|
ws_safemode_pt__getDiplomasResponse.prototype.getReturn = ws_safemode_pt__getDiplomasResponse_getReturn;
|
|
|
|
function ws_safemode_pt__getDiplomasResponse_setReturn(value) { this._return = value;}
|
|
|
|
ws_safemode_pt__getDiplomasResponse.prototype.setReturn = ws_safemode_pt__getDiplomasResponse_setReturn;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getDiplomasResponse
|
|
//
|
|
function ws_safemode_pt__getDiplomasResponse_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._return != null) {
|
|
for (var ax = 0;ax < this._return.length;ax ++) {
|
|
if (this._return[ax] == null) {
|
|
xml = xml + '<return/>';
|
|
} else {
|
|
xml = xml + this._return[ax].serialize(cxfjsutils, 'return', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getDiplomasResponse.prototype.serialize = ws_safemode_pt__getDiplomasResponse_serialize;
|
|
|
|
function ws_safemode_pt__getDiplomasResponse_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getDiplomasResponse();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing return');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__diplomaBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return'));
|
|
newobject.setReturn(item);
|
|
var item = null;
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getAllSubtemas
|
|
//
|
|
function ws_safemode_pt__getAllSubtemas () {
|
|
this.typeMarker = 'ws_safemode_pt__getAllSubtemas';
|
|
this._arg0 = null;
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__getAllSubtemas.prototype.getArg0
|
|
// element get for arg0
|
|
// - element type is {http://ws.safemode.pt/}classificacaoBean
|
|
// - optional element
|
|
//
|
|
// element set for arg0
|
|
// setter function is is ws_safemode_pt__getAllSubtemas.prototype.setArg0
|
|
//
|
|
function ws_safemode_pt__getAllSubtemas_getArg0() { return this._arg0;}
|
|
|
|
ws_safemode_pt__getAllSubtemas.prototype.getArg0 = ws_safemode_pt__getAllSubtemas_getArg0;
|
|
|
|
function ws_safemode_pt__getAllSubtemas_setArg0(value) { this._arg0 = value;}
|
|
|
|
ws_safemode_pt__getAllSubtemas.prototype.setArg0 = ws_safemode_pt__getAllSubtemas_setArg0;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getAllSubtemas
|
|
//
|
|
function ws_safemode_pt__getAllSubtemas_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._arg0 != null) {
|
|
xml = xml + this._arg0.serialize(cxfjsutils, 'arg0', null);
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getAllSubtemas.prototype.serialize = ws_safemode_pt__getAllSubtemas_serialize;
|
|
|
|
function ws_safemode_pt__getAllSubtemas_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getAllSubtemas();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing arg0');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'arg0')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
item = ws_safemode_pt__classificacaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
newobject.setArg0(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getAllCategoriasResponse
|
|
//
|
|
function ws_safemode_pt__getAllCategoriasResponse () {
|
|
this.typeMarker = 'ws_safemode_pt__getAllCategoriasResponse';
|
|
this._return = [];
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__getAllCategoriasResponse.prototype.getReturn
|
|
// element get for return
|
|
// - element type is {http://ws.safemode.pt/}classificacaoBean
|
|
// - required element
|
|
// - array
|
|
//
|
|
// element set for return
|
|
// setter function is is ws_safemode_pt__getAllCategoriasResponse.prototype.setReturn
|
|
//
|
|
function ws_safemode_pt__getAllCategoriasResponse_getReturn() { return this._return;}
|
|
|
|
ws_safemode_pt__getAllCategoriasResponse.prototype.getReturn = ws_safemode_pt__getAllCategoriasResponse_getReturn;
|
|
|
|
function ws_safemode_pt__getAllCategoriasResponse_setReturn(value) { this._return = value;}
|
|
|
|
ws_safemode_pt__getAllCategoriasResponse.prototype.setReturn = ws_safemode_pt__getAllCategoriasResponse_setReturn;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getAllCategoriasResponse
|
|
//
|
|
function ws_safemode_pt__getAllCategoriasResponse_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._return != null) {
|
|
for (var ax = 0;ax < this._return.length;ax ++) {
|
|
if (this._return[ax] == null) {
|
|
xml = xml + '<return/>';
|
|
} else {
|
|
xml = xml + this._return[ax].serialize(cxfjsutils, 'return', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getAllCategoriasResponse.prototype.serialize = ws_safemode_pt__getAllCategoriasResponse_serialize;
|
|
|
|
function ws_safemode_pt__getAllCategoriasResponse_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getAllCategoriasResponse();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing return');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__classificacaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return'));
|
|
newobject.setReturn(item);
|
|
var item = null;
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}legislacaoFillBean
|
|
//
|
|
function ws_safemode_pt__legislacaoFillBean () {
|
|
this.typeMarker = 'ws_safemode_pt__legislacaoFillBean';
|
|
this._cnpdDirectivasEuropeias = null;
|
|
this._data_publicacao = null;
|
|
this._diplomasAlterados = [];
|
|
this._diplomasRelacionados = [];
|
|
this._diplomasRepublicados = [];
|
|
this._diplomasRevogados = [];
|
|
this._disposicoesTransitorias = null;
|
|
this._entidadesReguladoras = [];
|
|
this._estado = null;
|
|
this._id = null;
|
|
this._numero = null;
|
|
this._observacoes = null;
|
|
this._palavrasChave = [];
|
|
this._subtemas = [];
|
|
this._sumario = null;
|
|
this._temFicheiro = '';
|
|
this._temas = [];
|
|
this._tipo = null;
|
|
this._categorias = [];
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoFillBean.prototype.getCnpdDirectivasEuropeias
|
|
// element get for cnpdDirectivasEuropeias
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for cnpdDirectivasEuropeias
|
|
// setter function is is ws_safemode_pt__legislacaoFillBean.prototype.setCnpdDirectivasEuropeias
|
|
//
|
|
function ws_safemode_pt__legislacaoFillBean_getCnpdDirectivasEuropeias() { return this._cnpdDirectivasEuropeias;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.getCnpdDirectivasEuropeias = ws_safemode_pt__legislacaoFillBean_getCnpdDirectivasEuropeias;
|
|
|
|
function ws_safemode_pt__legislacaoFillBean_setCnpdDirectivasEuropeias(value) { this._cnpdDirectivasEuropeias = value;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.setCnpdDirectivasEuropeias = ws_safemode_pt__legislacaoFillBean_setCnpdDirectivasEuropeias;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoFillBean.prototype.getData_publicacao
|
|
// element get for data_publicacao
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for data_publicacao
|
|
// setter function is is ws_safemode_pt__legislacaoFillBean.prototype.setData_publicacao
|
|
//
|
|
function ws_safemode_pt__legislacaoFillBean_getData_publicacao() { return this._data_publicacao;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.getData_publicacao = ws_safemode_pt__legislacaoFillBean_getData_publicacao;
|
|
|
|
function ws_safemode_pt__legislacaoFillBean_setData_publicacao(value) { this._data_publicacao = value;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.setData_publicacao = ws_safemode_pt__legislacaoFillBean_setData_publicacao;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoFillBean.prototype.getDiplomasAlterados
|
|
// element get for diplomasAlterados
|
|
// - element type is {http://ws.safemode.pt/}alteracaoBean
|
|
// - required element
|
|
// - array
|
|
// - nillable
|
|
//
|
|
// element set for diplomasAlterados
|
|
// setter function is is ws_safemode_pt__legislacaoFillBean.prototype.setDiplomasAlterados
|
|
//
|
|
function ws_safemode_pt__legislacaoFillBean_getDiplomasAlterados() { return this._diplomasAlterados;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.getDiplomasAlterados = ws_safemode_pt__legislacaoFillBean_getDiplomasAlterados;
|
|
|
|
function ws_safemode_pt__legislacaoFillBean_setDiplomasAlterados(value) { this._diplomasAlterados = value;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.setDiplomasAlterados = ws_safemode_pt__legislacaoFillBean_setDiplomasAlterados;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoFillBean.prototype.getDiplomasRelacionados
|
|
// element get for diplomasRelacionados
|
|
// - element type is {http://ws.safemode.pt/}diplomaBean
|
|
// - required element
|
|
// - array
|
|
// - nillable
|
|
//
|
|
// element set for diplomasRelacionados
|
|
// setter function is is ws_safemode_pt__legislacaoFillBean.prototype.setDiplomasRelacionados
|
|
//
|
|
function ws_safemode_pt__legislacaoFillBean_getDiplomasRelacionados() { return this._diplomasRelacionados;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.getDiplomasRelacionados = ws_safemode_pt__legislacaoFillBean_getDiplomasRelacionados;
|
|
|
|
function ws_safemode_pt__legislacaoFillBean_setDiplomasRelacionados(value) { this._diplomasRelacionados = value;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.setDiplomasRelacionados = ws_safemode_pt__legislacaoFillBean_setDiplomasRelacionados;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoFillBean.prototype.getDiplomasRepublicados
|
|
// element get for diplomasRepublicados
|
|
// - element type is {http://ws.safemode.pt/}alteracaoBean
|
|
// - required element
|
|
// - array
|
|
// - nillable
|
|
//
|
|
// element set for diplomasRepublicados
|
|
// setter function is is ws_safemode_pt__legislacaoFillBean.prototype.setDiplomasRepublicados
|
|
//
|
|
function ws_safemode_pt__legislacaoFillBean_getDiplomasRepublicados() { return this._diplomasRepublicados;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.getDiplomasRepublicados = ws_safemode_pt__legislacaoFillBean_getDiplomasRepublicados;
|
|
|
|
function ws_safemode_pt__legislacaoFillBean_setDiplomasRepublicados(value) { this._diplomasRepublicados = value;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.setDiplomasRepublicados = ws_safemode_pt__legislacaoFillBean_setDiplomasRepublicados;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoFillBean.prototype.getDiplomasRevogados
|
|
// element get for diplomasRevogados
|
|
// - element type is {http://ws.safemode.pt/}alteracaoBean
|
|
// - required element
|
|
// - array
|
|
// - nillable
|
|
//
|
|
// element set for diplomasRevogados
|
|
// setter function is is ws_safemode_pt__legislacaoFillBean.prototype.setDiplomasRevogados
|
|
//
|
|
function ws_safemode_pt__legislacaoFillBean_getDiplomasRevogados() { return this._diplomasRevogados;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.getDiplomasRevogados = ws_safemode_pt__legislacaoFillBean_getDiplomasRevogados;
|
|
|
|
function ws_safemode_pt__legislacaoFillBean_setDiplomasRevogados(value) { this._diplomasRevogados = value;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.setDiplomasRevogados = ws_safemode_pt__legislacaoFillBean_setDiplomasRevogados;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoFillBean.prototype.getDisposicoesTransitorias
|
|
// element get for disposicoesTransitorias
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for disposicoesTransitorias
|
|
// setter function is is ws_safemode_pt__legislacaoFillBean.prototype.setDisposicoesTransitorias
|
|
//
|
|
function ws_safemode_pt__legislacaoFillBean_getDisposicoesTransitorias() { return this._disposicoesTransitorias;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.getDisposicoesTransitorias = ws_safemode_pt__legislacaoFillBean_getDisposicoesTransitorias;
|
|
|
|
function ws_safemode_pt__legislacaoFillBean_setDisposicoesTransitorias(value) { this._disposicoesTransitorias = value;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.setDisposicoesTransitorias = ws_safemode_pt__legislacaoFillBean_setDisposicoesTransitorias;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoFillBean.prototype.getEntidadesReguladoras
|
|
// element get for entidadesReguladoras
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - required element
|
|
// - array
|
|
// - nillable
|
|
//
|
|
// element set for entidadesReguladoras
|
|
// setter function is is ws_safemode_pt__legislacaoFillBean.prototype.setEntidadesReguladoras
|
|
//
|
|
function ws_safemode_pt__legislacaoFillBean_getEntidadesReguladoras() { return this._entidadesReguladoras;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.getEntidadesReguladoras = ws_safemode_pt__legislacaoFillBean_getEntidadesReguladoras;
|
|
|
|
function ws_safemode_pt__legislacaoFillBean_setEntidadesReguladoras(value) { this._entidadesReguladoras = value;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.setEntidadesReguladoras = ws_safemode_pt__legislacaoFillBean_setEntidadesReguladoras;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoFillBean.prototype.getEstado
|
|
// element get for estado
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for estado
|
|
// setter function is is ws_safemode_pt__legislacaoFillBean.prototype.setEstado
|
|
//
|
|
function ws_safemode_pt__legislacaoFillBean_getEstado() { return this._estado;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.getEstado = ws_safemode_pt__legislacaoFillBean_getEstado;
|
|
|
|
function ws_safemode_pt__legislacaoFillBean_setEstado(value) { this._estado = value;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.setEstado = ws_safemode_pt__legislacaoFillBean_setEstado;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoFillBean.prototype.getId
|
|
// element get for id
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}int
|
|
// - optional element
|
|
//
|
|
// element set for id
|
|
// setter function is is ws_safemode_pt__legislacaoFillBean.prototype.setId
|
|
//
|
|
function ws_safemode_pt__legislacaoFillBean_getId() { return this._id;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.getId = ws_safemode_pt__legislacaoFillBean_getId;
|
|
|
|
function ws_safemode_pt__legislacaoFillBean_setId(value) { this._id = value;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.setId = ws_safemode_pt__legislacaoFillBean_setId;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoFillBean.prototype.getNumero
|
|
// element get for numero
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for numero
|
|
// setter function is is ws_safemode_pt__legislacaoFillBean.prototype.setNumero
|
|
//
|
|
function ws_safemode_pt__legislacaoFillBean_getNumero() { return this._numero;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.getNumero = ws_safemode_pt__legislacaoFillBean_getNumero;
|
|
|
|
function ws_safemode_pt__legislacaoFillBean_setNumero(value) { this._numero = value;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.setNumero = ws_safemode_pt__legislacaoFillBean_setNumero;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoFillBean.prototype.getObservacoes
|
|
// element get for observacoes
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for observacoes
|
|
// setter function is is ws_safemode_pt__legislacaoFillBean.prototype.setObservacoes
|
|
//
|
|
function ws_safemode_pt__legislacaoFillBean_getObservacoes() { return this._observacoes;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.getObservacoes = ws_safemode_pt__legislacaoFillBean_getObservacoes;
|
|
|
|
function ws_safemode_pt__legislacaoFillBean_setObservacoes(value) { this._observacoes = value;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.setObservacoes = ws_safemode_pt__legislacaoFillBean_setObservacoes;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoFillBean.prototype.getPalavrasChave
|
|
// element get for palavrasChave
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - required element
|
|
// - array
|
|
// - nillable
|
|
//
|
|
// element set for palavrasChave
|
|
// setter function is is ws_safemode_pt__legislacaoFillBean.prototype.setPalavrasChave
|
|
//
|
|
function ws_safemode_pt__legislacaoFillBean_getPalavrasChave() { return this._palavrasChave;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.getPalavrasChave = ws_safemode_pt__legislacaoFillBean_getPalavrasChave;
|
|
|
|
function ws_safemode_pt__legislacaoFillBean_setPalavrasChave(value) { this._palavrasChave = value;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.setPalavrasChave = ws_safemode_pt__legislacaoFillBean_setPalavrasChave;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoFillBean.prototype.getSubtemas
|
|
// element get for subtemas
|
|
// - element type is {http://ws.safemode.pt/}classificacaoBean
|
|
// - required element
|
|
// - array
|
|
// - nillable
|
|
//
|
|
// element set for subtemas
|
|
// setter function is is ws_safemode_pt__legislacaoFillBean.prototype.setSubtemas
|
|
//
|
|
function ws_safemode_pt__legislacaoFillBean_getSubtemas() { return this._subtemas;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.getSubtemas = ws_safemode_pt__legislacaoFillBean_getSubtemas;
|
|
|
|
function ws_safemode_pt__legislacaoFillBean_setSubtemas(value) { this._subtemas = value;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.setSubtemas = ws_safemode_pt__legislacaoFillBean_setSubtemas;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoFillBean.prototype.getSumario
|
|
// element get for sumario
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for sumario
|
|
// setter function is is ws_safemode_pt__legislacaoFillBean.prototype.setSumario
|
|
//
|
|
function ws_safemode_pt__legislacaoFillBean_getSumario() { return this._sumario;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.getSumario = ws_safemode_pt__legislacaoFillBean_getSumario;
|
|
|
|
function ws_safemode_pt__legislacaoFillBean_setSumario(value) { this._sumario = value;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.setSumario = ws_safemode_pt__legislacaoFillBean_setSumario;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoFillBean.prototype.getTemFicheiro
|
|
// element get for temFicheiro
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}boolean
|
|
// - required element
|
|
//
|
|
// element set for temFicheiro
|
|
// setter function is is ws_safemode_pt__legislacaoFillBean.prototype.setTemFicheiro
|
|
//
|
|
function ws_safemode_pt__legislacaoFillBean_getTemFicheiro() { return this._temFicheiro;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.getTemFicheiro = ws_safemode_pt__legislacaoFillBean_getTemFicheiro;
|
|
|
|
function ws_safemode_pt__legislacaoFillBean_setTemFicheiro(value) { this._temFicheiro = value;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.setTemFicheiro = ws_safemode_pt__legislacaoFillBean_setTemFicheiro;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoFillBean.prototype.getTemas
|
|
// element get for temas
|
|
// - element type is {http://ws.safemode.pt/}classificacaoBean
|
|
// - required element
|
|
// - array
|
|
// - nillable
|
|
//
|
|
// element set for temas
|
|
// setter function is is ws_safemode_pt__legislacaoFillBean.prototype.setTemas
|
|
//
|
|
function ws_safemode_pt__legislacaoFillBean_getTemas() { return this._temas;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.getTemas = ws_safemode_pt__legislacaoFillBean_getTemas;
|
|
|
|
function ws_safemode_pt__legislacaoFillBean_setTemas(value) { this._temas = value;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.setTemas = ws_safemode_pt__legislacaoFillBean_setTemas;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoFillBean.prototype.getTipo
|
|
// element get for tipo
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for tipo
|
|
// setter function is is ws_safemode_pt__legislacaoFillBean.prototype.setTipo
|
|
//
|
|
function ws_safemode_pt__legislacaoFillBean_getTipo() { return this._tipo;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.getTipo = ws_safemode_pt__legislacaoFillBean_getTipo;
|
|
|
|
function ws_safemode_pt__legislacaoFillBean_setTipo(value) { this._tipo = value;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.setTipo = ws_safemode_pt__legislacaoFillBean_setTipo;
|
|
//
|
|
// accessor is ws_safemode_pt__legislacaoFillBean.prototype.getCategorias
|
|
// element get for categorias
|
|
// - element type is {http://ws.safemode.pt/}classificacaoBean
|
|
// - required element
|
|
// - array
|
|
// - nillable
|
|
//
|
|
// element set for categorias
|
|
// setter function is is ws_safemode_pt__legislacaoFillBean.prototype.setCategorias
|
|
//
|
|
function ws_safemode_pt__legislacaoFillBean_getCategorias() { return this._categorias;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.getCategorias = ws_safemode_pt__legislacaoFillBean_getCategorias;
|
|
|
|
function ws_safemode_pt__legislacaoFillBean_setCategorias(value) { this._categorias = value;}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.setCategorias = ws_safemode_pt__legislacaoFillBean_setCategorias;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}legislacaoFillBean
|
|
//
|
|
function ws_safemode_pt__legislacaoFillBean_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._cnpdDirectivasEuropeias != null) {
|
|
xml = xml + '<cnpdDirectivasEuropeias>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._cnpdDirectivasEuropeias);
|
|
xml = xml + '</cnpdDirectivasEuropeias>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._data_publicacao != null) {
|
|
xml = xml + '<data_publicacao>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._data_publicacao);
|
|
xml = xml + '</data_publicacao>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._diplomasAlterados != null) {
|
|
for (var ax = 0;ax < this._diplomasAlterados.length;ax ++) {
|
|
if (this._diplomasAlterados[ax] == null) {
|
|
xml = xml + '<diplomasAlterados xsi:nil=\'true\'/>';
|
|
} else {
|
|
xml = xml + this._diplomasAlterados[ax].serialize(cxfjsutils, 'diplomasAlterados', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._diplomasRelacionados != null) {
|
|
for (var ax = 0;ax < this._diplomasRelacionados.length;ax ++) {
|
|
if (this._diplomasRelacionados[ax] == null) {
|
|
xml = xml + '<diplomasRelacionados xsi:nil=\'true\'/>';
|
|
} else {
|
|
xml = xml + this._diplomasRelacionados[ax].serialize(cxfjsutils, 'diplomasRelacionados', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._diplomasRepublicados != null) {
|
|
for (var ax = 0;ax < this._diplomasRepublicados.length;ax ++) {
|
|
if (this._diplomasRepublicados[ax] == null) {
|
|
xml = xml + '<diplomasRepublicados xsi:nil=\'true\'/>';
|
|
} else {
|
|
xml = xml + this._diplomasRepublicados[ax].serialize(cxfjsutils, 'diplomasRepublicados', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._diplomasRevogados != null) {
|
|
for (var ax = 0;ax < this._diplomasRevogados.length;ax ++) {
|
|
if (this._diplomasRevogados[ax] == null) {
|
|
xml = xml + '<diplomasRevogados xsi:nil=\'true\'/>';
|
|
} else {
|
|
xml = xml + this._diplomasRevogados[ax].serialize(cxfjsutils, 'diplomasRevogados', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._disposicoesTransitorias != null) {
|
|
xml = xml + '<disposicoesTransitorias>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._disposicoesTransitorias);
|
|
xml = xml + '</disposicoesTransitorias>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._entidadesReguladoras != null) {
|
|
for (var ax = 0;ax < this._entidadesReguladoras.length;ax ++) {
|
|
if (this._entidadesReguladoras[ax] == null) {
|
|
xml = xml + '<entidadesReguladoras xsi:nil=\'true\'/>';
|
|
} else {
|
|
xml = xml + '<entidadesReguladoras>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._entidadesReguladoras[ax]);
|
|
xml = xml + '</entidadesReguladoras>';
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._estado != null) {
|
|
xml = xml + '<estado>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._estado);
|
|
xml = xml + '</estado>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._id != null) {
|
|
xml = xml + '<id>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._id);
|
|
xml = xml + '</id>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._numero != null) {
|
|
xml = xml + '<numero>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._numero);
|
|
xml = xml + '</numero>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._observacoes != null) {
|
|
xml = xml + '<observacoes>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._observacoes);
|
|
xml = xml + '</observacoes>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._palavrasChave != null) {
|
|
for (var ax = 0;ax < this._palavrasChave.length;ax ++) {
|
|
if (this._palavrasChave[ax] == null) {
|
|
xml = xml + '<palavrasChave xsi:nil=\'true\'/>';
|
|
} else {
|
|
xml = xml + '<palavrasChave>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._palavrasChave[ax]);
|
|
xml = xml + '</palavrasChave>';
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._subtemas != null) {
|
|
for (var ax = 0;ax < this._subtemas.length;ax ++) {
|
|
if (this._subtemas[ax] == null) {
|
|
xml = xml + '<subtemas xsi:nil=\'true\'/>';
|
|
} else {
|
|
xml = xml + this._subtemas[ax].serialize(cxfjsutils, 'subtemas', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._sumario != null) {
|
|
xml = xml + '<sumario>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._sumario);
|
|
xml = xml + '</sumario>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
xml = xml + '<temFicheiro>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._temFicheiro);
|
|
xml = xml + '</temFicheiro>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._temas != null) {
|
|
for (var ax = 0;ax < this._temas.length;ax ++) {
|
|
if (this._temas[ax] == null) {
|
|
xml = xml + '<temas xsi:nil=\'true\'/>';
|
|
} else {
|
|
xml = xml + this._temas[ax].serialize(cxfjsutils, 'temas', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._tipo != null) {
|
|
xml = xml + '<tipo>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._tipo);
|
|
xml = xml + '</tipo>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._categorias != null) {
|
|
for (var ax = 0;ax < this._categorias.length;ax ++) {
|
|
if (this._categorias[ax] == null) {
|
|
xml = xml + '<categorias xsi:nil=\'true\'/>';
|
|
} else {
|
|
xml = xml + this._categorias[ax].serialize(cxfjsutils, 'categorias', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__legislacaoFillBean.prototype.serialize = ws_safemode_pt__legislacaoFillBean_serialize;
|
|
|
|
function ws_safemode_pt__legislacaoFillBean_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__legislacaoFillBean();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing cnpdDirectivasEuropeias');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'cnpdDirectivasEuropeias')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setCnpdDirectivasEuropeias(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing data_publicacao');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'data_publicacao')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setData_publicacao(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing diplomasAlterados');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'diplomasAlterados')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__alteracaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'diplomasAlterados'));
|
|
newobject.setDiplomasAlterados(item);
|
|
var item = null;
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing diplomasRelacionados');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'diplomasRelacionados')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__diplomaBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'diplomasRelacionados'));
|
|
newobject.setDiplomasRelacionados(item);
|
|
var item = null;
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing diplomasRepublicados');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'diplomasRepublicados')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__alteracaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'diplomasRepublicados'));
|
|
newobject.setDiplomasRepublicados(item);
|
|
var item = null;
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing diplomasRevogados');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'diplomasRevogados')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__alteracaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'diplomasRevogados'));
|
|
newobject.setDiplomasRevogados(item);
|
|
var item = null;
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing disposicoesTransitorias');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'disposicoesTransitorias')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setDisposicoesTransitorias(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing entidadesReguladoras');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'entidadesReguladoras')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
arrayItem = value;
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'entidadesReguladoras'));
|
|
newobject.setEntidadesReguladoras(item);
|
|
var item = null;
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing estado');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'estado')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setEstado(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing id');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'id')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = parseInt(value);
|
|
}
|
|
newobject.setId(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing numero');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'numero')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setNumero(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing observacoes');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'observacoes')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setObservacoes(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing palavrasChave');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'palavrasChave')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
arrayItem = value;
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'palavrasChave'));
|
|
newobject.setPalavrasChave(item);
|
|
var item = null;
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing subtemas');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'subtemas')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__classificacaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'subtemas'));
|
|
newobject.setSubtemas(item);
|
|
var item = null;
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing sumario');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'sumario')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setSumario(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing temFicheiro');
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = (value == 'true');
|
|
}
|
|
newobject.setTemFicheiro(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing temas');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'temas')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__classificacaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'temas'));
|
|
newobject.setTemas(item);
|
|
var item = null;
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing tipo');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'tipo')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setTipo(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing categorias');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'categorias')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__classificacaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'categorias'));
|
|
newobject.setCategorias(item);
|
|
var item = null;
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}changeDiplomaResponse
|
|
//
|
|
function ws_safemode_pt__changeDiplomaResponse () {
|
|
this.typeMarker = 'ws_safemode_pt__changeDiplomaResponse';
|
|
this._return = '';
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__changeDiplomaResponse.prototype.getReturn
|
|
// element get for return
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}boolean
|
|
// - required element
|
|
//
|
|
// element set for return
|
|
// setter function is is ws_safemode_pt__changeDiplomaResponse.prototype.setReturn
|
|
//
|
|
function ws_safemode_pt__changeDiplomaResponse_getReturn() { return this._return;}
|
|
|
|
ws_safemode_pt__changeDiplomaResponse.prototype.getReturn = ws_safemode_pt__changeDiplomaResponse_getReturn;
|
|
|
|
function ws_safemode_pt__changeDiplomaResponse_setReturn(value) { this._return = value;}
|
|
|
|
ws_safemode_pt__changeDiplomaResponse.prototype.setReturn = ws_safemode_pt__changeDiplomaResponse_setReturn;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}changeDiplomaResponse
|
|
//
|
|
function ws_safemode_pt__changeDiplomaResponse_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
xml = xml + '<return>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._return);
|
|
xml = xml + '</return>';
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__changeDiplomaResponse.prototype.serialize = ws_safemode_pt__changeDiplomaResponse_serialize;
|
|
|
|
function ws_safemode_pt__changeDiplomaResponse_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__changeDiplomaResponse();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing return');
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = (value == 'true');
|
|
}
|
|
newobject.setReturn(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getEntidadesReguladoras
|
|
//
|
|
function ws_safemode_pt__getEntidadesReguladoras () {
|
|
this.typeMarker = 'ws_safemode_pt__getEntidadesReguladoras';
|
|
}
|
|
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getEntidadesReguladoras
|
|
//
|
|
function ws_safemode_pt__getEntidadesReguladoras_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getEntidadesReguladoras.prototype.serialize = ws_safemode_pt__getEntidadesReguladoras_serialize;
|
|
|
|
function ws_safemode_pt__getEntidadesReguladoras_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getEntidadesReguladoras();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}gravarCategoriaTemaSubtema
|
|
//
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtema () {
|
|
this.typeMarker = 'ws_safemode_pt__gravarCategoriaTemaSubtema';
|
|
this._categoria_id = null;
|
|
this._categoria_designacao = null;
|
|
this._tema_id = null;
|
|
this._tema_designacao = null;
|
|
this._subtema_id = null;
|
|
this._subtema_designacao = null;
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.getCategoria_id
|
|
// element get for categoria_id
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}int
|
|
// - optional element
|
|
//
|
|
// element set for categoria_id
|
|
// setter function is is ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.setCategoria_id
|
|
//
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtema_getCategoria_id() { return this._categoria_id;}
|
|
|
|
ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.getCategoria_id = ws_safemode_pt__gravarCategoriaTemaSubtema_getCategoria_id;
|
|
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtema_setCategoria_id(value) { this._categoria_id = value;}
|
|
|
|
ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.setCategoria_id = ws_safemode_pt__gravarCategoriaTemaSubtema_setCategoria_id;
|
|
//
|
|
// accessor is ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.getCategoria_designacao
|
|
// element get for categoria_designacao
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for categoria_designacao
|
|
// setter function is is ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.setCategoria_designacao
|
|
//
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtema_getCategoria_designacao() { return this._categoria_designacao;}
|
|
|
|
ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.getCategoria_designacao = ws_safemode_pt__gravarCategoriaTemaSubtema_getCategoria_designacao;
|
|
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtema_setCategoria_designacao(value) { this._categoria_designacao = value;}
|
|
|
|
ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.setCategoria_designacao = ws_safemode_pt__gravarCategoriaTemaSubtema_setCategoria_designacao;
|
|
//
|
|
// accessor is ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.getTema_id
|
|
// element get for tema_id
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}int
|
|
// - optional element
|
|
//
|
|
// element set for tema_id
|
|
// setter function is is ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.setTema_id
|
|
//
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtema_getTema_id() { return this._tema_id;}
|
|
|
|
ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.getTema_id = ws_safemode_pt__gravarCategoriaTemaSubtema_getTema_id;
|
|
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtema_setTema_id(value) { this._tema_id = value;}
|
|
|
|
ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.setTema_id = ws_safemode_pt__gravarCategoriaTemaSubtema_setTema_id;
|
|
//
|
|
// accessor is ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.getTema_designacao
|
|
// element get for tema_designacao
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for tema_designacao
|
|
// setter function is is ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.setTema_designacao
|
|
//
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtema_getTema_designacao() { return this._tema_designacao;}
|
|
|
|
ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.getTema_designacao = ws_safemode_pt__gravarCategoriaTemaSubtema_getTema_designacao;
|
|
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtema_setTema_designacao(value) { this._tema_designacao = value;}
|
|
|
|
ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.setTema_designacao = ws_safemode_pt__gravarCategoriaTemaSubtema_setTema_designacao;
|
|
//
|
|
// accessor is ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.getSubtema_id
|
|
// element get for subtema_id
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}int
|
|
// - optional element
|
|
//
|
|
// element set for subtema_id
|
|
// setter function is is ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.setSubtema_id
|
|
//
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtema_getSubtema_id() { return this._subtema_id;}
|
|
|
|
ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.getSubtema_id = ws_safemode_pt__gravarCategoriaTemaSubtema_getSubtema_id;
|
|
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtema_setSubtema_id(value) { this._subtema_id = value;}
|
|
|
|
ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.setSubtema_id = ws_safemode_pt__gravarCategoriaTemaSubtema_setSubtema_id;
|
|
//
|
|
// accessor is ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.getSubtema_designacao
|
|
// element get for subtema_designacao
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for subtema_designacao
|
|
// setter function is is ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.setSubtema_designacao
|
|
//
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtema_getSubtema_designacao() { return this._subtema_designacao;}
|
|
|
|
ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.getSubtema_designacao = ws_safemode_pt__gravarCategoriaTemaSubtema_getSubtema_designacao;
|
|
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtema_setSubtema_designacao(value) { this._subtema_designacao = value;}
|
|
|
|
ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.setSubtema_designacao = ws_safemode_pt__gravarCategoriaTemaSubtema_setSubtema_designacao;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}gravarCategoriaTemaSubtema
|
|
//
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtema_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._categoria_id != null) {
|
|
xml = xml + '<categoria_id>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._categoria_id);
|
|
xml = xml + '</categoria_id>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._categoria_designacao != null) {
|
|
xml = xml + '<categoria_designacao>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._categoria_designacao);
|
|
xml = xml + '</categoria_designacao>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._tema_id != null) {
|
|
xml = xml + '<tema_id>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._tema_id);
|
|
xml = xml + '</tema_id>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._tema_designacao != null) {
|
|
xml = xml + '<tema_designacao>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._tema_designacao);
|
|
xml = xml + '</tema_designacao>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._subtema_id != null) {
|
|
xml = xml + '<subtema_id>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._subtema_id);
|
|
xml = xml + '</subtema_id>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._subtema_designacao != null) {
|
|
xml = xml + '<subtema_designacao>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._subtema_designacao);
|
|
xml = xml + '</subtema_designacao>';
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__gravarCategoriaTemaSubtema.prototype.serialize = ws_safemode_pt__gravarCategoriaTemaSubtema_serialize;
|
|
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtema_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__gravarCategoriaTemaSubtema();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing categoria_id');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'categoria_id')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = parseInt(value);
|
|
}
|
|
newobject.setCategoria_id(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing categoria_designacao');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'categoria_designacao')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setCategoria_designacao(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing tema_id');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'tema_id')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = parseInt(value);
|
|
}
|
|
newobject.setTema_id(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing tema_designacao');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'tema_designacao')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setTema_designacao(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing subtema_id');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'subtema_id')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = parseInt(value);
|
|
}
|
|
newobject.setSubtema_id(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing subtema_designacao');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'subtema_designacao')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setSubtema_designacao(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getSubtemasResponse
|
|
//
|
|
function ws_safemode_pt__getSubtemasResponse () {
|
|
this.typeMarker = 'ws_safemode_pt__getSubtemasResponse';
|
|
this._return = [];
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__getSubtemasResponse.prototype.getReturn
|
|
// element get for return
|
|
// - element type is {http://ws.safemode.pt/}classificacaoBean
|
|
// - required element
|
|
// - array
|
|
//
|
|
// element set for return
|
|
// setter function is is ws_safemode_pt__getSubtemasResponse.prototype.setReturn
|
|
//
|
|
function ws_safemode_pt__getSubtemasResponse_getReturn() { return this._return;}
|
|
|
|
ws_safemode_pt__getSubtemasResponse.prototype.getReturn = ws_safemode_pt__getSubtemasResponse_getReturn;
|
|
|
|
function ws_safemode_pt__getSubtemasResponse_setReturn(value) { this._return = value;}
|
|
|
|
ws_safemode_pt__getSubtemasResponse.prototype.setReturn = ws_safemode_pt__getSubtemasResponse_setReturn;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getSubtemasResponse
|
|
//
|
|
function ws_safemode_pt__getSubtemasResponse_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._return != null) {
|
|
for (var ax = 0;ax < this._return.length;ax ++) {
|
|
if (this._return[ax] == null) {
|
|
xml = xml + '<return/>';
|
|
} else {
|
|
xml = xml + this._return[ax].serialize(cxfjsutils, 'return', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getSubtemasResponse.prototype.serialize = ws_safemode_pt__getSubtemasResponse_serialize;
|
|
|
|
function ws_safemode_pt__getSubtemasResponse_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getSubtemasResponse();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing return');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__classificacaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return'));
|
|
newobject.setReturn(item);
|
|
var item = null;
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}createEntidadeReguladoraResponse
|
|
//
|
|
function ws_safemode_pt__createEntidadeReguladoraResponse () {
|
|
this.typeMarker = 'ws_safemode_pt__createEntidadeReguladoraResponse';
|
|
this._return = '';
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__createEntidadeReguladoraResponse.prototype.getReturn
|
|
// element get for return
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}boolean
|
|
// - required element
|
|
//
|
|
// element set for return
|
|
// setter function is is ws_safemode_pt__createEntidadeReguladoraResponse.prototype.setReturn
|
|
//
|
|
function ws_safemode_pt__createEntidadeReguladoraResponse_getReturn() { return this._return;}
|
|
|
|
ws_safemode_pt__createEntidadeReguladoraResponse.prototype.getReturn = ws_safemode_pt__createEntidadeReguladoraResponse_getReturn;
|
|
|
|
function ws_safemode_pt__createEntidadeReguladoraResponse_setReturn(value) { this._return = value;}
|
|
|
|
ws_safemode_pt__createEntidadeReguladoraResponse.prototype.setReturn = ws_safemode_pt__createEntidadeReguladoraResponse_setReturn;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}createEntidadeReguladoraResponse
|
|
//
|
|
function ws_safemode_pt__createEntidadeReguladoraResponse_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
xml = xml + '<return>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._return);
|
|
xml = xml + '</return>';
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__createEntidadeReguladoraResponse.prototype.serialize = ws_safemode_pt__createEntidadeReguladoraResponse_serialize;
|
|
|
|
function ws_safemode_pt__createEntidadeReguladoraResponse_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__createEntidadeReguladoraResponse();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing return');
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = (value == 'true');
|
|
}
|
|
newobject.setReturn(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getCategoriasResponse
|
|
//
|
|
function ws_safemode_pt__getCategoriasResponse () {
|
|
this.typeMarker = 'ws_safemode_pt__getCategoriasResponse';
|
|
this._return = [];
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__getCategoriasResponse.prototype.getReturn
|
|
// element get for return
|
|
// - element type is {http://ws.safemode.pt/}classificacaoBean
|
|
// - required element
|
|
// - array
|
|
//
|
|
// element set for return
|
|
// setter function is is ws_safemode_pt__getCategoriasResponse.prototype.setReturn
|
|
//
|
|
function ws_safemode_pt__getCategoriasResponse_getReturn() { return this._return;}
|
|
|
|
ws_safemode_pt__getCategoriasResponse.prototype.getReturn = ws_safemode_pt__getCategoriasResponse_getReturn;
|
|
|
|
function ws_safemode_pt__getCategoriasResponse_setReturn(value) { this._return = value;}
|
|
|
|
ws_safemode_pt__getCategoriasResponse.prototype.setReturn = ws_safemode_pt__getCategoriasResponse_setReturn;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getCategoriasResponse
|
|
//
|
|
function ws_safemode_pt__getCategoriasResponse_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._return != null) {
|
|
for (var ax = 0;ax < this._return.length;ax ++) {
|
|
if (this._return[ax] == null) {
|
|
xml = xml + '<return/>';
|
|
} else {
|
|
xml = xml + this._return[ax].serialize(cxfjsutils, 'return', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getCategoriasResponse.prototype.serialize = ws_safemode_pt__getCategoriasResponse_serialize;
|
|
|
|
function ws_safemode_pt__getCategoriasResponse_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getCategoriasResponse();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing return');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__classificacaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return'));
|
|
newobject.setReturn(item);
|
|
var item = null;
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getAllEntidadesReguladoras
|
|
//
|
|
function ws_safemode_pt__getAllEntidadesReguladoras () {
|
|
this.typeMarker = 'ws_safemode_pt__getAllEntidadesReguladoras';
|
|
}
|
|
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getAllEntidadesReguladoras
|
|
//
|
|
function ws_safemode_pt__getAllEntidadesReguladoras_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getAllEntidadesReguladoras.prototype.serialize = ws_safemode_pt__getAllEntidadesReguladoras_serialize;
|
|
|
|
function ws_safemode_pt__getAllEntidadesReguladoras_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getAllEntidadesReguladoras();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getEstadosResponse
|
|
//
|
|
function ws_safemode_pt__getEstadosResponse () {
|
|
this.typeMarker = 'ws_safemode_pt__getEstadosResponse';
|
|
this._return = [];
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__getEstadosResponse.prototype.getReturn
|
|
// element get for return
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - required element
|
|
// - array
|
|
//
|
|
// element set for return
|
|
// setter function is is ws_safemode_pt__getEstadosResponse.prototype.setReturn
|
|
//
|
|
function ws_safemode_pt__getEstadosResponse_getReturn() { return this._return;}
|
|
|
|
ws_safemode_pt__getEstadosResponse.prototype.getReturn = ws_safemode_pt__getEstadosResponse_getReturn;
|
|
|
|
function ws_safemode_pt__getEstadosResponse_setReturn(value) { this._return = value;}
|
|
|
|
ws_safemode_pt__getEstadosResponse.prototype.setReturn = ws_safemode_pt__getEstadosResponse_setReturn;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getEstadosResponse
|
|
//
|
|
function ws_safemode_pt__getEstadosResponse_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._return != null) {
|
|
for (var ax = 0;ax < this._return.length;ax ++) {
|
|
if (this._return[ax] == null) {
|
|
xml = xml + '<return/>';
|
|
} else {
|
|
xml = xml + '<return>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._return[ax]);
|
|
xml = xml + '</return>';
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getEstadosResponse.prototype.serialize = ws_safemode_pt__getEstadosResponse_serialize;
|
|
|
|
function ws_safemode_pt__getEstadosResponse_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getEstadosResponse();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing return');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
arrayItem = value;
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return'));
|
|
newobject.setReturn(item);
|
|
var item = null;
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getPalavrasChaveResponse
|
|
//
|
|
function ws_safemode_pt__getPalavrasChaveResponse () {
|
|
this.typeMarker = 'ws_safemode_pt__getPalavrasChaveResponse';
|
|
this._return = [];
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__getPalavrasChaveResponse.prototype.getReturn
|
|
// element get for return
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - required element
|
|
// - array
|
|
//
|
|
// element set for return
|
|
// setter function is is ws_safemode_pt__getPalavrasChaveResponse.prototype.setReturn
|
|
//
|
|
function ws_safemode_pt__getPalavrasChaveResponse_getReturn() { return this._return;}
|
|
|
|
ws_safemode_pt__getPalavrasChaveResponse.prototype.getReturn = ws_safemode_pt__getPalavrasChaveResponse_getReturn;
|
|
|
|
function ws_safemode_pt__getPalavrasChaveResponse_setReturn(value) { this._return = value;}
|
|
|
|
ws_safemode_pt__getPalavrasChaveResponse.prototype.setReturn = ws_safemode_pt__getPalavrasChaveResponse_setReturn;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getPalavrasChaveResponse
|
|
//
|
|
function ws_safemode_pt__getPalavrasChaveResponse_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._return != null) {
|
|
for (var ax = 0;ax < this._return.length;ax ++) {
|
|
if (this._return[ax] == null) {
|
|
xml = xml + '<return/>';
|
|
} else {
|
|
xml = xml + '<return>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._return[ax]);
|
|
xml = xml + '</return>';
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getPalavrasChaveResponse.prototype.serialize = ws_safemode_pt__getPalavrasChaveResponse_serialize;
|
|
|
|
function ws_safemode_pt__getPalavrasChaveResponse_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getPalavrasChaveResponse();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing return');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
arrayItem = value;
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return'));
|
|
newobject.setReturn(item);
|
|
var item = null;
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getPalavrasChave
|
|
//
|
|
function ws_safemode_pt__getPalavrasChave () {
|
|
this.typeMarker = 'ws_safemode_pt__getPalavrasChave';
|
|
this._arg0 = null;
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__getPalavrasChave.prototype.getArg0
|
|
// element get for arg0
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for arg0
|
|
// setter function is is ws_safemode_pt__getPalavrasChave.prototype.setArg0
|
|
//
|
|
function ws_safemode_pt__getPalavrasChave_getArg0() { return this._arg0;}
|
|
|
|
ws_safemode_pt__getPalavrasChave.prototype.getArg0 = ws_safemode_pt__getPalavrasChave_getArg0;
|
|
|
|
function ws_safemode_pt__getPalavrasChave_setArg0(value) { this._arg0 = value;}
|
|
|
|
ws_safemode_pt__getPalavrasChave.prototype.setArg0 = ws_safemode_pt__getPalavrasChave_setArg0;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getPalavrasChave
|
|
//
|
|
function ws_safemode_pt__getPalavrasChave_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._arg0 != null) {
|
|
xml = xml + '<arg0>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._arg0);
|
|
xml = xml + '</arg0>';
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getPalavrasChave.prototype.serialize = ws_safemode_pt__getPalavrasChave_serialize;
|
|
|
|
function ws_safemode_pt__getPalavrasChave_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getPalavrasChave();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing arg0');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'arg0')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setArg0(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}removeEntidadeReguladoraResponse
|
|
//
|
|
function ws_safemode_pt__removeEntidadeReguladoraResponse () {
|
|
this.typeMarker = 'ws_safemode_pt__removeEntidadeReguladoraResponse';
|
|
this._return = '';
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__removeEntidadeReguladoraResponse.prototype.getReturn
|
|
// element get for return
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}boolean
|
|
// - required element
|
|
//
|
|
// element set for return
|
|
// setter function is is ws_safemode_pt__removeEntidadeReguladoraResponse.prototype.setReturn
|
|
//
|
|
function ws_safemode_pt__removeEntidadeReguladoraResponse_getReturn() { return this._return;}
|
|
|
|
ws_safemode_pt__removeEntidadeReguladoraResponse.prototype.getReturn = ws_safemode_pt__removeEntidadeReguladoraResponse_getReturn;
|
|
|
|
function ws_safemode_pt__removeEntidadeReguladoraResponse_setReturn(value) { this._return = value;}
|
|
|
|
ws_safemode_pt__removeEntidadeReguladoraResponse.prototype.setReturn = ws_safemode_pt__removeEntidadeReguladoraResponse_setReturn;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}removeEntidadeReguladoraResponse
|
|
//
|
|
function ws_safemode_pt__removeEntidadeReguladoraResponse_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
xml = xml + '<return>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._return);
|
|
xml = xml + '</return>';
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__removeEntidadeReguladoraResponse.prototype.serialize = ws_safemode_pt__removeEntidadeReguladoraResponse_serialize;
|
|
|
|
function ws_safemode_pt__removeEntidadeReguladoraResponse_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__removeEntidadeReguladoraResponse();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing return');
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = (value == 'true');
|
|
}
|
|
newobject.setReturn(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}timestamp
|
|
//
|
|
function ws_safemode_pt__timestamp () {
|
|
this.typeMarker = 'ws_safemode_pt__timestamp';
|
|
this._nanos = 0;
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__timestamp.prototype.getNanos
|
|
// element get for nanos
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}int
|
|
// - required element
|
|
//
|
|
// element set for nanos
|
|
// setter function is is ws_safemode_pt__timestamp.prototype.setNanos
|
|
//
|
|
function ws_safemode_pt__timestamp_getNanos() { return this._nanos;}
|
|
|
|
ws_safemode_pt__timestamp.prototype.getNanos = ws_safemode_pt__timestamp_getNanos;
|
|
|
|
function ws_safemode_pt__timestamp_setNanos(value) { this._nanos = value;}
|
|
|
|
ws_safemode_pt__timestamp.prototype.setNanos = ws_safemode_pt__timestamp_setNanos;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}timestamp
|
|
//
|
|
function ws_safemode_pt__timestamp_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
xml = xml + '<nanos>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._nanos);
|
|
xml = xml + '</nanos>';
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__timestamp.prototype.serialize = ws_safemode_pt__timestamp_serialize;
|
|
|
|
function ws_safemode_pt__timestamp_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__timestamp();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing nanos');
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = parseInt(value);
|
|
}
|
|
newobject.setNanos(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}changeDiploma
|
|
//
|
|
function ws_safemode_pt__changeDiploma () {
|
|
this.typeMarker = 'ws_safemode_pt__changeDiploma';
|
|
this._bean = null;
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__changeDiploma.prototype.getBean
|
|
// element get for bean
|
|
// - element type is {http://ws.safemode.pt/}legislacaoBean
|
|
// - optional element
|
|
//
|
|
// element set for bean
|
|
// setter function is is ws_safemode_pt__changeDiploma.prototype.setBean
|
|
//
|
|
function ws_safemode_pt__changeDiploma_getBean() { return this._bean;}
|
|
|
|
ws_safemode_pt__changeDiploma.prototype.getBean = ws_safemode_pt__changeDiploma_getBean;
|
|
|
|
function ws_safemode_pt__changeDiploma_setBean(value) { this._bean = value;}
|
|
|
|
ws_safemode_pt__changeDiploma.prototype.setBean = ws_safemode_pt__changeDiploma_setBean;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}changeDiploma
|
|
//
|
|
function ws_safemode_pt__changeDiploma_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._bean != null) {
|
|
xml = xml + this._bean.serialize(cxfjsutils, 'bean', null);
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__changeDiploma.prototype.serialize = ws_safemode_pt__changeDiploma_serialize;
|
|
|
|
function ws_safemode_pt__changeDiploma_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__changeDiploma();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing bean');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'bean')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
item = ws_safemode_pt__legislacaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
newobject.setBean(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}addDiplomaResponse
|
|
//
|
|
function ws_safemode_pt__addDiplomaResponse () {
|
|
this.typeMarker = 'ws_safemode_pt__addDiplomaResponse';
|
|
this._return = '';
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__addDiplomaResponse.prototype.getReturn
|
|
// element get for return
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}boolean
|
|
// - required element
|
|
//
|
|
// element set for return
|
|
// setter function is is ws_safemode_pt__addDiplomaResponse.prototype.setReturn
|
|
//
|
|
function ws_safemode_pt__addDiplomaResponse_getReturn() { return this._return;}
|
|
|
|
ws_safemode_pt__addDiplomaResponse.prototype.getReturn = ws_safemode_pt__addDiplomaResponse_getReturn;
|
|
|
|
function ws_safemode_pt__addDiplomaResponse_setReturn(value) { this._return = value;}
|
|
|
|
ws_safemode_pt__addDiplomaResponse.prototype.setReturn = ws_safemode_pt__addDiplomaResponse_setReturn;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}addDiplomaResponse
|
|
//
|
|
function ws_safemode_pt__addDiplomaResponse_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
xml = xml + '<return>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._return);
|
|
xml = xml + '</return>';
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__addDiplomaResponse.prototype.serialize = ws_safemode_pt__addDiplomaResponse_serialize;
|
|
|
|
function ws_safemode_pt__addDiplomaResponse_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__addDiplomaResponse();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing return');
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = (value == 'true');
|
|
}
|
|
newobject.setReturn(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getEntidadesReguladorasResponse
|
|
//
|
|
function ws_safemode_pt__getEntidadesReguladorasResponse () {
|
|
this.typeMarker = 'ws_safemode_pt__getEntidadesReguladorasResponse';
|
|
this._return = [];
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__getEntidadesReguladorasResponse.prototype.getReturn
|
|
// element get for return
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - required element
|
|
// - array
|
|
//
|
|
// element set for return
|
|
// setter function is is ws_safemode_pt__getEntidadesReguladorasResponse.prototype.setReturn
|
|
//
|
|
function ws_safemode_pt__getEntidadesReguladorasResponse_getReturn() { return this._return;}
|
|
|
|
ws_safemode_pt__getEntidadesReguladorasResponse.prototype.getReturn = ws_safemode_pt__getEntidadesReguladorasResponse_getReturn;
|
|
|
|
function ws_safemode_pt__getEntidadesReguladorasResponse_setReturn(value) { this._return = value;}
|
|
|
|
ws_safemode_pt__getEntidadesReguladorasResponse.prototype.setReturn = ws_safemode_pt__getEntidadesReguladorasResponse_setReturn;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getEntidadesReguladorasResponse
|
|
//
|
|
function ws_safemode_pt__getEntidadesReguladorasResponse_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._return != null) {
|
|
for (var ax = 0;ax < this._return.length;ax ++) {
|
|
if (this._return[ax] == null) {
|
|
xml = xml + '<return/>';
|
|
} else {
|
|
xml = xml + '<return>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._return[ax]);
|
|
xml = xml + '</return>';
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getEntidadesReguladorasResponse.prototype.serialize = ws_safemode_pt__getEntidadesReguladorasResponse_serialize;
|
|
|
|
function ws_safemode_pt__getEntidadesReguladorasResponse_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getEntidadesReguladorasResponse();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing return');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
arrayItem = value;
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return'));
|
|
newobject.setReturn(item);
|
|
var item = null;
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}legEntidadeReguladoraBeanData
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBeanData () {
|
|
this.typeMarker = 'ws_safemode_pt__legEntidadeReguladoraBeanData';
|
|
this._id = null;
|
|
this._created_stamp = null;
|
|
this._created_user_id = null;
|
|
this._deleted_stamp = null;
|
|
this._deleted_user_id = null;
|
|
this._codigo = null;
|
|
this._abreviatura = null;
|
|
this._designacao = null;
|
|
this._descricao = null;
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.getId
|
|
// element get for id
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}int
|
|
// - optional element
|
|
//
|
|
// element set for id
|
|
// setter function is is ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.setId
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBeanData_getId() { return this._id;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.getId = ws_safemode_pt__legEntidadeReguladoraBeanData_getId;
|
|
|
|
function ws_safemode_pt__legEntidadeReguladoraBeanData_setId(value) { this._id = value;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.setId = ws_safemode_pt__legEntidadeReguladoraBeanData_setId;
|
|
//
|
|
// accessor is ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.getCreated_stamp
|
|
// element get for created_stamp
|
|
// - element type is {http://ws.safemode.pt/}timestamp
|
|
// - optional element
|
|
//
|
|
// element set for created_stamp
|
|
// setter function is is ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.setCreated_stamp
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBeanData_getCreated_stamp() { return this._created_stamp;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.getCreated_stamp = ws_safemode_pt__legEntidadeReguladoraBeanData_getCreated_stamp;
|
|
|
|
function ws_safemode_pt__legEntidadeReguladoraBeanData_setCreated_stamp(value) { this._created_stamp = value;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.setCreated_stamp = ws_safemode_pt__legEntidadeReguladoraBeanData_setCreated_stamp;
|
|
//
|
|
// accessor is ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.getCreated_user_id
|
|
// element get for created_user_id
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}int
|
|
// - optional element
|
|
//
|
|
// element set for created_user_id
|
|
// setter function is is ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.setCreated_user_id
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBeanData_getCreated_user_id() { return this._created_user_id;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.getCreated_user_id = ws_safemode_pt__legEntidadeReguladoraBeanData_getCreated_user_id;
|
|
|
|
function ws_safemode_pt__legEntidadeReguladoraBeanData_setCreated_user_id(value) { this._created_user_id = value;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.setCreated_user_id = ws_safemode_pt__legEntidadeReguladoraBeanData_setCreated_user_id;
|
|
//
|
|
// accessor is ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.getDeleted_stamp
|
|
// element get for deleted_stamp
|
|
// - element type is {http://ws.safemode.pt/}timestamp
|
|
// - optional element
|
|
//
|
|
// element set for deleted_stamp
|
|
// setter function is is ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.setDeleted_stamp
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBeanData_getDeleted_stamp() { return this._deleted_stamp;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.getDeleted_stamp = ws_safemode_pt__legEntidadeReguladoraBeanData_getDeleted_stamp;
|
|
|
|
function ws_safemode_pt__legEntidadeReguladoraBeanData_setDeleted_stamp(value) { this._deleted_stamp = value;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.setDeleted_stamp = ws_safemode_pt__legEntidadeReguladoraBeanData_setDeleted_stamp;
|
|
//
|
|
// accessor is ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.getDeleted_user_id
|
|
// element get for deleted_user_id
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}int
|
|
// - optional element
|
|
//
|
|
// element set for deleted_user_id
|
|
// setter function is is ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.setDeleted_user_id
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBeanData_getDeleted_user_id() { return this._deleted_user_id;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.getDeleted_user_id = ws_safemode_pt__legEntidadeReguladoraBeanData_getDeleted_user_id;
|
|
|
|
function ws_safemode_pt__legEntidadeReguladoraBeanData_setDeleted_user_id(value) { this._deleted_user_id = value;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.setDeleted_user_id = ws_safemode_pt__legEntidadeReguladoraBeanData_setDeleted_user_id;
|
|
//
|
|
// accessor is ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.getCodigo
|
|
// element get for codigo
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for codigo
|
|
// setter function is is ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.setCodigo
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBeanData_getCodigo() { return this._codigo;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.getCodigo = ws_safemode_pt__legEntidadeReguladoraBeanData_getCodigo;
|
|
|
|
function ws_safemode_pt__legEntidadeReguladoraBeanData_setCodigo(value) { this._codigo = value;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.setCodigo = ws_safemode_pt__legEntidadeReguladoraBeanData_setCodigo;
|
|
//
|
|
// accessor is ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.getAbreviatura
|
|
// element get for abreviatura
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for abreviatura
|
|
// setter function is is ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.setAbreviatura
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBeanData_getAbreviatura() { return this._abreviatura;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.getAbreviatura = ws_safemode_pt__legEntidadeReguladoraBeanData_getAbreviatura;
|
|
|
|
function ws_safemode_pt__legEntidadeReguladoraBeanData_setAbreviatura(value) { this._abreviatura = value;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.setAbreviatura = ws_safemode_pt__legEntidadeReguladoraBeanData_setAbreviatura;
|
|
//
|
|
// accessor is ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.getDesignacao
|
|
// element get for designacao
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for designacao
|
|
// setter function is is ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.setDesignacao
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBeanData_getDesignacao() { return this._designacao;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.getDesignacao = ws_safemode_pt__legEntidadeReguladoraBeanData_getDesignacao;
|
|
|
|
function ws_safemode_pt__legEntidadeReguladoraBeanData_setDesignacao(value) { this._designacao = value;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.setDesignacao = ws_safemode_pt__legEntidadeReguladoraBeanData_setDesignacao;
|
|
//
|
|
// accessor is ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.getDescricao
|
|
// element get for descricao
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for descricao
|
|
// setter function is is ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.setDescricao
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBeanData_getDescricao() { return this._descricao;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.getDescricao = ws_safemode_pt__legEntidadeReguladoraBeanData_getDescricao;
|
|
|
|
function ws_safemode_pt__legEntidadeReguladoraBeanData_setDescricao(value) { this._descricao = value;}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.setDescricao = ws_safemode_pt__legEntidadeReguladoraBeanData_setDescricao;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}legEntidadeReguladoraBeanData
|
|
//
|
|
function ws_safemode_pt__legEntidadeReguladoraBeanData_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._id != null) {
|
|
xml = xml + '<id>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._id);
|
|
xml = xml + '</id>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._created_stamp != null) {
|
|
xml = xml + this._created_stamp.serialize(cxfjsutils, 'created_stamp', null);
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._created_user_id != null) {
|
|
xml = xml + '<created_user_id>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._created_user_id);
|
|
xml = xml + '</created_user_id>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._deleted_stamp != null) {
|
|
xml = xml + this._deleted_stamp.serialize(cxfjsutils, 'deleted_stamp', null);
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._deleted_user_id != null) {
|
|
xml = xml + '<deleted_user_id>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._deleted_user_id);
|
|
xml = xml + '</deleted_user_id>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._codigo != null) {
|
|
xml = xml + '<codigo>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._codigo);
|
|
xml = xml + '</codigo>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._abreviatura != null) {
|
|
xml = xml + '<abreviatura>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._abreviatura);
|
|
xml = xml + '</abreviatura>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._designacao != null) {
|
|
xml = xml + '<designacao>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._designacao);
|
|
xml = xml + '</designacao>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._descricao != null) {
|
|
xml = xml + '<descricao>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._descricao);
|
|
xml = xml + '</descricao>';
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__legEntidadeReguladoraBeanData.prototype.serialize = ws_safemode_pt__legEntidadeReguladoraBeanData_serialize;
|
|
|
|
function ws_safemode_pt__legEntidadeReguladoraBeanData_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__legEntidadeReguladoraBeanData();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing id');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'id')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = parseInt(value);
|
|
}
|
|
newobject.setId(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing created_stamp');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'created_stamp')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
item = ws_safemode_pt__timestamp_deserialize(cxfjsutils, curElement);
|
|
}
|
|
newobject.setCreated_stamp(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing created_user_id');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'created_user_id')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = parseInt(value);
|
|
}
|
|
newobject.setCreated_user_id(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing deleted_stamp');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'deleted_stamp')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
item = ws_safemode_pt__timestamp_deserialize(cxfjsutils, curElement);
|
|
}
|
|
newobject.setDeleted_stamp(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing deleted_user_id');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'deleted_user_id')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = parseInt(value);
|
|
}
|
|
newobject.setDeleted_user_id(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing codigo');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'codigo')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setCodigo(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing abreviatura');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'abreviatura')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setAbreviatura(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing designacao');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'designacao')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setDesignacao(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing descricao');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'descricao')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setDescricao(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}removePdf
|
|
//
|
|
function ws_safemode_pt__removePdf () {
|
|
this.typeMarker = 'ws_safemode_pt__removePdf';
|
|
this._arg0 = null;
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__removePdf.prototype.getArg0
|
|
// element get for arg0
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}int
|
|
// - optional element
|
|
//
|
|
// element set for arg0
|
|
// setter function is is ws_safemode_pt__removePdf.prototype.setArg0
|
|
//
|
|
function ws_safemode_pt__removePdf_getArg0() { return this._arg0;}
|
|
|
|
ws_safemode_pt__removePdf.prototype.getArg0 = ws_safemode_pt__removePdf_getArg0;
|
|
|
|
function ws_safemode_pt__removePdf_setArg0(value) { this._arg0 = value;}
|
|
|
|
ws_safemode_pt__removePdf.prototype.setArg0 = ws_safemode_pt__removePdf_setArg0;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}removePdf
|
|
//
|
|
function ws_safemode_pt__removePdf_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._arg0 != null) {
|
|
xml = xml + '<arg0>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._arg0);
|
|
xml = xml + '</arg0>';
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__removePdf.prototype.serialize = ws_safemode_pt__removePdf_serialize;
|
|
|
|
function ws_safemode_pt__removePdf_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__removePdf();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing arg0');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'arg0')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = parseInt(value);
|
|
}
|
|
newobject.setArg0(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getTemasResponse
|
|
//
|
|
function ws_safemode_pt__getTemasResponse () {
|
|
this.typeMarker = 'ws_safemode_pt__getTemasResponse';
|
|
this._return = [];
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__getTemasResponse.prototype.getReturn
|
|
// element get for return
|
|
// - element type is {http://ws.safemode.pt/}classificacaoBean
|
|
// - required element
|
|
// - array
|
|
//
|
|
// element set for return
|
|
// setter function is is ws_safemode_pt__getTemasResponse.prototype.setReturn
|
|
//
|
|
function ws_safemode_pt__getTemasResponse_getReturn() { return this._return;}
|
|
|
|
ws_safemode_pt__getTemasResponse.prototype.getReturn = ws_safemode_pt__getTemasResponse_getReturn;
|
|
|
|
function ws_safemode_pt__getTemasResponse_setReturn(value) { this._return = value;}
|
|
|
|
ws_safemode_pt__getTemasResponse.prototype.setReturn = ws_safemode_pt__getTemasResponse_setReturn;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getTemasResponse
|
|
//
|
|
function ws_safemode_pt__getTemasResponse_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._return != null) {
|
|
for (var ax = 0;ax < this._return.length;ax ++) {
|
|
if (this._return[ax] == null) {
|
|
xml = xml + '<return/>';
|
|
} else {
|
|
xml = xml + this._return[ax].serialize(cxfjsutils, 'return', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getTemasResponse.prototype.serialize = ws_safemode_pt__getTemasResponse_serialize;
|
|
|
|
function ws_safemode_pt__getTemasResponse_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getTemasResponse();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing return');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__classificacaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return'));
|
|
newobject.setReturn(item);
|
|
var item = null;
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getDiplomas
|
|
//
|
|
function ws_safemode_pt__getDiplomas () {
|
|
this.typeMarker = 'ws_safemode_pt__getDiplomas';
|
|
this._arg0 = null;
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__getDiplomas.prototype.getArg0
|
|
// element get for arg0
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for arg0
|
|
// setter function is is ws_safemode_pt__getDiplomas.prototype.setArg0
|
|
//
|
|
function ws_safemode_pt__getDiplomas_getArg0() { return this._arg0;}
|
|
|
|
ws_safemode_pt__getDiplomas.prototype.getArg0 = ws_safemode_pt__getDiplomas_getArg0;
|
|
|
|
function ws_safemode_pt__getDiplomas_setArg0(value) { this._arg0 = value;}
|
|
|
|
ws_safemode_pt__getDiplomas.prototype.setArg0 = ws_safemode_pt__getDiplomas_setArg0;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getDiplomas
|
|
//
|
|
function ws_safemode_pt__getDiplomas_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._arg0 != null) {
|
|
xml = xml + '<arg0>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._arg0);
|
|
xml = xml + '</arg0>';
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getDiplomas.prototype.serialize = ws_safemode_pt__getDiplomas_serialize;
|
|
|
|
function ws_safemode_pt__getDiplomas_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getDiplomas();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing arg0');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'arg0')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setArg0(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getDiplomaViewResponse
|
|
//
|
|
function ws_safemode_pt__getDiplomaViewResponse () {
|
|
this.typeMarker = 'ws_safemode_pt__getDiplomaViewResponse';
|
|
this._return = null;
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__getDiplomaViewResponse.prototype.getReturn
|
|
// element get for return
|
|
// - element type is {http://ws.safemode.pt/}legislacaoFillBean
|
|
// - optional element
|
|
//
|
|
// element set for return
|
|
// setter function is is ws_safemode_pt__getDiplomaViewResponse.prototype.setReturn
|
|
//
|
|
function ws_safemode_pt__getDiplomaViewResponse_getReturn() { return this._return;}
|
|
|
|
ws_safemode_pt__getDiplomaViewResponse.prototype.getReturn = ws_safemode_pt__getDiplomaViewResponse_getReturn;
|
|
|
|
function ws_safemode_pt__getDiplomaViewResponse_setReturn(value) { this._return = value;}
|
|
|
|
ws_safemode_pt__getDiplomaViewResponse.prototype.setReturn = ws_safemode_pt__getDiplomaViewResponse_setReturn;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getDiplomaViewResponse
|
|
//
|
|
function ws_safemode_pt__getDiplomaViewResponse_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._return != null) {
|
|
xml = xml + this._return.serialize(cxfjsutils, 'return', null);
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getDiplomaViewResponse.prototype.serialize = ws_safemode_pt__getDiplomaViewResponse_serialize;
|
|
|
|
function ws_safemode_pt__getDiplomaViewResponse_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getDiplomaViewResponse();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing return');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
item = ws_safemode_pt__legislacaoFillBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
newobject.setReturn(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getAllCategorias
|
|
//
|
|
function ws_safemode_pt__getAllCategorias () {
|
|
this.typeMarker = 'ws_safemode_pt__getAllCategorias';
|
|
}
|
|
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getAllCategorias
|
|
//
|
|
function ws_safemode_pt__getAllCategorias_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getAllCategorias.prototype.serialize = ws_safemode_pt__getAllCategorias_serialize;
|
|
|
|
function ws_safemode_pt__getAllCategorias_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getAllCategorias();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}createEntidadeReguladora
|
|
//
|
|
function ws_safemode_pt__createEntidadeReguladora () {
|
|
this.typeMarker = 'ws_safemode_pt__createEntidadeReguladora';
|
|
this._entidade_reguladora = null;
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__createEntidadeReguladora.prototype.getEntidade_reguladora
|
|
// element get for entidade_reguladora
|
|
// - element type is {http://ws.safemode.pt/}legEntidadeReguladoraBeanData
|
|
// - optional element
|
|
//
|
|
// element set for entidade_reguladora
|
|
// setter function is is ws_safemode_pt__createEntidadeReguladora.prototype.setEntidade_reguladora
|
|
//
|
|
function ws_safemode_pt__createEntidadeReguladora_getEntidade_reguladora() { return this._entidade_reguladora;}
|
|
|
|
ws_safemode_pt__createEntidadeReguladora.prototype.getEntidade_reguladora = ws_safemode_pt__createEntidadeReguladora_getEntidade_reguladora;
|
|
|
|
function ws_safemode_pt__createEntidadeReguladora_setEntidade_reguladora(value) { this._entidade_reguladora = value;}
|
|
|
|
ws_safemode_pt__createEntidadeReguladora.prototype.setEntidade_reguladora = ws_safemode_pt__createEntidadeReguladora_setEntidade_reguladora;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}createEntidadeReguladora
|
|
//
|
|
function ws_safemode_pt__createEntidadeReguladora_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._entidade_reguladora != null) {
|
|
xml = xml + this._entidade_reguladora.serialize(cxfjsutils, 'entidade_reguladora', null);
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__createEntidadeReguladora.prototype.serialize = ws_safemode_pt__createEntidadeReguladora_serialize;
|
|
|
|
function ws_safemode_pt__createEntidadeReguladora_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__createEntidadeReguladora();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing entidade_reguladora');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'entidade_reguladora')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
item = ws_safemode_pt__legEntidadeReguladoraBeanData_deserialize(cxfjsutils, curElement);
|
|
}
|
|
newobject.setEntidade_reguladora(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getAllSubtemasResponse
|
|
//
|
|
function ws_safemode_pt__getAllSubtemasResponse () {
|
|
this.typeMarker = 'ws_safemode_pt__getAllSubtemasResponse';
|
|
this._return = [];
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__getAllSubtemasResponse.prototype.getReturn
|
|
// element get for return
|
|
// - element type is {http://ws.safemode.pt/}classificacaoBean
|
|
// - required element
|
|
// - array
|
|
//
|
|
// element set for return
|
|
// setter function is is ws_safemode_pt__getAllSubtemasResponse.prototype.setReturn
|
|
//
|
|
function ws_safemode_pt__getAllSubtemasResponse_getReturn() { return this._return;}
|
|
|
|
ws_safemode_pt__getAllSubtemasResponse.prototype.getReturn = ws_safemode_pt__getAllSubtemasResponse_getReturn;
|
|
|
|
function ws_safemode_pt__getAllSubtemasResponse_setReturn(value) { this._return = value;}
|
|
|
|
ws_safemode_pt__getAllSubtemasResponse.prototype.setReturn = ws_safemode_pt__getAllSubtemasResponse_setReturn;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getAllSubtemasResponse
|
|
//
|
|
function ws_safemode_pt__getAllSubtemasResponse_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._return != null) {
|
|
for (var ax = 0;ax < this._return.length;ax ++) {
|
|
if (this._return[ax] == null) {
|
|
xml = xml + '<return/>';
|
|
} else {
|
|
xml = xml + this._return[ax].serialize(cxfjsutils, 'return', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getAllSubtemasResponse.prototype.serialize = ws_safemode_pt__getAllSubtemasResponse_serialize;
|
|
|
|
function ws_safemode_pt__getAllSubtemasResponse_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getAllSubtemasResponse();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing return');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__classificacaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'return'));
|
|
newobject.setReturn(item);
|
|
var item = null;
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Constructor for XML Schema item {http://ws.safemode.pt/}getTemas
|
|
//
|
|
function ws_safemode_pt__getTemas () {
|
|
this.typeMarker = 'ws_safemode_pt__getTemas';
|
|
this._arg0 = null;
|
|
this._arg1 = [];
|
|
}
|
|
|
|
//
|
|
// accessor is ws_safemode_pt__getTemas.prototype.getArg0
|
|
// element get for arg0
|
|
// - element type is {http://www.w3.org/2001/XMLSchema}string
|
|
// - optional element
|
|
//
|
|
// element set for arg0
|
|
// setter function is is ws_safemode_pt__getTemas.prototype.setArg0
|
|
//
|
|
function ws_safemode_pt__getTemas_getArg0() { return this._arg0;}
|
|
|
|
ws_safemode_pt__getTemas.prototype.getArg0 = ws_safemode_pt__getTemas_getArg0;
|
|
|
|
function ws_safemode_pt__getTemas_setArg0(value) { this._arg0 = value;}
|
|
|
|
ws_safemode_pt__getTemas.prototype.setArg0 = ws_safemode_pt__getTemas_setArg0;
|
|
//
|
|
// accessor is ws_safemode_pt__getTemas.prototype.getArg1
|
|
// element get for arg1
|
|
// - element type is {http://ws.safemode.pt/}classificacaoBean
|
|
// - required element
|
|
// - array
|
|
//
|
|
// element set for arg1
|
|
// setter function is is ws_safemode_pt__getTemas.prototype.setArg1
|
|
//
|
|
function ws_safemode_pt__getTemas_getArg1() { return this._arg1;}
|
|
|
|
ws_safemode_pt__getTemas.prototype.getArg1 = ws_safemode_pt__getTemas_getArg1;
|
|
|
|
function ws_safemode_pt__getTemas_setArg1(value) { this._arg1 = value;}
|
|
|
|
ws_safemode_pt__getTemas.prototype.setArg1 = ws_safemode_pt__getTemas_setArg1;
|
|
//
|
|
// Serialize {http://ws.safemode.pt/}getTemas
|
|
//
|
|
function ws_safemode_pt__getTemas_serialize(cxfjsutils, elementName, extraNamespaces) {
|
|
var xml = '';
|
|
if (elementName != null) {
|
|
xml = xml + '<';
|
|
xml = xml + elementName;
|
|
if (extraNamespaces) {
|
|
xml = xml + ' ' + extraNamespaces;
|
|
}
|
|
xml = xml + '>';
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._arg0 != null) {
|
|
xml = xml + '<arg0>';
|
|
xml = xml + cxfjsutils.escapeXmlEntities(this._arg0);
|
|
xml = xml + '</arg0>';
|
|
}
|
|
}
|
|
// block for local variables
|
|
{
|
|
if (this._arg1 != null) {
|
|
for (var ax = 0;ax < this._arg1.length;ax ++) {
|
|
if (this._arg1[ax] == null) {
|
|
xml = xml + '<arg1/>';
|
|
} else {
|
|
xml = xml + this._arg1[ax].serialize(cxfjsutils, 'arg1', null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (elementName != null) {
|
|
xml = xml + '</';
|
|
xml = xml + elementName;
|
|
xml = xml + '>';
|
|
}
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__getTemas.prototype.serialize = ws_safemode_pt__getTemas_serialize;
|
|
|
|
function ws_safemode_pt__getTemas_deserialize (cxfjsutils, element) {
|
|
var newobject = new ws_safemode_pt__getTemas();
|
|
cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
|
|
var curElement = cxfjsutils.getFirstElementChild(element);
|
|
var item;
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing arg0');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'arg0')) {
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
value = cxfjsutils.getNodeText(curElement);
|
|
item = value;
|
|
}
|
|
newobject.setArg0(item);
|
|
var item = null;
|
|
if (curElement != null) {
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
}
|
|
cxfjsutils.trace('curElement: ' + cxfjsutils.traceElementName(curElement));
|
|
cxfjsutils.trace('processing arg1');
|
|
if (curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'arg1')) {
|
|
item = [];
|
|
do {
|
|
var arrayItem = null;
|
|
var value = null;
|
|
if (!cxfjsutils.isElementNil(curElement)) {
|
|
arrayItem = ws_safemode_pt__classificacaoBean_deserialize(cxfjsutils, curElement);
|
|
}
|
|
item.push(arrayItem);
|
|
curElement = cxfjsutils.getNextElementSibling(curElement);
|
|
}
|
|
while(curElement != null && cxfjsutils.isNodeNamedNS(curElement, '', 'arg1'));
|
|
newobject.setArg1(item);
|
|
var item = null;
|
|
}
|
|
return newobject;
|
|
}
|
|
|
|
//
|
|
// Definitions for service: {http://impl.ws.safemode.pt/}LegislacaoWSImplService
|
|
//
|
|
|
|
// Javascript for {http://ws.safemode.pt/}LegislacaoWS
|
|
|
|
function ws_safemode_pt__LegislacaoWS () {
|
|
this.jsutils = new CxfApacheOrgUtil();
|
|
this.jsutils.interfaceObject = this;
|
|
this.synchronous = false;
|
|
this.url = null;
|
|
this.client = null;
|
|
this.response = null;
|
|
this.globalElementSerializers = [];
|
|
this.globalElementDeserializers = [];
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}removeEntidadeReguladora'] = ws_safemode_pt__removeEntidadeReguladora_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}removeEntidadeReguladora'] = ws_safemode_pt__removeEntidadeReguladora_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getAllTemasResponse'] = ws_safemode_pt__getAllTemasResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getAllTemasResponse'] = ws_safemode_pt__getAllTemasResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getTiposResponse'] = ws_safemode_pt__getTiposResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getTiposResponse'] = ws_safemode_pt__getTiposResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getTipos'] = ws_safemode_pt__getTipos_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getTipos'] = ws_safemode_pt__getTipos_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}addDiploma'] = ws_safemode_pt__addDiploma_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}addDiploma'] = ws_safemode_pt__addDiploma_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getCategorias'] = ws_safemode_pt__getCategorias_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getCategorias'] = ws_safemode_pt__getCategorias_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getAllEntidadesReguladorasResponse'] = ws_safemode_pt__getAllEntidadesReguladorasResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getAllEntidadesReguladorasResponse'] = ws_safemode_pt__getAllEntidadesReguladorasResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getAllTemas'] = ws_safemode_pt__getAllTemas_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getAllTemas'] = ws_safemode_pt__getAllTemas_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getSubtemas'] = ws_safemode_pt__getSubtemas_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getSubtemas'] = ws_safemode_pt__getSubtemas_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}removePdfResponse'] = ws_safemode_pt__removePdfResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}removePdfResponse'] = ws_safemode_pt__removePdfResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getDiplomaView'] = ws_safemode_pt__getDiplomaView_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getDiplomaView'] = ws_safemode_pt__getDiplomaView_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}gravarCategoriaTemaSubtemaResponse'] = ws_safemode_pt__gravarCategoriaTemaSubtemaResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}gravarCategoriaTemaSubtemaResponse'] = ws_safemode_pt__gravarCategoriaTemaSubtemaResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getEstados'] = ws_safemode_pt__getEstados_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getEstados'] = ws_safemode_pt__getEstados_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getDiplomasResponse'] = ws_safemode_pt__getDiplomasResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getDiplomasResponse'] = ws_safemode_pt__getDiplomasResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getAllSubtemas'] = ws_safemode_pt__getAllSubtemas_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getAllSubtemas'] = ws_safemode_pt__getAllSubtemas_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getAllCategoriasResponse'] = ws_safemode_pt__getAllCategoriasResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getAllCategoriasResponse'] = ws_safemode_pt__getAllCategoriasResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}changeDiplomaResponse'] = ws_safemode_pt__changeDiplomaResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}changeDiplomaResponse'] = ws_safemode_pt__changeDiplomaResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getEntidadesReguladoras'] = ws_safemode_pt__getEntidadesReguladoras_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getEntidadesReguladoras'] = ws_safemode_pt__getEntidadesReguladoras_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}gravarCategoriaTemaSubtema'] = ws_safemode_pt__gravarCategoriaTemaSubtema_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}gravarCategoriaTemaSubtema'] = ws_safemode_pt__gravarCategoriaTemaSubtema_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getSubtemasResponse'] = ws_safemode_pt__getSubtemasResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getSubtemasResponse'] = ws_safemode_pt__getSubtemasResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getAllEntidadesReguladoras'] = ws_safemode_pt__getAllEntidadesReguladoras_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getAllEntidadesReguladoras'] = ws_safemode_pt__getAllEntidadesReguladoras_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}createEntidadeReguladoraResponse'] = ws_safemode_pt__createEntidadeReguladoraResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}createEntidadeReguladoraResponse'] = ws_safemode_pt__createEntidadeReguladoraResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getCategoriasResponse'] = ws_safemode_pt__getCategoriasResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getCategoriasResponse'] = ws_safemode_pt__getCategoriasResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getPalavrasChaveResponse'] = ws_safemode_pt__getPalavrasChaveResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getPalavrasChaveResponse'] = ws_safemode_pt__getPalavrasChaveResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getEstadosResponse'] = ws_safemode_pt__getEstadosResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getEstadosResponse'] = ws_safemode_pt__getEstadosResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getPalavrasChave'] = ws_safemode_pt__getPalavrasChave_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getPalavrasChave'] = ws_safemode_pt__getPalavrasChave_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}removeEntidadeReguladoraResponse'] = ws_safemode_pt__removeEntidadeReguladoraResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}removeEntidadeReguladoraResponse'] = ws_safemode_pt__removeEntidadeReguladoraResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}changeDiploma'] = ws_safemode_pt__changeDiploma_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}changeDiploma'] = ws_safemode_pt__changeDiploma_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}addDiplomaResponse'] = ws_safemode_pt__addDiplomaResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}addDiplomaResponse'] = ws_safemode_pt__addDiplomaResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getEntidadesReguladorasResponse'] = ws_safemode_pt__getEntidadesReguladorasResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getEntidadesReguladorasResponse'] = ws_safemode_pt__getEntidadesReguladorasResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}removePdf'] = ws_safemode_pt__removePdf_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}removePdf'] = ws_safemode_pt__removePdf_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getTemasResponse'] = ws_safemode_pt__getTemasResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getTemasResponse'] = ws_safemode_pt__getTemasResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getDiplomaViewResponse'] = ws_safemode_pt__getDiplomaViewResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getDiplomaViewResponse'] = ws_safemode_pt__getDiplomaViewResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getDiplomas'] = ws_safemode_pt__getDiplomas_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getDiplomas'] = ws_safemode_pt__getDiplomas_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getAllCategorias'] = ws_safemode_pt__getAllCategorias_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getAllCategorias'] = ws_safemode_pt__getAllCategorias_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}createEntidadeReguladora'] = ws_safemode_pt__createEntidadeReguladora_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}createEntidadeReguladora'] = ws_safemode_pt__createEntidadeReguladora_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getAllSubtemasResponse'] = ws_safemode_pt__getAllSubtemasResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getAllSubtemasResponse'] = ws_safemode_pt__getAllSubtemasResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getTemas'] = ws_safemode_pt__getTemas_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getTemas'] = ws_safemode_pt__getTemas_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}alteracaoBean'] = ws_safemode_pt__alteracaoBean_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}alteracaoBean'] = ws_safemode_pt__alteracaoBean_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}legEntidadeReguladoraBean'] = ws_safemode_pt__legEntidadeReguladoraBean_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}legEntidadeReguladoraBean'] = ws_safemode_pt__legEntidadeReguladoraBean_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}classificacaoBean'] = ws_safemode_pt__classificacaoBean_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}classificacaoBean'] = ws_safemode_pt__classificacaoBean_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}removeEntidadeReguladora'] = ws_safemode_pt__removeEntidadeReguladora_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}removeEntidadeReguladora'] = ws_safemode_pt__removeEntidadeReguladora_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getAllTemasResponse'] = ws_safemode_pt__getAllTemasResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getAllTemasResponse'] = ws_safemode_pt__getAllTemasResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getTipos'] = ws_safemode_pt__getTipos_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getTipos'] = ws_safemode_pt__getTipos_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getTiposResponse'] = ws_safemode_pt__getTiposResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getTiposResponse'] = ws_safemode_pt__getTiposResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}addDiploma'] = ws_safemode_pt__addDiploma_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}addDiploma'] = ws_safemode_pt__addDiploma_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getCategorias'] = ws_safemode_pt__getCategorias_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getCategorias'] = ws_safemode_pt__getCategorias_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getAllEntidadesReguladorasResponse'] = ws_safemode_pt__getAllEntidadesReguladorasResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getAllEntidadesReguladorasResponse'] = ws_safemode_pt__getAllEntidadesReguladorasResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getAllTemas'] = ws_safemode_pt__getAllTemas_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getAllTemas'] = ws_safemode_pt__getAllTemas_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getSubtemas'] = ws_safemode_pt__getSubtemas_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getSubtemas'] = ws_safemode_pt__getSubtemas_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}removePdfResponse'] = ws_safemode_pt__removePdfResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}removePdfResponse'] = ws_safemode_pt__removePdfResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getDiplomaView'] = ws_safemode_pt__getDiplomaView_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getDiplomaView'] = ws_safemode_pt__getDiplomaView_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}gravarCategoriaTemaSubtemaResponse'] = ws_safemode_pt__gravarCategoriaTemaSubtemaResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}gravarCategoriaTemaSubtemaResponse'] = ws_safemode_pt__gravarCategoriaTemaSubtemaResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}diplomaBean'] = ws_safemode_pt__diplomaBean_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}diplomaBean'] = ws_safemode_pt__diplomaBean_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}legislacaoBean'] = ws_safemode_pt__legislacaoBean_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}legislacaoBean'] = ws_safemode_pt__legislacaoBean_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getEstados'] = ws_safemode_pt__getEstados_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getEstados'] = ws_safemode_pt__getEstados_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getDiplomasResponse'] = ws_safemode_pt__getDiplomasResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getDiplomasResponse'] = ws_safemode_pt__getDiplomasResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getAllSubtemas'] = ws_safemode_pt__getAllSubtemas_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getAllSubtemas'] = ws_safemode_pt__getAllSubtemas_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getAllCategoriasResponse'] = ws_safemode_pt__getAllCategoriasResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getAllCategoriasResponse'] = ws_safemode_pt__getAllCategoriasResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}legislacaoFillBean'] = ws_safemode_pt__legislacaoFillBean_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}legislacaoFillBean'] = ws_safemode_pt__legislacaoFillBean_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}changeDiplomaResponse'] = ws_safemode_pt__changeDiplomaResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}changeDiplomaResponse'] = ws_safemode_pt__changeDiplomaResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getEntidadesReguladoras'] = ws_safemode_pt__getEntidadesReguladoras_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getEntidadesReguladoras'] = ws_safemode_pt__getEntidadesReguladoras_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}gravarCategoriaTemaSubtema'] = ws_safemode_pt__gravarCategoriaTemaSubtema_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}gravarCategoriaTemaSubtema'] = ws_safemode_pt__gravarCategoriaTemaSubtema_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getSubtemasResponse'] = ws_safemode_pt__getSubtemasResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getSubtemasResponse'] = ws_safemode_pt__getSubtemasResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}createEntidadeReguladoraResponse'] = ws_safemode_pt__createEntidadeReguladoraResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}createEntidadeReguladoraResponse'] = ws_safemode_pt__createEntidadeReguladoraResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getCategoriasResponse'] = ws_safemode_pt__getCategoriasResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getCategoriasResponse'] = ws_safemode_pt__getCategoriasResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getAllEntidadesReguladoras'] = ws_safemode_pt__getAllEntidadesReguladoras_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getAllEntidadesReguladoras'] = ws_safemode_pt__getAllEntidadesReguladoras_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getEstadosResponse'] = ws_safemode_pt__getEstadosResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getEstadosResponse'] = ws_safemode_pt__getEstadosResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getPalavrasChaveResponse'] = ws_safemode_pt__getPalavrasChaveResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getPalavrasChaveResponse'] = ws_safemode_pt__getPalavrasChaveResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getPalavrasChave'] = ws_safemode_pt__getPalavrasChave_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getPalavrasChave'] = ws_safemode_pt__getPalavrasChave_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}removeEntidadeReguladoraResponse'] = ws_safemode_pt__removeEntidadeReguladoraResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}removeEntidadeReguladoraResponse'] = ws_safemode_pt__removeEntidadeReguladoraResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}timestamp'] = ws_safemode_pt__timestamp_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}timestamp'] = ws_safemode_pt__timestamp_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}changeDiploma'] = ws_safemode_pt__changeDiploma_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}changeDiploma'] = ws_safemode_pt__changeDiploma_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}addDiplomaResponse'] = ws_safemode_pt__addDiplomaResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}addDiplomaResponse'] = ws_safemode_pt__addDiplomaResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getEntidadesReguladorasResponse'] = ws_safemode_pt__getEntidadesReguladorasResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getEntidadesReguladorasResponse'] = ws_safemode_pt__getEntidadesReguladorasResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}legEntidadeReguladoraBeanData'] = ws_safemode_pt__legEntidadeReguladoraBeanData_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}legEntidadeReguladoraBeanData'] = ws_safemode_pt__legEntidadeReguladoraBeanData_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}removePdf'] = ws_safemode_pt__removePdf_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}removePdf'] = ws_safemode_pt__removePdf_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getTemasResponse'] = ws_safemode_pt__getTemasResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getTemasResponse'] = ws_safemode_pt__getTemasResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getDiplomas'] = ws_safemode_pt__getDiplomas_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getDiplomas'] = ws_safemode_pt__getDiplomas_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getDiplomaViewResponse'] = ws_safemode_pt__getDiplomaViewResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getDiplomaViewResponse'] = ws_safemode_pt__getDiplomaViewResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getAllCategorias'] = ws_safemode_pt__getAllCategorias_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getAllCategorias'] = ws_safemode_pt__getAllCategorias_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}createEntidadeReguladora'] = ws_safemode_pt__createEntidadeReguladora_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}createEntidadeReguladora'] = ws_safemode_pt__createEntidadeReguladora_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getAllSubtemasResponse'] = ws_safemode_pt__getAllSubtemasResponse_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getAllSubtemasResponse'] = ws_safemode_pt__getAllSubtemasResponse_deserialize;
|
|
this.globalElementSerializers['{http://ws.safemode.pt/}getTemas'] = ws_safemode_pt__getTemas_serialize;
|
|
this.globalElementDeserializers['{http://ws.safemode.pt/}getTemas'] = ws_safemode_pt__getTemas_deserialize;
|
|
}
|
|
|
|
function ws_safemode_pt__removePdf_op_onsuccess(client, responseXml) {
|
|
if (client.user_onsuccess) {
|
|
var responseObject = null;
|
|
var element = responseXml.documentElement;
|
|
this.jsutils.trace('responseXml: ' + this.jsutils.traceElementName(element));
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('first element child: ' + this.jsutils.traceElementName(element));
|
|
while (!this.jsutils.isNodeNamedNS(element, 'http://schemas.xmlsoap.org/soap/envelope/', 'Body')) {
|
|
element = this.jsutils.getNextElementSibling(element);
|
|
if (element == null) {
|
|
throw 'No env:Body in message.'
|
|
}
|
|
}
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('part element: ' + this.jsutils.traceElementName(element));
|
|
this.jsutils.trace('calling ws_safemode_pt__removePdfResponse_deserializeResponse');
|
|
responseObject = ws_safemode_pt__removePdfResponse_deserializeResponse(this.jsutils, element);
|
|
client.user_onsuccess(responseObject);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.removePdf_onsuccess = ws_safemode_pt__removePdf_op_onsuccess;
|
|
|
|
function ws_safemode_pt__removePdf_op_onerror(client) {
|
|
if (client.user_onerror) {
|
|
var httpStatus;
|
|
var httpStatusText;
|
|
try {
|
|
httpStatus = client.req.status;
|
|
httpStatusText = client.req.statusText;
|
|
} catch(e) {
|
|
httpStatus = -1;
|
|
httpStatusText = 'Error opening connection to server';
|
|
}
|
|
client.user_onerror(httpStatus, httpStatusText);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.removePdf_onerror = ws_safemode_pt__removePdf_op_onerror;
|
|
|
|
//
|
|
// Operation {http://ws.safemode.pt/}removePdf
|
|
// Wrapped operation.
|
|
// parameter arg0
|
|
// - simple type {http://www.w3.org/2001/XMLSchema}int//
|
|
function ws_safemode_pt__removePdf_op(successCallback, errorCallback, arg0) {
|
|
this.client = new CxfApacheOrgClient(this.jsutils);
|
|
var xml = null;
|
|
var args = new Array(1);
|
|
args[0] = arg0;
|
|
xml = this.removePdf_serializeInput(this.jsutils, args);
|
|
this.client.user_onsuccess = successCallback;
|
|
this.client.user_onerror = errorCallback;
|
|
var closureThis = this;
|
|
this.client.onsuccess = function(client, responseXml) { closureThis.removePdf_onsuccess(client, responseXml); };
|
|
this.client.onerror = function(client) { closureThis.removePdf_onerror(client); };
|
|
var requestHeaders = [];
|
|
requestHeaders['SOAPAction'] = '';
|
|
this.jsutils.trace('synchronous = ' + this.synchronous);
|
|
this.client.request(this.url, xml, null, this.synchronous, requestHeaders);
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.removePdf = ws_safemode_pt__removePdf_op;
|
|
|
|
function ws_safemode_pt__removePdf_serializeInput(cxfjsutils, args) {
|
|
var wrapperObj = new ws_safemode_pt__removePdf();
|
|
wrapperObj.setArg0(args[0]);
|
|
var xml;
|
|
xml = cxfjsutils.beginSoap11Message("xmlns:jns0='http://ws.safemode.pt/' ");
|
|
// block for local variables
|
|
{
|
|
xml = xml + wrapperObj.serialize(cxfjsutils, 'jns0:removePdf', null);
|
|
}
|
|
xml = xml + cxfjsutils.endSoap11Message();
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.removePdf_serializeInput = ws_safemode_pt__removePdf_serializeInput;
|
|
|
|
function ws_safemode_pt__removePdfResponse_deserializeResponse(cxfjsutils, partElement) {
|
|
var returnObject = ws_safemode_pt__removePdfResponse_deserialize (cxfjsutils, partElement);
|
|
|
|
return returnObject;
|
|
}
|
|
function ws_safemode_pt__getPalavrasChave_op_onsuccess(client, responseXml) {
|
|
if (client.user_onsuccess) {
|
|
var responseObject = null;
|
|
var element = responseXml.documentElement;
|
|
this.jsutils.trace('responseXml: ' + this.jsutils.traceElementName(element));
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('first element child: ' + this.jsutils.traceElementName(element));
|
|
while (!this.jsutils.isNodeNamedNS(element, 'http://schemas.xmlsoap.org/soap/envelope/', 'Body')) {
|
|
element = this.jsutils.getNextElementSibling(element);
|
|
if (element == null) {
|
|
throw 'No env:Body in message.'
|
|
}
|
|
}
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('part element: ' + this.jsutils.traceElementName(element));
|
|
this.jsutils.trace('calling ws_safemode_pt__getPalavrasChaveResponse_deserializeResponse');
|
|
responseObject = ws_safemode_pt__getPalavrasChaveResponse_deserializeResponse(this.jsutils, element);
|
|
client.user_onsuccess(responseObject);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getPalavrasChave_onsuccess = ws_safemode_pt__getPalavrasChave_op_onsuccess;
|
|
|
|
function ws_safemode_pt__getPalavrasChave_op_onerror(client) {
|
|
if (client.user_onerror) {
|
|
var httpStatus;
|
|
var httpStatusText;
|
|
try {
|
|
httpStatus = client.req.status;
|
|
httpStatusText = client.req.statusText;
|
|
} catch(e) {
|
|
httpStatus = -1;
|
|
httpStatusText = 'Error opening connection to server';
|
|
}
|
|
client.user_onerror(httpStatus, httpStatusText);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getPalavrasChave_onerror = ws_safemode_pt__getPalavrasChave_op_onerror;
|
|
|
|
//
|
|
// Operation {http://ws.safemode.pt/}getPalavrasChave
|
|
// Wrapped operation.
|
|
// parameter arg0
|
|
// - simple type {http://www.w3.org/2001/XMLSchema}string//
|
|
function ws_safemode_pt__getPalavrasChave_op(successCallback, errorCallback, arg0) {
|
|
this.client = new CxfApacheOrgClient(this.jsutils);
|
|
var xml = null;
|
|
var args = new Array(1);
|
|
args[0] = arg0;
|
|
xml = this.getPalavrasChave_serializeInput(this.jsutils, args);
|
|
this.client.user_onsuccess = successCallback;
|
|
this.client.user_onerror = errorCallback;
|
|
var closureThis = this;
|
|
this.client.onsuccess = function(client, responseXml) { closureThis.getPalavrasChave_onsuccess(client, responseXml); };
|
|
this.client.onerror = function(client) { closureThis.getPalavrasChave_onerror(client); };
|
|
var requestHeaders = [];
|
|
requestHeaders['SOAPAction'] = '';
|
|
this.jsutils.trace('synchronous = ' + this.synchronous);
|
|
this.client.request(this.url, xml, null, this.synchronous, requestHeaders);
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getPalavrasChave = ws_safemode_pt__getPalavrasChave_op;
|
|
|
|
function ws_safemode_pt__getPalavrasChave_serializeInput(cxfjsutils, args) {
|
|
var wrapperObj = new ws_safemode_pt__getPalavrasChave();
|
|
wrapperObj.setArg0(args[0]);
|
|
var xml;
|
|
xml = cxfjsutils.beginSoap11Message("xmlns:jns0='http://ws.safemode.pt/' ");
|
|
// block for local variables
|
|
{
|
|
xml = xml + wrapperObj.serialize(cxfjsutils, 'jns0:getPalavrasChave', null);
|
|
}
|
|
xml = xml + cxfjsutils.endSoap11Message();
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getPalavrasChave_serializeInput = ws_safemode_pt__getPalavrasChave_serializeInput;
|
|
|
|
function ws_safemode_pt__getPalavrasChaveResponse_deserializeResponse(cxfjsutils, partElement) {
|
|
var returnObject = ws_safemode_pt__getPalavrasChaveResponse_deserialize (cxfjsutils, partElement);
|
|
|
|
return returnObject;
|
|
}
|
|
function ws_safemode_pt__getAllCategorias_op_onsuccess(client, responseXml) {
|
|
if (client.user_onsuccess) {
|
|
var responseObject = null;
|
|
var element = responseXml.documentElement;
|
|
this.jsutils.trace('responseXml: ' + this.jsutils.traceElementName(element));
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('first element child: ' + this.jsutils.traceElementName(element));
|
|
while (!this.jsutils.isNodeNamedNS(element, 'http://schemas.xmlsoap.org/soap/envelope/', 'Body')) {
|
|
element = this.jsutils.getNextElementSibling(element);
|
|
if (element == null) {
|
|
throw 'No env:Body in message.'
|
|
}
|
|
}
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('part element: ' + this.jsutils.traceElementName(element));
|
|
this.jsutils.trace('calling ws_safemode_pt__getAllCategoriasResponse_deserializeResponse');
|
|
responseObject = ws_safemode_pt__getAllCategoriasResponse_deserializeResponse(this.jsutils, element);
|
|
client.user_onsuccess(responseObject);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getAllCategorias_onsuccess = ws_safemode_pt__getAllCategorias_op_onsuccess;
|
|
|
|
function ws_safemode_pt__getAllCategorias_op_onerror(client) {
|
|
if (client.user_onerror) {
|
|
var httpStatus;
|
|
var httpStatusText;
|
|
try {
|
|
httpStatus = client.req.status;
|
|
httpStatusText = client.req.statusText;
|
|
} catch(e) {
|
|
httpStatus = -1;
|
|
httpStatusText = 'Error opening connection to server';
|
|
}
|
|
client.user_onerror(httpStatus, httpStatusText);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getAllCategorias_onerror = ws_safemode_pt__getAllCategorias_op_onerror;
|
|
|
|
//
|
|
// Operation {http://ws.safemode.pt/}getAllCategorias
|
|
// Wrapped operation.
|
|
//
|
|
function ws_safemode_pt__getAllCategorias_op(successCallback, errorCallback) {
|
|
this.client = new CxfApacheOrgClient(this.jsutils);
|
|
var xml = null;
|
|
var args = new Array(0);
|
|
xml = this.getAllCategorias_serializeInput(this.jsutils, args);
|
|
this.client.user_onsuccess = successCallback;
|
|
this.client.user_onerror = errorCallback;
|
|
var closureThis = this;
|
|
this.client.onsuccess = function(client, responseXml) { closureThis.getAllCategorias_onsuccess(client, responseXml); };
|
|
this.client.onerror = function(client) { closureThis.getAllCategorias_onerror(client); };
|
|
var requestHeaders = [];
|
|
requestHeaders['SOAPAction'] = '';
|
|
this.jsutils.trace('synchronous = ' + this.synchronous);
|
|
this.client.request(this.url, xml, null, this.synchronous, requestHeaders);
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getAllCategorias = ws_safemode_pt__getAllCategorias_op;
|
|
|
|
function ws_safemode_pt__getAllCategorias_serializeInput(cxfjsutils, args) {
|
|
var wrapperObj = new ws_safemode_pt__getAllCategorias();
|
|
var xml;
|
|
xml = cxfjsutils.beginSoap11Message("xmlns:jns0='http://ws.safemode.pt/' ");
|
|
// block for local variables
|
|
{
|
|
xml = xml + wrapperObj.serialize(cxfjsutils, 'jns0:getAllCategorias', null);
|
|
}
|
|
xml = xml + cxfjsutils.endSoap11Message();
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getAllCategorias_serializeInput = ws_safemode_pt__getAllCategorias_serializeInput;
|
|
|
|
function ws_safemode_pt__getAllCategoriasResponse_deserializeResponse(cxfjsutils, partElement) {
|
|
var returnObject = ws_safemode_pt__getAllCategoriasResponse_deserialize (cxfjsutils, partElement);
|
|
|
|
return returnObject;
|
|
}
|
|
function ws_safemode_pt__getTemas_op_onsuccess(client, responseXml) {
|
|
if (client.user_onsuccess) {
|
|
var responseObject = null;
|
|
var element = responseXml.documentElement;
|
|
this.jsutils.trace('responseXml: ' + this.jsutils.traceElementName(element));
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('first element child: ' + this.jsutils.traceElementName(element));
|
|
while (!this.jsutils.isNodeNamedNS(element, 'http://schemas.xmlsoap.org/soap/envelope/', 'Body')) {
|
|
element = this.jsutils.getNextElementSibling(element);
|
|
if (element == null) {
|
|
throw 'No env:Body in message.'
|
|
}
|
|
}
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('part element: ' + this.jsutils.traceElementName(element));
|
|
this.jsutils.trace('calling ws_safemode_pt__getTemasResponse_deserializeResponse');
|
|
responseObject = ws_safemode_pt__getTemasResponse_deserializeResponse(this.jsutils, element);
|
|
client.user_onsuccess(responseObject);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getTemas_onsuccess = ws_safemode_pt__getTemas_op_onsuccess;
|
|
|
|
function ws_safemode_pt__getTemas_op_onerror(client) {
|
|
if (client.user_onerror) {
|
|
var httpStatus;
|
|
var httpStatusText;
|
|
try {
|
|
httpStatus = client.req.status;
|
|
httpStatusText = client.req.statusText;
|
|
} catch(e) {
|
|
httpStatus = -1;
|
|
httpStatusText = 'Error opening connection to server';
|
|
}
|
|
client.user_onerror(httpStatus, httpStatusText);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getTemas_onerror = ws_safemode_pt__getTemas_op_onerror;
|
|
|
|
//
|
|
// Operation {http://ws.safemode.pt/}getTemas
|
|
// Wrapped operation.
|
|
// parameter arg0
|
|
// - simple type {http://www.w3.org/2001/XMLSchema}string// parameter arg1
|
|
// - array
|
|
// - Object constructor is ws_safemode_pt__classificacaoBean
|
|
//
|
|
function ws_safemode_pt__getTemas_op(successCallback, errorCallback, arg0, arg1) {
|
|
this.client = new CxfApacheOrgClient(this.jsutils);
|
|
var xml = null;
|
|
var args = new Array(2);
|
|
args[0] = arg0;
|
|
args[1] = arg1;
|
|
xml = this.getTemas_serializeInput(this.jsutils, args);
|
|
this.client.user_onsuccess = successCallback;
|
|
this.client.user_onerror = errorCallback;
|
|
var closureThis = this;
|
|
this.client.onsuccess = function(client, responseXml) { closureThis.getTemas_onsuccess(client, responseXml); };
|
|
this.client.onerror = function(client) { closureThis.getTemas_onerror(client); };
|
|
var requestHeaders = [];
|
|
requestHeaders['SOAPAction'] = '';
|
|
this.jsutils.trace('synchronous = ' + this.synchronous);
|
|
this.client.request(this.url, xml, null, this.synchronous, requestHeaders);
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getTemas = ws_safemode_pt__getTemas_op;
|
|
|
|
function ws_safemode_pt__getTemas_serializeInput(cxfjsutils, args) {
|
|
var wrapperObj = new ws_safemode_pt__getTemas();
|
|
wrapperObj.setArg0(args[0]);
|
|
wrapperObj.setArg1(args[1]);
|
|
var xml;
|
|
xml = cxfjsutils.beginSoap11Message("xmlns:jns0='http://ws.safemode.pt/' ");
|
|
// block for local variables
|
|
{
|
|
xml = xml + wrapperObj.serialize(cxfjsutils, 'jns0:getTemas', null);
|
|
}
|
|
xml = xml + cxfjsutils.endSoap11Message();
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getTemas_serializeInput = ws_safemode_pt__getTemas_serializeInput;
|
|
|
|
function ws_safemode_pt__getTemasResponse_deserializeResponse(cxfjsutils, partElement) {
|
|
var returnObject = ws_safemode_pt__getTemasResponse_deserialize (cxfjsutils, partElement);
|
|
|
|
return returnObject;
|
|
}
|
|
function ws_safemode_pt__getSubtemas_op_onsuccess(client, responseXml) {
|
|
if (client.user_onsuccess) {
|
|
var responseObject = null;
|
|
var element = responseXml.documentElement;
|
|
this.jsutils.trace('responseXml: ' + this.jsutils.traceElementName(element));
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('first element child: ' + this.jsutils.traceElementName(element));
|
|
while (!this.jsutils.isNodeNamedNS(element, 'http://schemas.xmlsoap.org/soap/envelope/', 'Body')) {
|
|
element = this.jsutils.getNextElementSibling(element);
|
|
if (element == null) {
|
|
throw 'No env:Body in message.'
|
|
}
|
|
}
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('part element: ' + this.jsutils.traceElementName(element));
|
|
this.jsutils.trace('calling ws_safemode_pt__getSubtemasResponse_deserializeResponse');
|
|
responseObject = ws_safemode_pt__getSubtemasResponse_deserializeResponse(this.jsutils, element);
|
|
client.user_onsuccess(responseObject);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getSubtemas_onsuccess = ws_safemode_pt__getSubtemas_op_onsuccess;
|
|
|
|
function ws_safemode_pt__getSubtemas_op_onerror(client) {
|
|
if (client.user_onerror) {
|
|
var httpStatus;
|
|
var httpStatusText;
|
|
try {
|
|
httpStatus = client.req.status;
|
|
httpStatusText = client.req.statusText;
|
|
} catch(e) {
|
|
httpStatus = -1;
|
|
httpStatusText = 'Error opening connection to server';
|
|
}
|
|
client.user_onerror(httpStatus, httpStatusText);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getSubtemas_onerror = ws_safemode_pt__getSubtemas_op_onerror;
|
|
|
|
//
|
|
// Operation {http://ws.safemode.pt/}getSubtemas
|
|
// Wrapped operation.
|
|
// parameter arg0
|
|
// - simple type {http://www.w3.org/2001/XMLSchema}string// parameter arg1
|
|
// - array
|
|
// - Object constructor is ws_safemode_pt__classificacaoBean
|
|
//
|
|
function ws_safemode_pt__getSubtemas_op(successCallback, errorCallback, arg0, arg1) {
|
|
this.client = new CxfApacheOrgClient(this.jsutils);
|
|
var xml = null;
|
|
var args = new Array(2);
|
|
args[0] = arg0;
|
|
args[1] = arg1;
|
|
xml = this.getSubtemas_serializeInput(this.jsutils, args);
|
|
this.client.user_onsuccess = successCallback;
|
|
this.client.user_onerror = errorCallback;
|
|
var closureThis = this;
|
|
this.client.onsuccess = function(client, responseXml) { closureThis.getSubtemas_onsuccess(client, responseXml); };
|
|
this.client.onerror = function(client) { closureThis.getSubtemas_onerror(client); };
|
|
var requestHeaders = [];
|
|
requestHeaders['SOAPAction'] = '';
|
|
this.jsutils.trace('synchronous = ' + this.synchronous);
|
|
this.client.request(this.url, xml, null, this.synchronous, requestHeaders);
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getSubtemas = ws_safemode_pt__getSubtemas_op;
|
|
|
|
function ws_safemode_pt__getSubtemas_serializeInput(cxfjsutils, args) {
|
|
var wrapperObj = new ws_safemode_pt__getSubtemas();
|
|
wrapperObj.setArg0(args[0]);
|
|
wrapperObj.setArg1(args[1]);
|
|
var xml;
|
|
xml = cxfjsutils.beginSoap11Message("xmlns:jns0='http://ws.safemode.pt/' ");
|
|
// block for local variables
|
|
{
|
|
xml = xml + wrapperObj.serialize(cxfjsutils, 'jns0:getSubtemas', null);
|
|
}
|
|
xml = xml + cxfjsutils.endSoap11Message();
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getSubtemas_serializeInput = ws_safemode_pt__getSubtemas_serializeInput;
|
|
|
|
function ws_safemode_pt__getSubtemasResponse_deserializeResponse(cxfjsutils, partElement) {
|
|
var returnObject = ws_safemode_pt__getSubtemasResponse_deserialize (cxfjsutils, partElement);
|
|
|
|
return returnObject;
|
|
}
|
|
function ws_safemode_pt__getDiplomas_op_onsuccess(client, responseXml) {
|
|
if (client.user_onsuccess) {
|
|
var responseObject = null;
|
|
var element = responseXml.documentElement;
|
|
this.jsutils.trace('responseXml: ' + this.jsutils.traceElementName(element));
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('first element child: ' + this.jsutils.traceElementName(element));
|
|
while (!this.jsutils.isNodeNamedNS(element, 'http://schemas.xmlsoap.org/soap/envelope/', 'Body')) {
|
|
element = this.jsutils.getNextElementSibling(element);
|
|
if (element == null) {
|
|
throw 'No env:Body in message.'
|
|
}
|
|
}
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('part element: ' + this.jsutils.traceElementName(element));
|
|
this.jsutils.trace('calling ws_safemode_pt__getDiplomasResponse_deserializeResponse');
|
|
responseObject = ws_safemode_pt__getDiplomasResponse_deserializeResponse(this.jsutils, element);
|
|
client.user_onsuccess(responseObject);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getDiplomas_onsuccess = ws_safemode_pt__getDiplomas_op_onsuccess;
|
|
|
|
function ws_safemode_pt__getDiplomas_op_onerror(client) {
|
|
if (client.user_onerror) {
|
|
var httpStatus;
|
|
var httpStatusText;
|
|
try {
|
|
httpStatus = client.req.status;
|
|
httpStatusText = client.req.statusText;
|
|
} catch(e) {
|
|
httpStatus = -1;
|
|
httpStatusText = 'Error opening connection to server';
|
|
}
|
|
client.user_onerror(httpStatus, httpStatusText);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getDiplomas_onerror = ws_safemode_pt__getDiplomas_op_onerror;
|
|
|
|
//
|
|
// Operation {http://ws.safemode.pt/}getDiplomas
|
|
// Wrapped operation.
|
|
// parameter arg0
|
|
// - simple type {http://www.w3.org/2001/XMLSchema}string//
|
|
function ws_safemode_pt__getDiplomas_op(successCallback, errorCallback, arg0) {
|
|
this.client = new CxfApacheOrgClient(this.jsutils);
|
|
var xml = null;
|
|
var args = new Array(1);
|
|
args[0] = arg0;
|
|
xml = this.getDiplomas_serializeInput(this.jsutils, args);
|
|
this.client.user_onsuccess = successCallback;
|
|
this.client.user_onerror = errorCallback;
|
|
var closureThis = this;
|
|
this.client.onsuccess = function(client, responseXml) { closureThis.getDiplomas_onsuccess(client, responseXml); };
|
|
this.client.onerror = function(client) { closureThis.getDiplomas_onerror(client); };
|
|
var requestHeaders = [];
|
|
requestHeaders['SOAPAction'] = '';
|
|
this.jsutils.trace('synchronous = ' + this.synchronous);
|
|
this.client.request(this.url, xml, null, this.synchronous, requestHeaders);
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getDiplomas = ws_safemode_pt__getDiplomas_op;
|
|
|
|
function ws_safemode_pt__getDiplomas_serializeInput(cxfjsutils, args) {
|
|
var wrapperObj = new ws_safemode_pt__getDiplomas();
|
|
wrapperObj.setArg0(args[0]);
|
|
var xml;
|
|
xml = cxfjsutils.beginSoap11Message("xmlns:jns0='http://ws.safemode.pt/' ");
|
|
// block for local variables
|
|
{
|
|
xml = xml + wrapperObj.serialize(cxfjsutils, 'jns0:getDiplomas', null);
|
|
}
|
|
xml = xml + cxfjsutils.endSoap11Message();
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getDiplomas_serializeInput = ws_safemode_pt__getDiplomas_serializeInput;
|
|
|
|
function ws_safemode_pt__getDiplomasResponse_deserializeResponse(cxfjsutils, partElement) {
|
|
var returnObject = ws_safemode_pt__getDiplomasResponse_deserialize (cxfjsutils, partElement);
|
|
|
|
return returnObject;
|
|
}
|
|
function ws_safemode_pt__addDiploma_op_onsuccess(client, responseXml) {
|
|
if (client.user_onsuccess) {
|
|
var responseObject = null;
|
|
var element = responseXml.documentElement;
|
|
this.jsutils.trace('responseXml: ' + this.jsutils.traceElementName(element));
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('first element child: ' + this.jsutils.traceElementName(element));
|
|
while (!this.jsutils.isNodeNamedNS(element, 'http://schemas.xmlsoap.org/soap/envelope/', 'Body')) {
|
|
element = this.jsutils.getNextElementSibling(element);
|
|
if (element == null) {
|
|
throw 'No env:Body in message.'
|
|
}
|
|
}
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('part element: ' + this.jsutils.traceElementName(element));
|
|
this.jsutils.trace('calling ws_safemode_pt__addDiplomaResponse_deserializeResponse');
|
|
responseObject = ws_safemode_pt__addDiplomaResponse_deserializeResponse(this.jsutils, element);
|
|
client.user_onsuccess(responseObject);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.addDiploma_onsuccess = ws_safemode_pt__addDiploma_op_onsuccess;
|
|
|
|
function ws_safemode_pt__addDiploma_op_onerror(client) {
|
|
if (client.user_onerror) {
|
|
var httpStatus;
|
|
var httpStatusText;
|
|
try {
|
|
httpStatus = client.req.status;
|
|
httpStatusText = client.req.statusText;
|
|
} catch(e) {
|
|
httpStatus = -1;
|
|
httpStatusText = 'Error opening connection to server';
|
|
}
|
|
client.user_onerror(httpStatus, httpStatusText);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.addDiploma_onerror = ws_safemode_pt__addDiploma_op_onerror;
|
|
|
|
//
|
|
// Operation {http://ws.safemode.pt/}addDiploma
|
|
// Wrapped operation.
|
|
// parameter bean
|
|
// - Object constructor is ws_safemode_pt__legislacaoBean
|
|
//
|
|
function ws_safemode_pt__addDiploma_op(successCallback, errorCallback, bean) {
|
|
this.client = new CxfApacheOrgClient(this.jsutils);
|
|
var xml = null;
|
|
var args = new Array(1);
|
|
args[0] = bean;
|
|
xml = this.addDiploma_serializeInput(this.jsutils, args);
|
|
this.client.user_onsuccess = successCallback;
|
|
this.client.user_onerror = errorCallback;
|
|
var closureThis = this;
|
|
this.client.onsuccess = function(client, responseXml) { closureThis.addDiploma_onsuccess(client, responseXml); };
|
|
this.client.onerror = function(client) { closureThis.addDiploma_onerror(client); };
|
|
var requestHeaders = [];
|
|
requestHeaders['SOAPAction'] = '';
|
|
this.jsutils.trace('synchronous = ' + this.synchronous);
|
|
this.client.request(this.url, xml, null, this.synchronous, requestHeaders);
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.addDiploma = ws_safemode_pt__addDiploma_op;
|
|
|
|
function ws_safemode_pt__addDiploma_serializeInput(cxfjsutils, args) {
|
|
var wrapperObj = new ws_safemode_pt__addDiploma();
|
|
wrapperObj.setBean(args[0]);
|
|
var xml;
|
|
xml = cxfjsutils.beginSoap11Message("xmlns:jns0='http://ws.safemode.pt/' ");
|
|
// block for local variables
|
|
{
|
|
xml = xml + wrapperObj.serialize(cxfjsutils, 'jns0:addDiploma', null);
|
|
}
|
|
xml = xml + cxfjsutils.endSoap11Message();
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.addDiploma_serializeInput = ws_safemode_pt__addDiploma_serializeInput;
|
|
|
|
function ws_safemode_pt__addDiplomaResponse_deserializeResponse(cxfjsutils, partElement) {
|
|
var returnObject = ws_safemode_pt__addDiplomaResponse_deserialize (cxfjsutils, partElement);
|
|
|
|
return returnObject;
|
|
}
|
|
function ws_safemode_pt__getCategorias_op_onsuccess(client, responseXml) {
|
|
if (client.user_onsuccess) {
|
|
var responseObject = null;
|
|
var element = responseXml.documentElement;
|
|
this.jsutils.trace('responseXml: ' + this.jsutils.traceElementName(element));
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('first element child: ' + this.jsutils.traceElementName(element));
|
|
while (!this.jsutils.isNodeNamedNS(element, 'http://schemas.xmlsoap.org/soap/envelope/', 'Body')) {
|
|
element = this.jsutils.getNextElementSibling(element);
|
|
if (element == null) {
|
|
throw 'No env:Body in message.'
|
|
}
|
|
}
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('part element: ' + this.jsutils.traceElementName(element));
|
|
this.jsutils.trace('calling ws_safemode_pt__getCategoriasResponse_deserializeResponse');
|
|
responseObject = ws_safemode_pt__getCategoriasResponse_deserializeResponse(this.jsutils, element);
|
|
client.user_onsuccess(responseObject);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getCategorias_onsuccess = ws_safemode_pt__getCategorias_op_onsuccess;
|
|
|
|
function ws_safemode_pt__getCategorias_op_onerror(client) {
|
|
if (client.user_onerror) {
|
|
var httpStatus;
|
|
var httpStatusText;
|
|
try {
|
|
httpStatus = client.req.status;
|
|
httpStatusText = client.req.statusText;
|
|
} catch(e) {
|
|
httpStatus = -1;
|
|
httpStatusText = 'Error opening connection to server';
|
|
}
|
|
client.user_onerror(httpStatus, httpStatusText);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getCategorias_onerror = ws_safemode_pt__getCategorias_op_onerror;
|
|
|
|
//
|
|
// Operation {http://ws.safemode.pt/}getCategorias
|
|
// Wrapped operation.
|
|
// parameter arg0
|
|
// - simple type {http://www.w3.org/2001/XMLSchema}string//
|
|
function ws_safemode_pt__getCategorias_op(successCallback, errorCallback, arg0) {
|
|
this.client = new CxfApacheOrgClient(this.jsutils);
|
|
var xml = null;
|
|
var args = new Array(1);
|
|
args[0] = arg0;
|
|
xml = this.getCategorias_serializeInput(this.jsutils, args);
|
|
this.client.user_onsuccess = successCallback;
|
|
this.client.user_onerror = errorCallback;
|
|
var closureThis = this;
|
|
this.client.onsuccess = function(client, responseXml) { closureThis.getCategorias_onsuccess(client, responseXml); };
|
|
this.client.onerror = function(client) { closureThis.getCategorias_onerror(client); };
|
|
var requestHeaders = [];
|
|
requestHeaders['SOAPAction'] = '';
|
|
this.jsutils.trace('synchronous = ' + this.synchronous);
|
|
this.client.request(this.url, xml, null, this.synchronous, requestHeaders);
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getCategorias = ws_safemode_pt__getCategorias_op;
|
|
|
|
function ws_safemode_pt__getCategorias_serializeInput(cxfjsutils, args) {
|
|
var wrapperObj = new ws_safemode_pt__getCategorias();
|
|
wrapperObj.setArg0(args[0]);
|
|
var xml;
|
|
xml = cxfjsutils.beginSoap11Message("xmlns:jns0='http://ws.safemode.pt/' ");
|
|
// block for local variables
|
|
{
|
|
xml = xml + wrapperObj.serialize(cxfjsutils, 'jns0:getCategorias', null);
|
|
}
|
|
xml = xml + cxfjsutils.endSoap11Message();
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getCategorias_serializeInput = ws_safemode_pt__getCategorias_serializeInput;
|
|
|
|
function ws_safemode_pt__getCategoriasResponse_deserializeResponse(cxfjsutils, partElement) {
|
|
var returnObject = ws_safemode_pt__getCategoriasResponse_deserialize (cxfjsutils, partElement);
|
|
|
|
return returnObject;
|
|
}
|
|
function ws_safemode_pt__getTipos_op_onsuccess(client, responseXml) {
|
|
if (client.user_onsuccess) {
|
|
var responseObject = null;
|
|
var element = responseXml.documentElement;
|
|
this.jsutils.trace('responseXml: ' + this.jsutils.traceElementName(element));
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('first element child: ' + this.jsutils.traceElementName(element));
|
|
while (!this.jsutils.isNodeNamedNS(element, 'http://schemas.xmlsoap.org/soap/envelope/', 'Body')) {
|
|
element = this.jsutils.getNextElementSibling(element);
|
|
if (element == null) {
|
|
throw 'No env:Body in message.'
|
|
}
|
|
}
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('part element: ' + this.jsutils.traceElementName(element));
|
|
this.jsutils.trace('calling ws_safemode_pt__getTiposResponse_deserializeResponse');
|
|
responseObject = ws_safemode_pt__getTiposResponse_deserializeResponse(this.jsutils, element);
|
|
client.user_onsuccess(responseObject);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getTipos_onsuccess = ws_safemode_pt__getTipos_op_onsuccess;
|
|
|
|
function ws_safemode_pt__getTipos_op_onerror(client) {
|
|
if (client.user_onerror) {
|
|
var httpStatus;
|
|
var httpStatusText;
|
|
try {
|
|
httpStatus = client.req.status;
|
|
httpStatusText = client.req.statusText;
|
|
} catch(e) {
|
|
httpStatus = -1;
|
|
httpStatusText = 'Error opening connection to server';
|
|
}
|
|
client.user_onerror(httpStatus, httpStatusText);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getTipos_onerror = ws_safemode_pt__getTipos_op_onerror;
|
|
|
|
//
|
|
// Operation {http://ws.safemode.pt/}getTipos
|
|
// Wrapped operation.
|
|
//
|
|
function ws_safemode_pt__getTipos_op(successCallback, errorCallback) {
|
|
this.client = new CxfApacheOrgClient(this.jsutils);
|
|
var xml = null;
|
|
var args = new Array(0);
|
|
xml = this.getTipos_serializeInput(this.jsutils, args);
|
|
this.client.user_onsuccess = successCallback;
|
|
this.client.user_onerror = errorCallback;
|
|
var closureThis = this;
|
|
this.client.onsuccess = function(client, responseXml) { closureThis.getTipos_onsuccess(client, responseXml); };
|
|
this.client.onerror = function(client) { closureThis.getTipos_onerror(client); };
|
|
var requestHeaders = [];
|
|
requestHeaders['SOAPAction'] = '';
|
|
this.jsutils.trace('synchronous = ' + this.synchronous);
|
|
this.client.request(this.url, xml, null, this.synchronous, requestHeaders);
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getTipos = ws_safemode_pt__getTipos_op;
|
|
|
|
function ws_safemode_pt__getTipos_serializeInput(cxfjsutils, args) {
|
|
var wrapperObj = new ws_safemode_pt__getTipos();
|
|
var xml;
|
|
xml = cxfjsutils.beginSoap11Message("xmlns:jns0='http://ws.safemode.pt/' ");
|
|
// block for local variables
|
|
{
|
|
xml = xml + wrapperObj.serialize(cxfjsutils, 'jns0:getTipos', null);
|
|
}
|
|
xml = xml + cxfjsutils.endSoap11Message();
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getTipos_serializeInput = ws_safemode_pt__getTipos_serializeInput;
|
|
|
|
function ws_safemode_pt__getTiposResponse_deserializeResponse(cxfjsutils, partElement) {
|
|
var returnObject = ws_safemode_pt__getTiposResponse_deserialize (cxfjsutils, partElement);
|
|
|
|
return returnObject;
|
|
}
|
|
function ws_safemode_pt__getDiplomaView_op_onsuccess(client, responseXml) {
|
|
if (client.user_onsuccess) {
|
|
var responseObject = null;
|
|
var element = responseXml.documentElement;
|
|
this.jsutils.trace('responseXml: ' + this.jsutils.traceElementName(element));
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('first element child: ' + this.jsutils.traceElementName(element));
|
|
while (!this.jsutils.isNodeNamedNS(element, 'http://schemas.xmlsoap.org/soap/envelope/', 'Body')) {
|
|
element = this.jsutils.getNextElementSibling(element);
|
|
if (element == null) {
|
|
throw 'No env:Body in message.'
|
|
}
|
|
}
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('part element: ' + this.jsutils.traceElementName(element));
|
|
this.jsutils.trace('calling ws_safemode_pt__getDiplomaViewResponse_deserializeResponse');
|
|
responseObject = ws_safemode_pt__getDiplomaViewResponse_deserializeResponse(this.jsutils, element);
|
|
client.user_onsuccess(responseObject);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getDiplomaView_onsuccess = ws_safemode_pt__getDiplomaView_op_onsuccess;
|
|
|
|
function ws_safemode_pt__getDiplomaView_op_onerror(client) {
|
|
if (client.user_onerror) {
|
|
var httpStatus;
|
|
var httpStatusText;
|
|
try {
|
|
httpStatus = client.req.status;
|
|
httpStatusText = client.req.statusText;
|
|
} catch(e) {
|
|
httpStatus = -1;
|
|
httpStatusText = 'Error opening connection to server';
|
|
}
|
|
client.user_onerror(httpStatus, httpStatusText);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getDiplomaView_onerror = ws_safemode_pt__getDiplomaView_op_onerror;
|
|
|
|
//
|
|
// Operation {http://ws.safemode.pt/}getDiplomaView
|
|
// Wrapped operation.
|
|
// parameter bean
|
|
// - simple type {http://www.w3.org/2001/XMLSchema}int//
|
|
function ws_safemode_pt__getDiplomaView_op(successCallback, errorCallback, bean) {
|
|
this.client = new CxfApacheOrgClient(this.jsutils);
|
|
var xml = null;
|
|
var args = new Array(1);
|
|
args[0] = bean;
|
|
xml = this.getDiplomaView_serializeInput(this.jsutils, args);
|
|
this.client.user_onsuccess = successCallback;
|
|
this.client.user_onerror = errorCallback;
|
|
var closureThis = this;
|
|
this.client.onsuccess = function(client, responseXml) { closureThis.getDiplomaView_onsuccess(client, responseXml); };
|
|
this.client.onerror = function(client) { closureThis.getDiplomaView_onerror(client); };
|
|
var requestHeaders = [];
|
|
requestHeaders['SOAPAction'] = '';
|
|
this.jsutils.trace('synchronous = ' + this.synchronous);
|
|
this.client.request(this.url, xml, null, this.synchronous, requestHeaders);
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getDiplomaView = ws_safemode_pt__getDiplomaView_op;
|
|
|
|
function ws_safemode_pt__getDiplomaView_serializeInput(cxfjsutils, args) {
|
|
var wrapperObj = new ws_safemode_pt__getDiplomaView();
|
|
wrapperObj.setBean(args[0]);
|
|
var xml;
|
|
xml = cxfjsutils.beginSoap11Message("xmlns:jns0='http://ws.safemode.pt/' ");
|
|
// block for local variables
|
|
{
|
|
xml = xml + wrapperObj.serialize(cxfjsutils, 'jns0:getDiplomaView', null);
|
|
}
|
|
xml = xml + cxfjsutils.endSoap11Message();
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getDiplomaView_serializeInput = ws_safemode_pt__getDiplomaView_serializeInput;
|
|
|
|
function ws_safemode_pt__getDiplomaViewResponse_deserializeResponse(cxfjsutils, partElement) {
|
|
var returnObject = ws_safemode_pt__getDiplomaViewResponse_deserialize (cxfjsutils, partElement);
|
|
|
|
return returnObject;
|
|
}
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtema_op_onsuccess(client, responseXml) {
|
|
if (client.user_onsuccess) {
|
|
var responseObject = null;
|
|
var element = responseXml.documentElement;
|
|
this.jsutils.trace('responseXml: ' + this.jsutils.traceElementName(element));
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('first element child: ' + this.jsutils.traceElementName(element));
|
|
while (!this.jsutils.isNodeNamedNS(element, 'http://schemas.xmlsoap.org/soap/envelope/', 'Body')) {
|
|
element = this.jsutils.getNextElementSibling(element);
|
|
if (element == null) {
|
|
throw 'No env:Body in message.'
|
|
}
|
|
}
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('part element: ' + this.jsutils.traceElementName(element));
|
|
this.jsutils.trace('calling ws_safemode_pt__gravarCategoriaTemaSubtemaResponse_deserializeResponse');
|
|
responseObject = ws_safemode_pt__gravarCategoriaTemaSubtemaResponse_deserializeResponse(this.jsutils, element);
|
|
client.user_onsuccess(responseObject);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.gravarCategoriaTemaSubtema_onsuccess = ws_safemode_pt__gravarCategoriaTemaSubtema_op_onsuccess;
|
|
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtema_op_onerror(client) {
|
|
if (client.user_onerror) {
|
|
var httpStatus;
|
|
var httpStatusText;
|
|
try {
|
|
httpStatus = client.req.status;
|
|
httpStatusText = client.req.statusText;
|
|
} catch(e) {
|
|
httpStatus = -1;
|
|
httpStatusText = 'Error opening connection to server';
|
|
}
|
|
client.user_onerror(httpStatus, httpStatusText);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.gravarCategoriaTemaSubtema_onerror = ws_safemode_pt__gravarCategoriaTemaSubtema_op_onerror;
|
|
|
|
//
|
|
// Operation {http://ws.safemode.pt/}gravarCategoriaTemaSubtema
|
|
// Wrapped operation.
|
|
// parameter categoria_id
|
|
// - simple type {http://www.w3.org/2001/XMLSchema}int// parameter categoria_designacao
|
|
// - simple type {http://www.w3.org/2001/XMLSchema}string// parameter tema_id
|
|
// - simple type {http://www.w3.org/2001/XMLSchema}int// parameter tema_designacao
|
|
// - simple type {http://www.w3.org/2001/XMLSchema}string// parameter subtema_id
|
|
// - simple type {http://www.w3.org/2001/XMLSchema}int// parameter subtema_designacao
|
|
// - simple type {http://www.w3.org/2001/XMLSchema}string//
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtema_op(successCallback, errorCallback, categoria_id, categoria_designacao, tema_id, tema_designacao, subtema_id, subtema_designacao) {
|
|
this.client = new CxfApacheOrgClient(this.jsutils);
|
|
var xml = null;
|
|
var args = new Array(6);
|
|
args[0] = categoria_id;
|
|
args[1] = categoria_designacao;
|
|
args[2] = tema_id;
|
|
args[3] = tema_designacao;
|
|
args[4] = subtema_id;
|
|
args[5] = subtema_designacao;
|
|
xml = this.gravarCategoriaTemaSubtema_serializeInput(this.jsutils, args);
|
|
this.client.user_onsuccess = successCallback;
|
|
this.client.user_onerror = errorCallback;
|
|
var closureThis = this;
|
|
this.client.onsuccess = function(client, responseXml) { closureThis.gravarCategoriaTemaSubtema_onsuccess(client, responseXml); };
|
|
this.client.onerror = function(client) { closureThis.gravarCategoriaTemaSubtema_onerror(client); };
|
|
var requestHeaders = [];
|
|
requestHeaders['SOAPAction'] = '';
|
|
this.jsutils.trace('synchronous = ' + this.synchronous);
|
|
this.client.request(this.url, xml, null, this.synchronous, requestHeaders);
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.gravarCategoriaTemaSubtema = ws_safemode_pt__gravarCategoriaTemaSubtema_op;
|
|
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtema_serializeInput(cxfjsutils, args) {
|
|
var wrapperObj = new ws_safemode_pt__gravarCategoriaTemaSubtema();
|
|
wrapperObj.setCategoria_id(args[0]);
|
|
wrapperObj.setCategoria_designacao(args[1]);
|
|
wrapperObj.setTema_id(args[2]);
|
|
wrapperObj.setTema_designacao(args[3]);
|
|
wrapperObj.setSubtema_id(args[4]);
|
|
wrapperObj.setSubtema_designacao(args[5]);
|
|
var xml;
|
|
xml = cxfjsutils.beginSoap11Message("xmlns:jns0='http://ws.safemode.pt/' ");
|
|
// block for local variables
|
|
{
|
|
xml = xml + wrapperObj.serialize(cxfjsutils, 'jns0:gravarCategoriaTemaSubtema', null);
|
|
}
|
|
xml = xml + cxfjsutils.endSoap11Message();
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.gravarCategoriaTemaSubtema_serializeInput = ws_safemode_pt__gravarCategoriaTemaSubtema_serializeInput;
|
|
|
|
function ws_safemode_pt__gravarCategoriaTemaSubtemaResponse_deserializeResponse(cxfjsutils, partElement) {
|
|
var returnObject = ws_safemode_pt__gravarCategoriaTemaSubtemaResponse_deserialize (cxfjsutils, partElement);
|
|
|
|
return returnObject;
|
|
}
|
|
function ws_safemode_pt__getEstados_op_onsuccess(client, responseXml) {
|
|
if (client.user_onsuccess) {
|
|
var responseObject = null;
|
|
var element = responseXml.documentElement;
|
|
this.jsutils.trace('responseXml: ' + this.jsutils.traceElementName(element));
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('first element child: ' + this.jsutils.traceElementName(element));
|
|
while (!this.jsutils.isNodeNamedNS(element, 'http://schemas.xmlsoap.org/soap/envelope/', 'Body')) {
|
|
element = this.jsutils.getNextElementSibling(element);
|
|
if (element == null) {
|
|
throw 'No env:Body in message.'
|
|
}
|
|
}
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('part element: ' + this.jsutils.traceElementName(element));
|
|
this.jsutils.trace('calling ws_safemode_pt__getEstadosResponse_deserializeResponse');
|
|
responseObject = ws_safemode_pt__getEstadosResponse_deserializeResponse(this.jsutils, element);
|
|
client.user_onsuccess(responseObject);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getEstados_onsuccess = ws_safemode_pt__getEstados_op_onsuccess;
|
|
|
|
function ws_safemode_pt__getEstados_op_onerror(client) {
|
|
if (client.user_onerror) {
|
|
var httpStatus;
|
|
var httpStatusText;
|
|
try {
|
|
httpStatus = client.req.status;
|
|
httpStatusText = client.req.statusText;
|
|
} catch(e) {
|
|
httpStatus = -1;
|
|
httpStatusText = 'Error opening connection to server';
|
|
}
|
|
client.user_onerror(httpStatus, httpStatusText);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getEstados_onerror = ws_safemode_pt__getEstados_op_onerror;
|
|
|
|
//
|
|
// Operation {http://ws.safemode.pt/}getEstados
|
|
// Wrapped operation.
|
|
//
|
|
function ws_safemode_pt__getEstados_op(successCallback, errorCallback) {
|
|
this.client = new CxfApacheOrgClient(this.jsutils);
|
|
var xml = null;
|
|
var args = new Array(0);
|
|
xml = this.getEstados_serializeInput(this.jsutils, args);
|
|
this.client.user_onsuccess = successCallback;
|
|
this.client.user_onerror = errorCallback;
|
|
var closureThis = this;
|
|
this.client.onsuccess = function(client, responseXml) { closureThis.getEstados_onsuccess(client, responseXml); };
|
|
this.client.onerror = function(client) { closureThis.getEstados_onerror(client); };
|
|
var requestHeaders = [];
|
|
requestHeaders['SOAPAction'] = '';
|
|
this.jsutils.trace('synchronous = ' + this.synchronous);
|
|
this.client.request(this.url, xml, null, this.synchronous, requestHeaders);
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getEstados = ws_safemode_pt__getEstados_op;
|
|
|
|
function ws_safemode_pt__getEstados_serializeInput(cxfjsutils, args) {
|
|
var wrapperObj = new ws_safemode_pt__getEstados();
|
|
var xml;
|
|
xml = cxfjsutils.beginSoap11Message("xmlns:jns0='http://ws.safemode.pt/' ");
|
|
// block for local variables
|
|
{
|
|
xml = xml + wrapperObj.serialize(cxfjsutils, 'jns0:getEstados', null);
|
|
}
|
|
xml = xml + cxfjsutils.endSoap11Message();
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getEstados_serializeInput = ws_safemode_pt__getEstados_serializeInput;
|
|
|
|
function ws_safemode_pt__getEstadosResponse_deserializeResponse(cxfjsutils, partElement) {
|
|
var returnObject = ws_safemode_pt__getEstadosResponse_deserialize (cxfjsutils, partElement);
|
|
|
|
return returnObject;
|
|
}
|
|
function ws_safemode_pt__getEntidadesReguladoras_op_onsuccess(client, responseXml) {
|
|
if (client.user_onsuccess) {
|
|
var responseObject = null;
|
|
var element = responseXml.documentElement;
|
|
this.jsutils.trace('responseXml: ' + this.jsutils.traceElementName(element));
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('first element child: ' + this.jsutils.traceElementName(element));
|
|
while (!this.jsutils.isNodeNamedNS(element, 'http://schemas.xmlsoap.org/soap/envelope/', 'Body')) {
|
|
element = this.jsutils.getNextElementSibling(element);
|
|
if (element == null) {
|
|
throw 'No env:Body in message.'
|
|
}
|
|
}
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('part element: ' + this.jsutils.traceElementName(element));
|
|
this.jsutils.trace('calling ws_safemode_pt__getEntidadesReguladorasResponse_deserializeResponse');
|
|
responseObject = ws_safemode_pt__getEntidadesReguladorasResponse_deserializeResponse(this.jsutils, element);
|
|
client.user_onsuccess(responseObject);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getEntidadesReguladoras_onsuccess = ws_safemode_pt__getEntidadesReguladoras_op_onsuccess;
|
|
|
|
function ws_safemode_pt__getEntidadesReguladoras_op_onerror(client) {
|
|
if (client.user_onerror) {
|
|
var httpStatus;
|
|
var httpStatusText;
|
|
try {
|
|
httpStatus = client.req.status;
|
|
httpStatusText = client.req.statusText;
|
|
} catch(e) {
|
|
httpStatus = -1;
|
|
httpStatusText = 'Error opening connection to server';
|
|
}
|
|
client.user_onerror(httpStatus, httpStatusText);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getEntidadesReguladoras_onerror = ws_safemode_pt__getEntidadesReguladoras_op_onerror;
|
|
|
|
//
|
|
// Operation {http://ws.safemode.pt/}getEntidadesReguladoras
|
|
// Wrapped operation.
|
|
//
|
|
function ws_safemode_pt__getEntidadesReguladoras_op(successCallback, errorCallback) {
|
|
this.client = new CxfApacheOrgClient(this.jsutils);
|
|
var xml = null;
|
|
var args = new Array(0);
|
|
xml = this.getEntidadesReguladoras_serializeInput(this.jsutils, args);
|
|
this.client.user_onsuccess = successCallback;
|
|
this.client.user_onerror = errorCallback;
|
|
var closureThis = this;
|
|
this.client.onsuccess = function(client, responseXml) { closureThis.getEntidadesReguladoras_onsuccess(client, responseXml); };
|
|
this.client.onerror = function(client) { closureThis.getEntidadesReguladoras_onerror(client); };
|
|
var requestHeaders = [];
|
|
requestHeaders['SOAPAction'] = '';
|
|
this.jsutils.trace('synchronous = ' + this.synchronous);
|
|
this.client.request(this.url, xml, null, this.synchronous, requestHeaders);
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getEntidadesReguladoras = ws_safemode_pt__getEntidadesReguladoras_op;
|
|
|
|
function ws_safemode_pt__getEntidadesReguladoras_serializeInput(cxfjsutils, args) {
|
|
var wrapperObj = new ws_safemode_pt__getEntidadesReguladoras();
|
|
var xml;
|
|
xml = cxfjsutils.beginSoap11Message("xmlns:jns0='http://ws.safemode.pt/' ");
|
|
// block for local variables
|
|
{
|
|
xml = xml + wrapperObj.serialize(cxfjsutils, 'jns0:getEntidadesReguladoras', null);
|
|
}
|
|
xml = xml + cxfjsutils.endSoap11Message();
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getEntidadesReguladoras_serializeInput = ws_safemode_pt__getEntidadesReguladoras_serializeInput;
|
|
|
|
function ws_safemode_pt__getEntidadesReguladorasResponse_deserializeResponse(cxfjsutils, partElement) {
|
|
var returnObject = ws_safemode_pt__getEntidadesReguladorasResponse_deserialize (cxfjsutils, partElement);
|
|
|
|
return returnObject;
|
|
}
|
|
function ws_safemode_pt__removeEntidadeReguladora_op_onsuccess(client, responseXml) {
|
|
if (client.user_onsuccess) {
|
|
var responseObject = null;
|
|
var element = responseXml.documentElement;
|
|
this.jsutils.trace('responseXml: ' + this.jsutils.traceElementName(element));
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('first element child: ' + this.jsutils.traceElementName(element));
|
|
while (!this.jsutils.isNodeNamedNS(element, 'http://schemas.xmlsoap.org/soap/envelope/', 'Body')) {
|
|
element = this.jsutils.getNextElementSibling(element);
|
|
if (element == null) {
|
|
throw 'No env:Body in message.'
|
|
}
|
|
}
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('part element: ' + this.jsutils.traceElementName(element));
|
|
this.jsutils.trace('calling ws_safemode_pt__removeEntidadeReguladoraResponse_deserializeResponse');
|
|
responseObject = ws_safemode_pt__removeEntidadeReguladoraResponse_deserializeResponse(this.jsutils, element);
|
|
client.user_onsuccess(responseObject);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.removeEntidadeReguladora_onsuccess = ws_safemode_pt__removeEntidadeReguladora_op_onsuccess;
|
|
|
|
function ws_safemode_pt__removeEntidadeReguladora_op_onerror(client) {
|
|
if (client.user_onerror) {
|
|
var httpStatus;
|
|
var httpStatusText;
|
|
try {
|
|
httpStatus = client.req.status;
|
|
httpStatusText = client.req.statusText;
|
|
} catch(e) {
|
|
httpStatus = -1;
|
|
httpStatusText = 'Error opening connection to server';
|
|
}
|
|
client.user_onerror(httpStatus, httpStatusText);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.removeEntidadeReguladora_onerror = ws_safemode_pt__removeEntidadeReguladora_op_onerror;
|
|
|
|
//
|
|
// Operation {http://ws.safemode.pt/}removeEntidadeReguladora
|
|
// Wrapped operation.
|
|
// parameter arg0
|
|
// - Object constructor is ws_safemode_pt__legEntidadeReguladoraBeanData
|
|
//
|
|
function ws_safemode_pt__removeEntidadeReguladora_op(successCallback, errorCallback, arg0) {
|
|
this.client = new CxfApacheOrgClient(this.jsutils);
|
|
var xml = null;
|
|
var args = new Array(1);
|
|
args[0] = arg0;
|
|
xml = this.removeEntidadeReguladora_serializeInput(this.jsutils, args);
|
|
this.client.user_onsuccess = successCallback;
|
|
this.client.user_onerror = errorCallback;
|
|
var closureThis = this;
|
|
this.client.onsuccess = function(client, responseXml) { closureThis.removeEntidadeReguladora_onsuccess(client, responseXml); };
|
|
this.client.onerror = function(client) { closureThis.removeEntidadeReguladora_onerror(client); };
|
|
var requestHeaders = [];
|
|
requestHeaders['SOAPAction'] = '';
|
|
this.jsutils.trace('synchronous = ' + this.synchronous);
|
|
this.client.request(this.url, xml, null, this.synchronous, requestHeaders);
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.removeEntidadeReguladora = ws_safemode_pt__removeEntidadeReguladora_op;
|
|
|
|
function ws_safemode_pt__removeEntidadeReguladora_serializeInput(cxfjsutils, args) {
|
|
var wrapperObj = new ws_safemode_pt__removeEntidadeReguladora();
|
|
wrapperObj.setArg0(args[0]);
|
|
var xml;
|
|
xml = cxfjsutils.beginSoap11Message("xmlns:jns0='http://ws.safemode.pt/' ");
|
|
// block for local variables
|
|
{
|
|
xml = xml + wrapperObj.serialize(cxfjsutils, 'jns0:removeEntidadeReguladora', null);
|
|
}
|
|
xml = xml + cxfjsutils.endSoap11Message();
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.removeEntidadeReguladora_serializeInput = ws_safemode_pt__removeEntidadeReguladora_serializeInput;
|
|
|
|
function ws_safemode_pt__removeEntidadeReguladoraResponse_deserializeResponse(cxfjsutils, partElement) {
|
|
var returnObject = ws_safemode_pt__removeEntidadeReguladoraResponse_deserialize (cxfjsutils, partElement);
|
|
|
|
return returnObject;
|
|
}
|
|
function ws_safemode_pt__changeDiploma_op_onsuccess(client, responseXml) {
|
|
if (client.user_onsuccess) {
|
|
var responseObject = null;
|
|
var element = responseXml.documentElement;
|
|
this.jsutils.trace('responseXml: ' + this.jsutils.traceElementName(element));
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('first element child: ' + this.jsutils.traceElementName(element));
|
|
while (!this.jsutils.isNodeNamedNS(element, 'http://schemas.xmlsoap.org/soap/envelope/', 'Body')) {
|
|
element = this.jsutils.getNextElementSibling(element);
|
|
if (element == null) {
|
|
throw 'No env:Body in message.'
|
|
}
|
|
}
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('part element: ' + this.jsutils.traceElementName(element));
|
|
this.jsutils.trace('calling ws_safemode_pt__changeDiplomaResponse_deserializeResponse');
|
|
responseObject = ws_safemode_pt__changeDiplomaResponse_deserializeResponse(this.jsutils, element);
|
|
client.user_onsuccess(responseObject);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.changeDiploma_onsuccess = ws_safemode_pt__changeDiploma_op_onsuccess;
|
|
|
|
function ws_safemode_pt__changeDiploma_op_onerror(client) {
|
|
if (client.user_onerror) {
|
|
var httpStatus;
|
|
var httpStatusText;
|
|
try {
|
|
httpStatus = client.req.status;
|
|
httpStatusText = client.req.statusText;
|
|
} catch(e) {
|
|
httpStatus = -1;
|
|
httpStatusText = 'Error opening connection to server';
|
|
}
|
|
client.user_onerror(httpStatus, httpStatusText);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.changeDiploma_onerror = ws_safemode_pt__changeDiploma_op_onerror;
|
|
|
|
//
|
|
// Operation {http://ws.safemode.pt/}changeDiploma
|
|
// Wrapped operation.
|
|
// parameter bean
|
|
// - Object constructor is ws_safemode_pt__legislacaoBean
|
|
//
|
|
function ws_safemode_pt__changeDiploma_op(successCallback, errorCallback, bean) {
|
|
this.client = new CxfApacheOrgClient(this.jsutils);
|
|
var xml = null;
|
|
var args = new Array(1);
|
|
args[0] = bean;
|
|
xml = this.changeDiploma_serializeInput(this.jsutils, args);
|
|
this.client.user_onsuccess = successCallback;
|
|
this.client.user_onerror = errorCallback;
|
|
var closureThis = this;
|
|
this.client.onsuccess = function(client, responseXml) { closureThis.changeDiploma_onsuccess(client, responseXml); };
|
|
this.client.onerror = function(client) { closureThis.changeDiploma_onerror(client); };
|
|
var requestHeaders = [];
|
|
requestHeaders['SOAPAction'] = '';
|
|
this.jsutils.trace('synchronous = ' + this.synchronous);
|
|
this.client.request(this.url, xml, null, this.synchronous, requestHeaders);
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.changeDiploma = ws_safemode_pt__changeDiploma_op;
|
|
|
|
function ws_safemode_pt__changeDiploma_serializeInput(cxfjsutils, args) {
|
|
var wrapperObj = new ws_safemode_pt__changeDiploma();
|
|
wrapperObj.setBean(args[0]);
|
|
var xml;
|
|
xml = cxfjsutils.beginSoap11Message("xmlns:jns0='http://ws.safemode.pt/' ");
|
|
// block for local variables
|
|
{
|
|
xml = xml + wrapperObj.serialize(cxfjsutils, 'jns0:changeDiploma', null);
|
|
}
|
|
xml = xml + cxfjsutils.endSoap11Message();
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.changeDiploma_serializeInput = ws_safemode_pt__changeDiploma_serializeInput;
|
|
|
|
function ws_safemode_pt__changeDiplomaResponse_deserializeResponse(cxfjsutils, partElement) {
|
|
var returnObject = ws_safemode_pt__changeDiplomaResponse_deserialize (cxfjsutils, partElement);
|
|
|
|
return returnObject;
|
|
}
|
|
function ws_safemode_pt__createEntidadeReguladora_op_onsuccess(client, responseXml) {
|
|
if (client.user_onsuccess) {
|
|
var responseObject = null;
|
|
var element = responseXml.documentElement;
|
|
this.jsutils.trace('responseXml: ' + this.jsutils.traceElementName(element));
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('first element child: ' + this.jsutils.traceElementName(element));
|
|
while (!this.jsutils.isNodeNamedNS(element, 'http://schemas.xmlsoap.org/soap/envelope/', 'Body')) {
|
|
element = this.jsutils.getNextElementSibling(element);
|
|
if (element == null) {
|
|
throw 'No env:Body in message.'
|
|
}
|
|
}
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('part element: ' + this.jsutils.traceElementName(element));
|
|
this.jsutils.trace('calling ws_safemode_pt__createEntidadeReguladoraResponse_deserializeResponse');
|
|
responseObject = ws_safemode_pt__createEntidadeReguladoraResponse_deserializeResponse(this.jsutils, element);
|
|
client.user_onsuccess(responseObject);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.createEntidadeReguladora_onsuccess = ws_safemode_pt__createEntidadeReguladora_op_onsuccess;
|
|
|
|
function ws_safemode_pt__createEntidadeReguladora_op_onerror(client) {
|
|
if (client.user_onerror) {
|
|
var httpStatus;
|
|
var httpStatusText;
|
|
try {
|
|
httpStatus = client.req.status;
|
|
httpStatusText = client.req.statusText;
|
|
} catch(e) {
|
|
httpStatus = -1;
|
|
httpStatusText = 'Error opening connection to server';
|
|
}
|
|
client.user_onerror(httpStatus, httpStatusText);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.createEntidadeReguladora_onerror = ws_safemode_pt__createEntidadeReguladora_op_onerror;
|
|
|
|
//
|
|
// Operation {http://ws.safemode.pt/}createEntidadeReguladora
|
|
// Wrapped operation.
|
|
// parameter entidade_reguladora
|
|
// - Object constructor is ws_safemode_pt__legEntidadeReguladoraBeanData
|
|
//
|
|
function ws_safemode_pt__createEntidadeReguladora_op(successCallback, errorCallback, entidade_reguladora) {
|
|
this.client = new CxfApacheOrgClient(this.jsutils);
|
|
var xml = null;
|
|
var args = new Array(1);
|
|
args[0] = entidade_reguladora;
|
|
xml = this.createEntidadeReguladora_serializeInput(this.jsutils, args);
|
|
this.client.user_onsuccess = successCallback;
|
|
this.client.user_onerror = errorCallback;
|
|
var closureThis = this;
|
|
this.client.onsuccess = function(client, responseXml) { closureThis.createEntidadeReguladora_onsuccess(client, responseXml); };
|
|
this.client.onerror = function(client) { closureThis.createEntidadeReguladora_onerror(client); };
|
|
var requestHeaders = [];
|
|
requestHeaders['SOAPAction'] = '';
|
|
this.jsutils.trace('synchronous = ' + this.synchronous);
|
|
this.client.request(this.url, xml, null, this.synchronous, requestHeaders);
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.createEntidadeReguladora = ws_safemode_pt__createEntidadeReguladora_op;
|
|
|
|
function ws_safemode_pt__createEntidadeReguladora_serializeInput(cxfjsutils, args) {
|
|
var wrapperObj = new ws_safemode_pt__createEntidadeReguladora();
|
|
wrapperObj.setEntidade_reguladora(args[0]);
|
|
var xml;
|
|
xml = cxfjsutils.beginSoap11Message("xmlns:jns0='http://ws.safemode.pt/' ");
|
|
// block for local variables
|
|
{
|
|
xml = xml + wrapperObj.serialize(cxfjsutils, 'jns0:createEntidadeReguladora', null);
|
|
}
|
|
xml = xml + cxfjsutils.endSoap11Message();
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.createEntidadeReguladora_serializeInput = ws_safemode_pt__createEntidadeReguladora_serializeInput;
|
|
|
|
function ws_safemode_pt__createEntidadeReguladoraResponse_deserializeResponse(cxfjsutils, partElement) {
|
|
var returnObject = ws_safemode_pt__createEntidadeReguladoraResponse_deserialize (cxfjsutils, partElement);
|
|
|
|
return returnObject;
|
|
}
|
|
function ws_safemode_pt__getAllEntidadesReguladoras_op_onsuccess(client, responseXml) {
|
|
if (client.user_onsuccess) {
|
|
var responseObject = null;
|
|
var element = responseXml.documentElement;
|
|
this.jsutils.trace('responseXml: ' + this.jsutils.traceElementName(element));
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('first element child: ' + this.jsutils.traceElementName(element));
|
|
while (!this.jsutils.isNodeNamedNS(element, 'http://schemas.xmlsoap.org/soap/envelope/', 'Body')) {
|
|
element = this.jsutils.getNextElementSibling(element);
|
|
if (element == null) {
|
|
throw 'No env:Body in message.'
|
|
}
|
|
}
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('part element: ' + this.jsutils.traceElementName(element));
|
|
this.jsutils.trace('calling ws_safemode_pt__getAllEntidadesReguladorasResponse_deserializeResponse');
|
|
responseObject = ws_safemode_pt__getAllEntidadesReguladorasResponse_deserializeResponse(this.jsutils, element);
|
|
client.user_onsuccess(responseObject);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getAllEntidadesReguladoras_onsuccess = ws_safemode_pt__getAllEntidadesReguladoras_op_onsuccess;
|
|
|
|
function ws_safemode_pt__getAllEntidadesReguladoras_op_onerror(client) {
|
|
if (client.user_onerror) {
|
|
var httpStatus;
|
|
var httpStatusText;
|
|
try {
|
|
httpStatus = client.req.status;
|
|
httpStatusText = client.req.statusText;
|
|
} catch(e) {
|
|
httpStatus = -1;
|
|
httpStatusText = 'Error opening connection to server';
|
|
}
|
|
client.user_onerror(httpStatus, httpStatusText);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getAllEntidadesReguladoras_onerror = ws_safemode_pt__getAllEntidadesReguladoras_op_onerror;
|
|
|
|
//
|
|
// Operation {http://ws.safemode.pt/}getAllEntidadesReguladoras
|
|
// Wrapped operation.
|
|
//
|
|
function ws_safemode_pt__getAllEntidadesReguladoras_op(successCallback, errorCallback) {
|
|
this.client = new CxfApacheOrgClient(this.jsutils);
|
|
var xml = null;
|
|
var args = new Array(0);
|
|
xml = this.getAllEntidadesReguladoras_serializeInput(this.jsutils, args);
|
|
this.client.user_onsuccess = successCallback;
|
|
this.client.user_onerror = errorCallback;
|
|
var closureThis = this;
|
|
this.client.onsuccess = function(client, responseXml) { closureThis.getAllEntidadesReguladoras_onsuccess(client, responseXml); };
|
|
this.client.onerror = function(client) { closureThis.getAllEntidadesReguladoras_onerror(client); };
|
|
var requestHeaders = [];
|
|
requestHeaders['SOAPAction'] = '';
|
|
this.jsutils.trace('synchronous = ' + this.synchronous);
|
|
this.client.request(this.url, xml, null, this.synchronous, requestHeaders);
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getAllEntidadesReguladoras = ws_safemode_pt__getAllEntidadesReguladoras_op;
|
|
|
|
function ws_safemode_pt__getAllEntidadesReguladoras_serializeInput(cxfjsutils, args) {
|
|
var wrapperObj = new ws_safemode_pt__getAllEntidadesReguladoras();
|
|
var xml;
|
|
xml = cxfjsutils.beginSoap11Message("xmlns:jns0='http://ws.safemode.pt/' ");
|
|
// block for local variables
|
|
{
|
|
xml = xml + wrapperObj.serialize(cxfjsutils, 'jns0:getAllEntidadesReguladoras', null);
|
|
}
|
|
xml = xml + cxfjsutils.endSoap11Message();
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getAllEntidadesReguladoras_serializeInput = ws_safemode_pt__getAllEntidadesReguladoras_serializeInput;
|
|
|
|
function ws_safemode_pt__getAllEntidadesReguladorasResponse_deserializeResponse(cxfjsutils, partElement) {
|
|
var returnObject = ws_safemode_pt__getAllEntidadesReguladorasResponse_deserialize (cxfjsutils, partElement);
|
|
|
|
return returnObject;
|
|
}
|
|
function ws_safemode_pt__getAllSubtemas_op_onsuccess(client, responseXml) {
|
|
if (client.user_onsuccess) {
|
|
var responseObject = null;
|
|
var element = responseXml.documentElement;
|
|
this.jsutils.trace('responseXml: ' + this.jsutils.traceElementName(element));
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('first element child: ' + this.jsutils.traceElementName(element));
|
|
while (!this.jsutils.isNodeNamedNS(element, 'http://schemas.xmlsoap.org/soap/envelope/', 'Body')) {
|
|
element = this.jsutils.getNextElementSibling(element);
|
|
if (element == null) {
|
|
throw 'No env:Body in message.'
|
|
}
|
|
}
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('part element: ' + this.jsutils.traceElementName(element));
|
|
this.jsutils.trace('calling ws_safemode_pt__getAllSubtemasResponse_deserializeResponse');
|
|
responseObject = ws_safemode_pt__getAllSubtemasResponse_deserializeResponse(this.jsutils, element);
|
|
client.user_onsuccess(responseObject);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getAllSubtemas_onsuccess = ws_safemode_pt__getAllSubtemas_op_onsuccess;
|
|
|
|
function ws_safemode_pt__getAllSubtemas_op_onerror(client) {
|
|
if (client.user_onerror) {
|
|
var httpStatus;
|
|
var httpStatusText;
|
|
try {
|
|
httpStatus = client.req.status;
|
|
httpStatusText = client.req.statusText;
|
|
} catch(e) {
|
|
httpStatus = -1;
|
|
httpStatusText = 'Error opening connection to server';
|
|
}
|
|
client.user_onerror(httpStatus, httpStatusText);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getAllSubtemas_onerror = ws_safemode_pt__getAllSubtemas_op_onerror;
|
|
|
|
//
|
|
// Operation {http://ws.safemode.pt/}getAllSubtemas
|
|
// Wrapped operation.
|
|
// parameter arg0
|
|
// - Object constructor is ws_safemode_pt__classificacaoBean
|
|
//
|
|
function ws_safemode_pt__getAllSubtemas_op(successCallback, errorCallback, arg0) {
|
|
this.client = new CxfApacheOrgClient(this.jsutils);
|
|
var xml = null;
|
|
var args = new Array(1);
|
|
args[0] = arg0;
|
|
xml = this.getAllSubtemas_serializeInput(this.jsutils, args);
|
|
this.client.user_onsuccess = successCallback;
|
|
this.client.user_onerror = errorCallback;
|
|
var closureThis = this;
|
|
this.client.onsuccess = function(client, responseXml) { closureThis.getAllSubtemas_onsuccess(client, responseXml); };
|
|
this.client.onerror = function(client) { closureThis.getAllSubtemas_onerror(client); };
|
|
var requestHeaders = [];
|
|
requestHeaders['SOAPAction'] = '';
|
|
this.jsutils.trace('synchronous = ' + this.synchronous);
|
|
this.client.request(this.url, xml, null, this.synchronous, requestHeaders);
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getAllSubtemas = ws_safemode_pt__getAllSubtemas_op;
|
|
|
|
function ws_safemode_pt__getAllSubtemas_serializeInput(cxfjsutils, args) {
|
|
var wrapperObj = new ws_safemode_pt__getAllSubtemas();
|
|
wrapperObj.setArg0(args[0]);
|
|
var xml;
|
|
xml = cxfjsutils.beginSoap11Message("xmlns:jns0='http://ws.safemode.pt/' ");
|
|
// block for local variables
|
|
{
|
|
xml = xml + wrapperObj.serialize(cxfjsutils, 'jns0:getAllSubtemas', null);
|
|
}
|
|
xml = xml + cxfjsutils.endSoap11Message();
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getAllSubtemas_serializeInput = ws_safemode_pt__getAllSubtemas_serializeInput;
|
|
|
|
function ws_safemode_pt__getAllSubtemasResponse_deserializeResponse(cxfjsutils, partElement) {
|
|
var returnObject = ws_safemode_pt__getAllSubtemasResponse_deserialize (cxfjsutils, partElement);
|
|
|
|
return returnObject;
|
|
}
|
|
function ws_safemode_pt__getAllTemas_op_onsuccess(client, responseXml) {
|
|
if (client.user_onsuccess) {
|
|
var responseObject = null;
|
|
var element = responseXml.documentElement;
|
|
this.jsutils.trace('responseXml: ' + this.jsutils.traceElementName(element));
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('first element child: ' + this.jsutils.traceElementName(element));
|
|
while (!this.jsutils.isNodeNamedNS(element, 'http://schemas.xmlsoap.org/soap/envelope/', 'Body')) {
|
|
element = this.jsutils.getNextElementSibling(element);
|
|
if (element == null) {
|
|
throw 'No env:Body in message.'
|
|
}
|
|
}
|
|
element = this.jsutils.getFirstElementChild(element);
|
|
this.jsutils.trace('part element: ' + this.jsutils.traceElementName(element));
|
|
this.jsutils.trace('calling ws_safemode_pt__getAllTemasResponse_deserializeResponse');
|
|
responseObject = ws_safemode_pt__getAllTemasResponse_deserializeResponse(this.jsutils, element);
|
|
client.user_onsuccess(responseObject);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getAllTemas_onsuccess = ws_safemode_pt__getAllTemas_op_onsuccess;
|
|
|
|
function ws_safemode_pt__getAllTemas_op_onerror(client) {
|
|
if (client.user_onerror) {
|
|
var httpStatus;
|
|
var httpStatusText;
|
|
try {
|
|
httpStatus = client.req.status;
|
|
httpStatusText = client.req.statusText;
|
|
} catch(e) {
|
|
httpStatus = -1;
|
|
httpStatusText = 'Error opening connection to server';
|
|
}
|
|
client.user_onerror(httpStatus, httpStatusText);
|
|
}
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getAllTemas_onerror = ws_safemode_pt__getAllTemas_op_onerror;
|
|
|
|
//
|
|
// Operation {http://ws.safemode.pt/}getAllTemas
|
|
// Wrapped operation.
|
|
// parameter arg0
|
|
// - Object constructor is ws_safemode_pt__classificacaoBean
|
|
//
|
|
function ws_safemode_pt__getAllTemas_op(successCallback, errorCallback, arg0) {
|
|
this.client = new CxfApacheOrgClient(this.jsutils);
|
|
var xml = null;
|
|
var args = new Array(1);
|
|
args[0] = arg0;
|
|
xml = this.getAllTemas_serializeInput(this.jsutils, args);
|
|
this.client.user_onsuccess = successCallback;
|
|
this.client.user_onerror = errorCallback;
|
|
var closureThis = this;
|
|
this.client.onsuccess = function(client, responseXml) { closureThis.getAllTemas_onsuccess(client, responseXml); };
|
|
this.client.onerror = function(client) { closureThis.getAllTemas_onerror(client); };
|
|
var requestHeaders = [];
|
|
requestHeaders['SOAPAction'] = '';
|
|
this.jsutils.trace('synchronous = ' + this.synchronous);
|
|
this.client.request(this.url, xml, null, this.synchronous, requestHeaders);
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getAllTemas = ws_safemode_pt__getAllTemas_op;
|
|
|
|
function ws_safemode_pt__getAllTemas_serializeInput(cxfjsutils, args) {
|
|
var wrapperObj = new ws_safemode_pt__getAllTemas();
|
|
wrapperObj.setArg0(args[0]);
|
|
var xml;
|
|
xml = cxfjsutils.beginSoap11Message("xmlns:jns0='http://ws.safemode.pt/' ");
|
|
// block for local variables
|
|
{
|
|
xml = xml + wrapperObj.serialize(cxfjsutils, 'jns0:getAllTemas', null);
|
|
}
|
|
xml = xml + cxfjsutils.endSoap11Message();
|
|
return xml;
|
|
}
|
|
|
|
ws_safemode_pt__LegislacaoWS.prototype.getAllTemas_serializeInput = ws_safemode_pt__getAllTemas_serializeInput;
|
|
|
|
function ws_safemode_pt__getAllTemasResponse_deserializeResponse(cxfjsutils, partElement) {
|
|
var returnObject = ws_safemode_pt__getAllTemasResponse_deserialize (cxfjsutils, partElement);
|
|
|
|
return returnObject;
|
|
}
|
|
function ws_safemode_pt__LegislacaoWS_impl_ws_safemode_pt__LegislacaoWSImplPort () {
|
|
this.url = '/safemode/safemode-ws/legislacao-edit';
|
|
}
|
|
ws_safemode_pt__LegislacaoWS_impl_ws_safemode_pt__LegislacaoWSImplPort.prototype = new ws_safemode_pt__LegislacaoWS;
|