org.jscience.law
Class Contract

java.lang.Object
  extended by org.jscience.law.Contract
All Implemented Interfaces:
Identified

public class Contract
extends java.lang.Object
implements Identified

A class representing a piece of paper usually used when setting a deal, describing it.


Constructor Summary
Contract(Organization firstParty, Organization secondParty, Identification identification, java.util.Date date, java.util.Vector contents)
          Creates a new Contract object.
 
Method Summary
 java.util.Vector getContents()
          DOCUMENT ME!
 java.util.Date getDate()
          DOCUMENT ME!
 Organization getFirstParty()
          DOCUMENT ME!
 Identification getIdentification()
          DOCUMENT ME!
 Organization getSecondParty()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Contract

public Contract(Organization firstParty,
                Organization secondParty,
                Identification identification,
                java.util.Date date,
                java.util.Vector contents)
Creates a new Contract object.

Parameters:
firstParty - DOCUMENT ME!
secondParty - DOCUMENT ME!
identification - DOCUMENT ME!
date - DOCUMENT ME!
contents - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!
Method Detail

getFirstParty

public Organization getFirstParty()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getSecondParty

public Organization getSecondParty()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getIdentification

public Identification getIdentification()
DOCUMENT ME!

Specified by:
getIdentification in interface Identified
Returns:
DOCUMENT ME!

getDate

public java.util.Date getDate()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getContents

public java.util.Vector getContents()
DOCUMENT ME!

Returns:
DOCUMENT ME!