ccc.domain
Class Data

java.lang.Object
  extended by ccc.domain.Entity
      extended by ccc.domain.Data
All Implemented Interfaces:
Jsonable, java.io.Serializable

public class Data
extends Entity

The data class is used to represent raw binary data with a unique identifier. Typically, an instance of this class will be passed to some data manager in order to open an input stream on the bytes themselves.

Author:
Civic Computing Ltd.
See Also:
Serialized Form

Constructor Summary
Data()
          Constructor: for persistence only.
Data(java.util.UUID id)
          Constructor.
 
Method Summary
 
Methods inherited from class ccc.domain.Entity
equals, getId, getVersion, hashCode, setId, toJson, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Data

public Data()
Constructor: for persistence only.


Data

public Data(java.util.UUID id)
Constructor.

Parameters:
id - The uuid for this data.


Copyright © 2010. All Rights Reserved.