Versions Compared

Key

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

...

Expand

...

titleExpand to see legends and methodology

Include Page
Methodology
Methodology

Go to page

Anchor
TmNamespace TmContent Macro grammar
TmNamespace TmContent Macro grammar
Gliffy
nameTmNamespace TmContent Macro grammar

Panel
borderStylesolid
titleTmNamespace TmContent Macro
Example
<Macro name="RetryQuery">
  <Argument>
    <!-- XML Content -->
  </Argument>
  <Result>
    <!-- XML Content -->
  </Result>
</Macro>

 


Referenced by:


Namespace, TQL model content, Macro

  • TmContent.TmNamespace: nested namespace

Anchor
TmDataContent grammar
TmDataContent grammar
Gliffy
nameTmDataContent grammar

Panel
borderStylesolid
titleTmDataContent (Data)
Example
 

<DataModel Name="Region">

            <Sid name="RegionID" />

            <!-- List of TmDataAttribute -->

</DataModel>

<ThingModel Name="Sensor">

             <Sid name="SensorID" />

             <!-- List of TmThingAttribute and TmAction -->

</ThingModel>

<AppModel Name="PesticideCalculator">

             <!-- List of TmThingAttribute and TmAction -->

</AppModel>


Referenced by:


TmDataContent

  • Inherits: Inheritance descriptor.
  • Combine:
  • TmDataAttribute: TQL data model attribute definition.
  • StandAloneConstraint: Stand-alone constraint definition.
  • TmUnique: Unique constraint definition.

Anchor
TmThingContent grammar
TmThingContent grammar
Gliffy
nameTmThingContent grammar

Panel
borderStylesolid
titleTmThingContent (Thing)
Example
 

<ThingFacet Name="GPSFacet">

      <!-- List of TmThingAttribute and TmAction -->

</ThingFacet>


Referenced by:


TmThingContent

  • Inherits: Inheritance descriptor.
  • Combine:
  • TmThingAttribute: TQL thing model attribute definition.
  • StandAloneConstraint: Stand-alone constraint definition.
  • TmUnique: Unique constraint definition.
  • TmAction: Thing action definition

Anchor
TmAppContent grammar
TmAppContent grammar
Gliffy
nameTmAppContent grammar

Panel
borderStylesolid
titleTmAppContent (App)
Example
 

<AppFacet name="OptimumValueAlgorithm">
    <!-- List of TmThingAttribute and TmAction -->
</AppFacet>


Referenced by:


TmAppContent

  • Inherits: Inheritance descriptor.
  • Combine:
  • TmThingAttribute: TQL thing model attribute definition.
  • StandAloneConstraint: Stand-alone constraint definition.
  • TmUnique: Unique constraint definition.
  • TmAction: Thing action definition.

Anchor
TmUnique grammar
TmUnique grammar
Gliffy
nameTmUnique grammar

Panel
borderStylesolid
titleTmUnique
Example

<ThingFacet Name="PhidgetRFID">

     ...

    <String Name="InterfaceIndex" />

    <Unique Name="RFIDIndex" Value="InterfaceIndex" />

    ...

</ThngFacet>

 


Referenced by:


Unique constraint definition

  • Name: Name is optional.
  • Value: List of attribute names.

Anchor
TmDataAttribute grammar
TmDataAttribute grammar
Gliffy
nameTmDataAttribute grammar

Example
 
Panel
borderStylesolid
titleTmDataAttribute


Referenced by:


TmDataAttribute

  • Attribute: Cherry-picked attribute definition.

Anchor
TmDataAtom grammar
TmDataAtom grammar
Gliffy
nameTmDataAtom grammar

Panel
borderStylesolid
titleTmDataAtom
Example

 <DataModel Name="Region">

            ...

            <String name="regionName" />

            ...

</DataModel>



Referenced by:

...

Panel
borderStylesolid
titleTmDataComposite


Example

 

Referenced by:

...

Panel
borderStylesolid
titleTmDataAdHocComposite
Example

<DataModel name="SensorModel">

            ...

            <DataModel name="Device">

                   <String name="Name" />

                   <String name="Type" />

            </DataModel>

            ...

</DataModel>

 

Referenced by:

Ad-hoc/untyped composite attribute

Anchor
TmAttributeBase grammar
TmAttributeBase grammar
Gliffy
nameTmAttributeBase grammar

Panel
borderStylesolid
titleTmAttributeBase
Example
 

<Def name="StudentType" inherits="Person">

     <String name="Occupation" default="student" eq="student" cardinality="1"/>

</Def>


Referenced by:


TmAttributeBase

  • Name: Model attribute name.
  • Cardinality: Nested cardinalities are not yet supported.
  • Format: Attribute value format specifier.
  • Codec: Attribute value coder/decoder specifier.
  • InlineConstraint: Inline constraint.

Anchor
TmThingAttribute grammar
TmThingAttribute grammar
Gliffy
nameTmThingAttribute grammar

Panel
borderStylesolid
titleTmThingAttribute


Example

 

Referenced by:


TmThingAttribute

  • Attribute: Cherry-picked attribute definition.

Anchor
TmThingAtom grammar
TmThingAtom grammar
Gliffy
nameTmThingAtom grammar

Panel
borderStylesolid
titleTmThingAtom
Example

<ThingFacet name="Actuator">

     <String name="deviceState"  knownBy="deviceListener"/>

</ThingFacet>


Referenced by:


TmThingAtom

  • Update: Currently only 'auto' value is supported.
  • KnownBy: Associated action[s] name[s], comma-separated list.

Anchor
TmThingComposite grammar
TmThingComposite grammar
Gliffy
nameTmThingComposite grammar

Panel
borderStylesolid
titleTmThingComposite
Example
 

<ThingModel name="MySensorModel" combines="SensorFacet">

            <SensorModel Name="sensorModel"/>

</ThingModel>



Referenced by:


TmThingComposite

  • Update: Currently only 'auto' value is supported.
  • KnownBy: Associated action[s] name[s], comma-separated list.

Anchor
TmThingAdHocComposite grammar
TmThingAdHocComposite grammar
Gliffy
nameTmThingAdHocComposite grammar

Panel
borderStylesolid
titleTmThingAdHocComposite
Example
 

<ThingModel name="SensorModel" combines="SensorFacet">

            ...

            <DataModel name="Device">

                   <String name="Name" />

                   <String name="Type" />

            </DataModel>

            ...

</ThingModel>


Referenced by:


Ad-hoc/untyped composite attribute

Anchor
TmAction grammar
TmAction grammar
Gliffy
nameTmAction grammar

Panel
borderStylesolid
titleTmAction
Example
 

    <Action Name="PhidgetReadRFIDTagAc" Documentation="Read the Tag Automatically in the vicinity">

        <Workflow Limit="1" Live="1" Timeout="-1">

            <Task name="Main" while="true">

           ...

            </Task>

        </Workflow>

    </Action>


Referenced by:


TQL model action

Anchor
Condition grammar
Condition grammar
Gliffy
nameCondition grammar

Example
 
Panel
borderStylesolid
titleCondition


Referenced by:

...

Panel
borderStylesolid
titleConditionExpression
Example
 

<Def name="CompanyJanitor" inherits="Employee">

       <And>

              <Constraint target="Employment.BusinnesRole" eq="janitor"/>

              <Constraint target="Employment.Organization" eq="MyCompany"/>

       </And>

</Def>


Referenced by:

...

Panel
borderStylesolid
titleConstraintContent
Example
 

<Def name="PartnerEmployee" inherits="Employee">

       <Constraint target="Employment.Organization" ne="MyCompany"/>

</Def>


Referenced by:

...

Panel
borderStylesolid
titleStandAloneConstraint
Example
 

<Def name="Janitor" inherits="Employee">

       <Constraint target="Employment.BusinnesRole" eq="janitor"/>

</Def>


Referenced by:

Anchor
NestedConstraint grammar
NestedConstraint grammar
Gliffy
nameNestedConstraint grammar

Panel
borderStylesolid
titleNestedConstraint
Example

<Def name="CompanyVIP" inherits="Employee">

       <Or>

            <And>

              <Constraint target="Employment.BusinnesRole" ne=""/>

              <Constraint target="Employment.Organization" eq="MyCompany"/>

           </And>

           <Constraint target="Employment.BusinnesRole" eq="BoardMember"/>

     </Or>

</Def>


Referenced by:

...

Panel
borderStylesolid
titleInlineConstraint
Example
 

<Def name="Manager" inherits="Employee">

          <String name="Employment.BusinnesRole" default="manager" eq="manager" cardinality="1" modifiers="hidden,readonly"/>

 </Def>


Referenced by:

...