drm.core
Class ContributionBox
java.lang.Object
|
+--drm.core.ContributionBox
- All Implemented Interfaces:
- java.io.Serializable
- public final class ContributionBox
- extends java.lang.Object
- implements java.io.Serializable
This class contains a contribution of an entity. The actual type of the
contribution object (the data model) is application specific.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
contributor
public final Address contributor
contribution
public final java.lang.Object contribution
ContributionBox
public ContributionBox(Address a,
java.lang.Object o)
- Initialises the final fields. The timeStamp is initialised to the current
time in milliseconds.
timeStamp
public long timeStamp()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object