com.abiquo.api.resources.SquidPlusResource Class Reference

This class represents a SquidPlusResource. More...

Inheritance diagram for com.abiquo.api.resources.SquidPlusResource:

com.abiquo.api.resources.SquidResource

List of all members.

Public Member Functions

 SquidPlusResource ()
 Creates a new SquidPlusResource with the default values.
 SquidPlusResource (ResourceInstance resourceInstance)
 Creates a new SquidPlusResource based on a generic ResourceInstance.

Static Public Member Functions

static SquidPlusResource cast (ResourceInstance resourceInstance)
 Converts a generic ResourceInstance into a new one of type SquidPlusResource.

Static Public Attributes

static final String ID = "SquidPlus"
 String containing the identifier for this resource.


Detailed Description

This class represents a SquidPlusResource.

It takes as the SquidResource as a base and extends it on the fact of add it a new sensor for the humidity of the terrain.

 <?xml version="1.0" encoding="utf-8"?>
 <Resource xmlns="http://http://cpal.abiquo.com/schema/Domain.xsd" LocalId="SquidPlusResource">
    <FunctionalityList >

      <Functionality LocalId="listen" ReturnType="void">
        <AttributeList>
          <Attribute Name="Session" Type="DataReference" />
        </AttributeList>
      </Functionality>

      <Functionality LocalId="getSample" ReturnType="string">
        <AttributeList>
          <Attribute Name="Sensor" Type="String" />
          <Attribute Name="MoteId" Type="String" />
        </AttributeList>
      </Functionality>        

      <Functionality LocalId="GetMoteList" ReturnType="string"/>

    </FunctionalityList>
 </Resource>
 
See also:
SquidResource

Constructor & Destructor Documentation

com.abiquo.api.resources.SquidPlusResource.SquidPlusResource ( ResourceInstance  resourceInstance  ) 

Creates a new SquidPlusResource based on a generic ResourceInstance.

Parameters:
resourceInstance The generic ResourceInstance


Member Function Documentation

static SquidPlusResource com.abiquo.api.resources.SquidPlusResource.cast ( ResourceInstance  resourceInstance  )  [static]

Converts a generic ResourceInstance into a new one of type SquidPlusResource.

Parameters:
resourceInstance The generic ResourceInstance
Returns:
The resultant SquidPlusResource

Reimplemented from com.abiquo.api.resources.SquidResource.


Member Data Documentation

final String com.abiquo.api.resources.SquidPlusResource.ID = "SquidPlus" [static]

String containing the identifier for this resource.

Note:
To avoid misspellings when provision a resource, you should use this constant ID instead of a manually typed string.

Reimplemented from com.abiquo.api.resources.SquidResource.


The documentation for this class was generated from the following file:

Generated on Mon Sep 15 20:13:10 2008 for FrameworkAPI by  doxygen 1.5.5