Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Field Summary
`java.lang.Object` | `contribution`
`Address` | `contributor`

Constructor Summary
`ContributionBox(Address a, java.lang.Object o)` Initialises the final fields.

Method Summary
`long` | `timeStamp()`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### contributor

    public final Address contributor

### contribution

    public final java.lang.Object contribution

Constructor Detail

### ContributionBox

    public ContributionBox(Address a,
                           java.lang.Object o)

  Initialises the final fields. The timeStamp is initialised to the current time in milliseconds.

Method Detail

### timeStamp

    public long timeStamp()

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD