Request object

The Request object can contain simple Fields, Notes, Field Change Notes, Tables etc. This example examines these fields.

function SimpleField(  ) 
{
  this.$$nsPrefix = "ns8";
  this.$$elementFormDefault = "qualified";
  this.$$attributes = new Array();
  this.$$xmlNames = new Array();
  this.$$objNames = new Array();
  this.$$minOccurs = new Array();
  this.$$refs = new Array();
  this.getName = getName;
  this.getXmlName = getXmlName;
  this.setContent = setContent;
  this.addContent = addContent;
  this.getContent = getContent;
  this.isFault = isFault;
  this.$$elementChildren = new Array();
  this.$$name = "SimpleField";
  this.$$xmlNames[ "SimpleField" ] = "SimpleField";
  this.token = new xs_string();
  this.token.$$nsPrefix = "ns7"
  this.$$refs[ "token" ] = true;
  this.$$elementChildren.push( "token" );
  this.stringValue = new Array();  // of xs_string
  this.stringValue.$$nsPrefix = "ns8"
  this.stringValue_newInstance = function()
  {
    var newLen = this.stringValue.push( new xs_string() );
    return this.stringValue[ newLen-1 ];
  }
  this.$$elementChildren.push( "stringValue" );
  this.$$minOccurs[ "dateValue" ] = 0;
  this.dateValue = new xs_dateTime();
  this.$$elementChildren.push( "dateValue" );
}