experiment.event.capability
Class Directive

java.lang.Object
  extended by experiment.event.capability.Directive

public class Directive
extends java.lang.Object

Created by IntelliJ IDEA. User: andy Date: Mar 11, 2010 A Data object contains the data for a single cabability update


Constructor Summary
Directive(java.lang.String key, java.lang.String data)
          Default constructor.
 
Method Summary
 java.lang.String getData()
           
 java.lang.String getKey()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Directive

public Directive(java.lang.String key,
                 java.lang.String data)
Default constructor. It doesn't allow null values as every directive should actually hold a direction.

Parameters:
key - the attribute of the data change
data - the new value
Method Detail

getData

public java.lang.String getData()
Returns:
Capability's new value

getKey

public java.lang.String getKey()
Returns:
the capability name