Skip to content
WebPractice-LukaG edited this page Aug 22, 2016 · 20 revisions

Classes, properties, methods


###istsos.IstSOS class

@constructor
new istsos.IstSOS()

#####properties:

* servers {Array<istsos.Server>}

#####methods:

* addServer(server {istsos.Server})
* updateServer(
      old_name {String}, 
      new_name {String},
      new_url {String},
      new_config {istsos.Configuration},
      new_defaultDb {istsos.Database} 
     )
* removeServer(name {String})
* getServer(name {String})
      ==================================
      RETURNS:: {istsos.Server}
  ======================================
* getServerList()
      ==================================
      RETURNS:: {Array<istsos.Server>}
  ======================================

###istsos.Server class

@constructor
@params
new istsos.Server(
                serverName {String}, 
                url {String}, 
                defaultDb {istsos.Database}, 
                opt_config {istsos.Config}, 
                opt_loginConfig {JSON}
)

#####properties:

* serverName {String}
* url {String}
* defaultDb {istsos.Database}
* opt_config {istsos.Configuration} /* optional (if empty, instance of istsos.Configuration is created with
                                                                                           defualt config) */
* opt_loginConfig {JSON} // optional (if empty, empty object is created 
* services {Array<istsos.Service>}

#####methods:

* executeRequest(
    url {String}
    eventType {istsos.events.EventType}
    method {String}
    opt_data {JSON} /* optional (for POST/PUT/DELETE
                                requests required) */                            
)
* addService(service {istsos.Service})
* registerService(service {istsos.Service})
      ================================== 
      AJAX request|POST
      FIRES:: istsos.events.EventType: NEW_SERVICE
  ======================================
* deleteService(service {istsos.Service})
      ==================================
      AJAX request|DELETE
      FIRES:: istsos.events.EventType: DELETE_SERVICE
  ======================================
* getService(service {istsos.Service})
      ==================================
      AJAX request|GET
      FIRES:: istsos.events.EventType: SERVICE
  ======================================
* getServices()
      ==================================
      AJAX request|GET
      FIRES:: istsos.events.EventType: SERVICES
  ======================================
* getServicesProperty()
      ==================================
      RETURNS:: {Array<istsos.Service>}
  ======================================
* getStatus()
      ==================================
      AJAX request|GET
      FIRES:: istsos.events.EventType: STATUS
  ======================================
* getAboutInfo()
      ==================================
      AJAX request|GET
      FIRES:: istsos.events.EventType: ABOUT
  ======================================
* getConfig()
      ==================================
      AJAX request|GET
      FIRES:: istsos.events.EventType: CONFIGURATION
  ======================================
* getConfigProperty()
      ==================================
      RETURNS:: {Array<istsos.Configuration>}
  ======================================
* getDefaultDbProperty()
      ==================================
      RETURNS:: {Array<istsos.Database>}
  ======================================
* getDefaultDb()
      ==================================
      AJAX request|GET
      FIRES:: istsos.events.EventType: DATABASE
  ======================================
* getUrl()
      ==================================
      RETURNS:: {Array<istsos.Service>}
  ======================================

###istsos.Database class

@constructor
@params
new istsos.Database(
            dbname {String}
            host {String}
            user {String}
            password {String}
            port {integer}
)

#####properties:

* dbname {String}
* host {String}
* user {String}
* password {String}
* port {integer}

#####methods:

* executeRequest(
      url {String}
      eventType {istsos.events.EventType}
      method {String}
      opt_data {JSON} // optional (for POST/PUT/DELETE requests required)                          
     )
* getDb( 
      serviceName {String}
      server {istsos.Server}
     )
      ==================================
      AJAX request|GET
      FIRES:: istsos.events.EventsType: DATABASE
========================================
* setDb(
      dbname {String}
      host {String}
      user {String}
      passwrod {String}
      port {integer}
      server {istsos.Server}
      opt_service {istsos.Service} // optional (if not provided 'default' value will be set
     )
      ==================================
      AJAX request|PUT
      FIRES:: istsos.events.EventsType: UPDATE_DATABASE
========================================
* validateDb({istsos.Server})
      ==================================
      AJAX request|POST
      FIRES:: istsos.events.EventsType: VALIDATE_DB
========================================
* getDbJSON()
      ==================================
      RETURNS:: {JSON}
========================================

###istsos.Configuration class

@constructor
@params
new istsos.Configuration(
            serviceName {String}
            server {istsos.Server}

#####properties:

* sname {String}
* serverUrl {String}

#####methods:

* executeRequest(
      url {String}
      eventType {istsos.events.EventType}
      method {String}
      opt_data {JSON} /* optional (for POST/PUT/DELETE requests required) */                            
)
* getConf()
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: CONFIGURATION
  ======================================
* getProvider()
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: PROVIDER
  ======================================
* updateProvider(
      providerName {String}
      providerSite {String}
      contactName {String}
      contactPosition {String}
      contactVoice {String}
      contactFax {String}
      contactEmail {String}
      contactDeliveryPoint {String}
      contactPostalCode {String}
      contactCity {String}
      contactAdminArea {String}
      contactCountry {String}
     )
      ================================== 
      AJAX request|PUT
      FIRES:: istsos.events.EventType: UPDATE_PROVIDER
  ======================================
* getIdentification()
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: IDENTIFICATION
  ======================================
* updateIdentification( //AJAX request|PUT
      title {String}
      abstract {String}
      urnVersion {String}
      authority {String}
      fees {String}
      keywords {String}
      accessConstrains {String}   
     )
     ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: UPDATE_IDENTIFICATION
  ======================================
* getMqtt()
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: MQTT
  ======================================
* updateMqtt(
      brokerPassword {String}
      brokerUser {String}
      brokerTopic {String}
      brokerUrl {String}
      brokerPort {String}
     )
      ================================== 
      AJAX request|PUT
      FIRES:: istsos.events.EventType: UPDATE_MQTT
  ======================================
* getCrs()
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: CRS
  ======================================
* updateCrs(
      z_axis_name {String}
      x_axis_name {String}
      y_axis_name {String}
      allowedEpsg {String}
      istsosEpsg {String}
     )
      ================================== 
      AJAX request|PUT
      FIRES:: istsos.events.EventType: UPDATE_CRS
  ======================================
* getObservationConf()
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: OBSERVATION_CONF
  ======================================
* updateObservationConf(
      correctQi {String}
      statQi {String}
      defaultQi {String}
      aggregateNoDataQi {String}
      maxGoPeriod {String}
      transactionalLog {String}
      aggregateNoData {String}    
     )
      ================================== 
      AJAX request|PUT
      FIRES:: istsos.events.EventType: UPDATE_OBSERVATION_CONF
  ======================================
* getProxy()
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: PROXY
  ======================================
* updateProxy(
      newUrl {String}
     )
      ================================== 
      AJAX request|PUT
      FIRES:: istsos.events.EventType: UPDATE_PROXY
  ======================================
* getEpsgCodes()
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: EPSG_CODES
  ======================================

###istsos.Date class

@constructor
@params
new istsos.Date(
        year {integer}
        month {integer}
        day {integer}
        hours {integer}
        minutes {integer}
        seconds {integer}
        gmt {integer}
        opt_descr {String}
)

#####properties:

* year {String}
* month {String}
* day {String}
* hours {String}
* minutes {String}
* seconds {String}
* gmt {String}
* description {String} /* optional (if not provided, default text will be set) */

#####methods:

* getDescription()
      ================================== 
      RETURNS:: {String}
  ======================================
* getDateString()
      ================================== 
      RETURNS:: {String}
  ======================================

###istsos.Service class

@constructor
@params
new istsos.Service(
        server {istsos.Server}
        serviceName {String}
        opt_db {istsos.Database} // if not provided, default is set
        opt_config {istsos.Config} // if not provided, default is set
        opt_epsg {integer} // if not provided, default is set
)

#####properties:

* serviceName {String}
* db {istsos.Database}
* epsg {int}
* config {istsos.Configuration}
* server {istsos.Server}
* offerings {Array<istsos.Offering>}
* procedures {Array<istsos.Procedure>}
* virtualProcedures {Array<istsos.VirtaulProcedure>}
* observedProperties {Array<istsos.ObservedProperty>}
* uoms {Array<istsos.UnitOfMeasure>}
* dataQualities {Array<istsos.DataQuality>}

#####methods:

* executeRequest(
      url {String}
      eventType {istsos.events.EventType}
      method {String}
      opt_data {JSON} /* optional (for POST/PUT/DELETE requests required) */ 
      opt_otherData {JSON}                          
)
* getServiceJSON()
      ================================== 
      RETURNS:: {JSON}
  ======================================
* getOfferingsProperty()
      ================================== 
      RETURNS:: {Array<istsos.Offering>}
  ======================================
* getProceduresProperty()
      ================================== 
      RETURNS:: {Array<istsos.Procedure>}
  ======================================
* getVirtualProcedures()
      ================================== 
      RETURNS:: {Array<istsos.VirtualProcedure>}
  ======================================
* getObservedPropertiesProperty()
      ================================== 
      RETURNS:: {Array<istsos.ObservedProperty>}
  ======================================
* getUomsProperty()
      ================================== 
      RETURNS:: {Array<istsos.UnitOfMeasure>}
  ======================================
* getDataQualitiesProperty()
      ================================== 
      RETURNS:: {Array<istsos.DataQuality>}
  ======================================
* addOffering(offering {istsos.Offering})
* registerOffering(offering {istsos.Offering})
      ================================== 
      AJAX request|POST
      FIRES:: istsos.events.EventType: NEW_OFFERING
  ======================================
* getOfferingNames()
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: OFFERING_NAMES
  ======================================
* getOfferings()
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: OFFERING_LIST
  ======================================
* addProcedure(procedure {istsos.Procedure})
* registerProcedure (procedure {istsos.Procedure})
      ================================== 
      AJAX request|POST
      FIRES:: istsos.events.EventType: NEW_PROCEDURE
  ======================================
* getProcedure(procedure {istsos.Procedure})
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: PROCEDURE
  ======================================
* getProcedures()
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: PROCEDURES
  ======================================
* addVirtualProcedure (v_procedure {istsos.VirtualProcedure})
* registerVirtualProcedure (v_procedure {istsos.VirtualProcedure})
      ================================== 
      AJAX request|POST
      FIRES:: istsos.events.EventType: NEW_VIRTUAL_PROCEDURE
  ======================================
* getVirtualProcedure(v_procedure {istsos.VirtualProcedure})
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: VIRTUAL_PROCEDURE
  ======================================
* getVirtualProcedures()
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: VIRTUAL_PROCEDURES
  ======================================
* addObservedProperty(property {istsos.ObservedProperty})
* registerObservedProperty(property {istsos.ObservedProperty})
      ================================== 
      AJAX request|POST
      FIRES:: istsos.events.EventType: NEW_OBSERVED_PROPERTY
  ======================================
* getObservedProperties()
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: OBSERVED_PROPERTIES
  ======================================
* getObservedProperty(istsos.ObservedProperty})
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: OBSERVED_PROPERTY
  ======================================
* addUom(uom {istsos.UnitOfMeasure})
* registerUom(uom {istsos.UnitOfMeasure})
      ================================== 
      AJAX request|POST
      FIRES:: istsos.events.EventType: NEW_UOM
  ======================================
* getUoms()
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: UOMS
  ======================================
* getUom(uom {istsos.UnitOfMeasure})
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: UOM
  ======================================
* addDataQuality(dataQuality {istsos.DataQuality})
* registerDataQuality(dataQuality {istsos.DataQuality})
      ================================== 
      AJAX request|POST
      FIRES:: istsos.events.EventType: NEW_DATAQUALITY
  ======================================
* getDataQualities()
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: DATAQUALITIES
  ======================================
* getDataQuality(dataQuality {istsos.DataQuality})
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: DATAQUALITY
  ======================================
* getSystemTypes()
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: SYSTEM_TYPES
  ======================================
* getDatabaseProperty()
      ================================== 
      RETURNS:: {istsos.Database}
  ======================================
* getDatabase()
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: DATABASE
  ======================================
* getObservations(
      offering {istsos.Offering}
      procedure {Array<istsos.Procedure|istsos.VirtualProcedure>}
      observed_properties {Array<istsos.ObservedProperty>}
      begin_time {istsos.Date}
      end_time {istsos.Date}
     )
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: GETOBSERVATIONS
  ======================================
* getObservationsWithAggregation(
      offering {istsos.Offering}
      procedure {Array<istsos.Procedure|istsos.VirtualProcedure>}
      observed_properties {Array<istsos.ObservedProperty>}
      begin_time {istsos.Date}
      end_time {istsos.Date}
      aggFunc{String}
      aggInterval {String}
      aggNoData {int}
      aggNoDataQI {int}
     )
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: GETOBSERVATIONS_AGG
  ======================================
* getObservationsBySingleProperty(
      offering {istsos.Offering}
      procedure {istsos.Procedure|istsos.VirtualProcedure}
      observed_property {istsos.ObservedProperty}
      begin_time {istsos.Date}
      end_time {istsos.Date}
     )
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: GETOBSERVATIONS_BY_PROPERTY
  ======================================
* getObservationsByQualityIndexConstraint(
      offering {istsos.Offering}
      procedure {istsos.Procedure|istsos.VirtualProcedure}
      observed_property {istsos.ObservedProperty}
      begin_time {istsos.Date}
      end_time {istsos.Date}
      constraintType {String}
      qualityIndexNumber {int|Array<int>}
     )
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: GETOBSERVATIONS_BY_QUALITY
  ======================================
* getFeatureCollection(
      opt_epsg
      opt_offering
      opt_procedure
     )
      ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: GEOJSON
  ======================================

###istsos.Offering class

@constructor
@params
new istsos.Offering(
        offeringName {String}
        offeringDescription {String}
        active {Boolean}
        expirationDate {istsos.Date}
        service {istsos.Service}
)

#####properties:

* offeringName {String}
* offeringDescription {String}
* active {Boolean}
* expirationDate {istsos.Date}
* service {istsos.Service}
* memberProcedures {Array<istsos.Procedure|istsos.VirtaulProcedure>}

#####methods:

* executeRequest(
      url {String}
      eventType {istsos.events.EventType}
      method {String}
      opt_data {JSON} // optional (for POST/PUT/DELETE requests required)                          
     )
* addProcedure(procedure {istsos.Procedure|istsos.VirtualProcedure})
* updateOffering(
      newName {String}
      newDescription {String}
      newActive {boolean}
      newExpirationDate {istsos.Date}
     )
     ================================== 
      AJAX request|PUT
      FIRES:: istsos.events.EventType: UPDATE_OFFERING
 ======================================
* deleteOffering()
     ================================== 
      AJAX request|DELETE
      FIRES:: istsos.events.EventType: DELETE_OFFERING
 ======================================
* getMemberProceduresProperty()
     ================================== 
      RETURNS:: {Array<istsos.Procedure|istsos.VirtualProcedure>}
 ======================================
* getMemberProcedures()
     ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: MEMBERLIST
 ======================================
* getNonMemberProcedures()
     ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: NONMEMBERLIST
 ======================================
* getOfferingJSON()
     ================================== 
      RETURNS:: {JSON}
 ======================================

###istsos.ProcedureBase Abstract class

@constructor
@params
new istsos.ProcedureBase(
        name {String}
        description {String}
        keywords {String}
        foi_name {String}
        epsg {int}
        x {int}
        y {int}
        z {int}
        Outputs {Array<istsos.Output>}
)

#####properties:

* name {String}
* description {String}
* keywords {String}
* foi_name {String}
* epsg {int}
* coordinates {Array<int>}
* outputs = {Array<istsos.Output>}

#####methods:

* getOutputsProperty()
     ================================== 
      RETURNS:: {Array<istsos.Output>}
 ======================================
* getProcedureBaseJSON()
     ================================== 
      RETURNS:: {JSON}
 ======================================
* createContactForm(
      individualName {String}
      voice {String}
      fax {String}
      email {String}
      web {String}
      deliveryPoint {String}
      city {String}
      administrativeArea {String}
      postalCode {String}
      country {String}
     )
     ================================== 
      RETURNS:: {JSON}
 ======================================
* getCapabilitiesUom()
     ================================== 
      RETURNS:: {Array<String>}
 ======================================
* getCapabilitiesJson()
     ================================== 
      RETURNS:: {Array<JSON>}
 ======================================
* getIdentificationNames()
     ================================== 
      RETURNS:: {Array<JSON>}
 ======================================

###istsos.Procedure class

@constructor
@params
new istsos.Procedure(
        name {String}
        description {String}
        keywords {String}
        foi_name {String}
        epsg {int}
        x {int}
        y {int}
        z {int}
        outputs {Array<istsos.Output>}
        systemType {String}
        sensorType {String}
)

#####properties:

/* INHERITED FROM istsos.ProcedureBase CLASS */
* name {String}
* description {String}
* keywords {String}
* foi_name {String}
* epsg {int}
* coordinates {Array<int>}
* outputs = {Array<istsos.Output>}
/* --------- */
* systemType {String}
* sensorType {String}
* service {istsos.Service}

#####methods:

* executeRequest(
      url {String}
      eventType {istsos.events.EventType}
      method {String}
      opt_data {JSON}
     )
* updateProcedure(
      name {String}
      description {String}
      keywords {String}
      foi_name {String}
      epsg {int}
      x {int}
      y {int}
      z {int}
      outputs {Array<istsos.Output>}
      systemType {String}
      sensorType {String}
     )
     ================================== 
      AJAX request|PUT
      FIRES:: istsos.events.EventType: UPDATE_PROCEDURE
 ======================================
* deleteProcedure()
     ================================== 
      AJAX request|DELETE
      FIRES:: istsos.events.EventType: DELETE_PROCEDURE
 ======================================
* addMembershipToOffering(offering {istsos.Offering})
     ================================== 
      AJAX request|POST
      FIRES:: istsos.events.EventType: ADD_TO_OFFERING
 ======================================
* removeMembershipFromOffering(offering {istsos.Offering})
     ================================== 
      AJAX request|DELETE
      FIRES:: istsos.events.EventType: REMOVE_FROM_OFFERING
 ======================================
* getOutputsProperty()
     ================================== 
      RETURNS:: {JSON}
 ======================================

###istsos.VirtualProcedure class

@constructor
@params
new istsos.VirtualProcedure(
        name {String}
        description {String}
        keywords {String}
        foi_name {String}
        epsg {int}
        x {int}
        y {int}
        z {int}
        outputs {Array<istsos.Output>}
        systemType {String}
        sensorType {String}
        code {String}
        ratingCurve {JSON}
)

#####properties:

/* INHERITED FROM istsos.ProcedureBase CLASS */
* name {String}
* description {String}
* keywords {String}
* foi_name {String}
* epsg {int}
* coordinates {Array<int>}
* outputs = {Array<istsos.Output>}
/* --------- */
* systemType {String}
* sensorType {String}
* code {String}
* ratingCurve {JSON}
* service {istsos.Service}

#####methods:

* executeRequest(
      url {String}
      eventType {istsos.events.EventType}
      method {String}
      opt_data {JSON}
     )
* getCode()
     ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: GET_CODE
 ======================================
* registerCode()
     ================================== 
      AJAX request|POST
      FIRES:: istsos.events.EventType: NEW_CODE
 ======================================
* updateCode(newCode {String)
     ================================== 
      AJAX request|PUT
      FIRES:: istsos.events.EventType: UPDATE_CODE
 ======================================
* deleteCode()
     ================================== 
      AJAX request|DELETE
      FIRES:: istsos.events.EventType: DELETE_CODE
 ======================================
* getCodeProperty
     ================================== 
      RETURNS:: {String}
 ======================================
* getRatingCurve()
     ================================== 
      AJAX request|GET
      FIRES:: istsos.events.EventType: RATING_CURVE
 ======================================
* registerRatingCurve()
     ================================== 
      AJAX request|POST
      FIRES:: istsos.events.EventType: NEW_RATING_CURVE
 ======================================
* deleteRatingCurve()
     ================================== 
      AJAX request|DELETE
      FIRES:: istsos.events.EventType: DELETE_RATING_CURVE
 ======================================
* getRatingCurveProperty()
     ================================== 
      RETURNS:: {JSON}
 ======================================
* updateVirtualProcedure(
      name {String}
      description {String}
      keywords {String}
      foi_name {String}
      epsg {int}
      x {int}
      y {int}
      z {int}
      outputs {Array<istsos.Output>}
      systemType {String}
      sensorType {String}
     )
     ================================== 
      AJAX request|PUT
      FIRES:: istsos.events.EventType: UPDATE_V_PROCEDURE
 ======================================
* deleteVirtualProcedure()
     ================================== 
      AJAX request|DELETE
      FIRES:: istsos.events.EventType: DELETE_V_PROCEDURE
 ======================================
* addMembershipToOffering(offering {istsos.Offering})
     ================================== 
      AJAX request|POST
      FIRES:: istsos.events.EventType: ADD_TO_OFFERING
 ======================================
* removeMembershipFromOffering(offering {istsos.Offering})
     ================================== 
      AJAX request|DELETE
      FIRES:: istsos.events.EventType: REMOVE_FROM_OFFERING
 ======================================
* getOutputsProperty()
     ================================== 
      RETURNS:: {JSON}
 ======================================

###istsos.Output class

@constructor
@params
new istsos.Output(
        property {istsos.ObservedProperty}
        uom {istsos.UnitOfMeasure}
        description {String}
        opt_constraintType {String}
        opt_constraintValue {Array<int>|int}
)

#####properties:

* observedProperty {istsos.ObservedProperty}
* uom {istsos.UnitOfMeasure}
* description {String}
* constraint {JSON}

#####methods:

* validateConstraintInput(
      constraintType {String}
      constraintValue {Array<int>|int}
     )
     ==================================
      RETURNS:: {boolean}
 ======================================
* getOutputJSON()
     ==================================
      RETURNS:: {JSON}
 ======================================

###istsos.ObservedProperty class

@constructor
@params
new istsos.ObservedProperty(
        service {istsos.Service}
        observedName {String}
        definitionUrn {String}
        observedDescr {String}
        opt_constraintType {String}
        opt_value {Array<int>|int}
)

#####properties:

* service {istsos.Service}
* observedName {String}
* definitionUrn {istsos.UnitOfMeasure}
* observedDescr {String}
* constraint {JSON}

#####methods:

* executeRequest(
      url {String}
      eventType {istsos.events.EventType}
      method {String}
      opt_data {JSON}
     )
* updateProceduresIncluded()
* getProceduresIncluded()
     ==================================
      RETURNS:: {Array<istsos.Procedure|istsos.VirtualProcedure>}
 ======================================
* getObservedPropertyJSON()
     ==================================
      RETURNS:: {JSON}
 ======================================
* updateObservedProperty(
      newPropertyName {String}
      newDefinitionUrn {String}
      newPropertyDescr {String}
      opt_constraintType {String}
      opt_value {Array<int>|int}
     )
     ================================== 
      AJAX request|PUT
      FIRES:: istsos.events.EventType: UPDATE_OBSERVED_PROPERTY
 ======================================
* deleteObservedProperty()
     ================================== 
      AJAX request|DELETE
      FIRES:: istsos.events.EventType: DELETE_OBSERVED_PROPERTY
 ======================================
* validateConstraintInput(
      constraintType {String}
      constraintValue {Array<int>|int}
     )
     ==================================
      RETURNS:: {boolean}
 ======================================

###istsos.DataQuality class

@constructor
@params
new istsos.DataQuality(
        service {istsos.Service}
        codeDQ {int}
        nameDQ {String}
        descrDQ {String}
)

#####properties:

* code {int}
* name {String}
* description {String}
* service {istsos.Service}

#####methods:

* executeRequest(
      url {String}
      eventType {istsos.events.EventType}
      method {String}
      opt_data {JSON}
     )
* getDataQualityJSON()
     ==================================
      RETURNS:: {JSON}
 ======================================
* updateDataQuality(
      newCodeDQ {int}
      newNameDQ {String}
      newDescrDQ {String}
     )
     ================================== 
      AJAX request|PUT
      FIRES:: istsos.events.EventType: UPDATE_DATAQUALITY
 ======================================
* deleteDataQuality()
     ================================== 
      AJAX request|DELETE
      FIRES:: istsos.events.EventType: DELETE_DATAQUALITY
 ======================================

###istsos.UnitOfMeasure class

@constructor
@params
new istsos.UnitOfMeasure(
        service {istsos.Service}
        name {String}
        description {String}
)

#####properties:

* name {iStringnt}
* description {String}
* proceduresIncluded {Array<istsos.Procedure|istsos.VirtualProcedure>}
* service {istsos.Service}

#####methods:

* executeRequest(
      url {String}
      eventType {istsos.events.EventType}
      method {String}
      opt_data {JSON}
     )
* updateProceduresIncluded()
* getUomJSON()
     ==================================
      RETURNS:: {JSON}
 ======================================
* updateUom(
      newName {String}
      newDescr {String}
     )
     ================================== 
      AJAX request|PUT
      FIRES:: istsos.events.EventType: UPDATE_UOM
 ======================================
* deleteUom()
     ================================== 
      AJAX request|DELETE
      FIRES:: istsos.events.EventType: DELETE_UOM
 ======================================