de.unikassel.android.sdcframework.data.independent
Class TwitterSampleData

Package class diagram package TwitterSampleData
java.lang.Object
  extended by de.unikassel.android.sdcframework.data.independent.AbstractSampleData
      extended by de.unikassel.android.sdcframework.data.independent.TwitterSampleData
All Implemented Interfaces:
SampleData, SerializableData

public final class TwitterSampleData
extends AbstractSampleData

The device specific sample data of a twitter sensor device. For the moment it does just contain the twitter message.

See Also:
TwitterDevice, TwitterDeviceScanner

Field Summary
private  String message
          The twitter message.
 
Constructor Summary
TwitterSampleData()
          Constructor
TwitterSampleData(TwitterSampleData sampleData)
          Constructor
 
Method Summary
protected  Object clone()
           
 SampleData doClone()
          Method to clone sample data
 boolean equals(Object o)
           
 String getMessage()
          Getter for the message
 void setMessage(String message)
          Setter for the message
 
Methods inherited from class de.unikassel.android.sdcframework.data.independent.AbstractSampleData
getRelatedData, toXML, updateRelatedData
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

message

private String message
The twitter message.

Constructor Detail

TwitterSampleData

public TwitterSampleData()
Constructor


TwitterSampleData

public TwitterSampleData(TwitterSampleData sampleData)
Constructor

Parameters:
sampleData - the sample data to copy construct from
Method Detail

doClone

public final SampleData doClone()
Description copied from interface: SampleData
Method to clone sample data

Returns:
a copy of the sample data

clone

protected final Object clone()
                      throws CloneNotSupportedException
Overrides:
clone in class AbstractSampleData
Throws:
CloneNotSupportedException

equals

public final boolean equals(Object o)
Overrides:
equals in class Object

setMessage

public final void setMessage(String message)
Setter for the message

Parameters:
message - the message to set

getMessage

public final String getMessage()
Getter for the message

Returns:
the message