Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
class QmfData:
      <constructor>( _values=map of "name"=<AMQP Type> pairs, 
                     _subtypes=optional map of "name"=<AMQP String> pairs for
                           subtype information,
                     _desc=optional AMQP string containing a human-readable
                           description for this data object.
                     _object_id=optional AMQP string that uniquely identifies
                           this QmfData instance.
                     _schema=optional <class SchemaClass> reference
                     _const=False )
      <constructor>( _map=map representation of QmfData, as generated by
                           mapEncode() method, 
                     _schema=optional <class SchemaClass> reference
                     _const=False)
      .isManaged(): returns True if object identifier string assigned, else False.
      .isDescribed(): returns True if schema is associated with this instance
      .getDesc(): return the description of this object if present, else None
      .getValue(name): return the value of the named data item, returns None if
                       named property is not present.
      .hasValue(name): returns True if the named data item is present in the map,
                       else False.
      .setValue(name, value, subType=None): set the value of the named data item.
                       Creates a new item if the named data does not exist. Raises
                       an exception if _const is True. 
      .getSubType(name): returns the sub type description string, else None if not
                       present. 
      .setSubType(name, subType): set or modify the subtype associated with name.
      .get_object_id(): returns the object id string associated with the object
                       instance, or None if no id assigned.
      .get_schema_class_id: returns the identifier of the Schema that describes
                       the structure of the data, or None if no schema.
      .mapEncode(): returns a map representation of the QmfData instance, suitable
                       for use by the constructor.

...