org.jscience.politics
Class Conflict

java.lang.Object
  extended by org.jscience.politics.Conflict
All Implemented Interfaces:
Commented, Named

public class Conflict
extends java.lang.Object
implements Named, Commented

A class representing the basic information about a conflict.


Constructor Summary
Conflict(java.lang.String name, java.util.Set groups, Place place, java.util.Date startingDate)
          Creates a new Conflict object.
 
Method Summary
 java.lang.String getComments()
          DOCUMENT ME!
 java.util.Date getEndDate()
          DOCUMENT ME!
 java.util.Set getGroups()
          DOCUMENT ME!
 java.lang.String getName()
          DOCUMENT ME!
 Place getPlace()
          DOCUMENT ME!
 java.util.Date getStartingDate()
          DOCUMENT ME!
 void setComments(java.lang.String comments)
          DOCUMENT ME!
 void setEndDate(java.util.Date date)
          DOCUMENT ME!
 void setGroups(java.util.Set groups)
          DOCUMENT ME!
 void setName(java.lang.String name)
          DOCUMENT ME!
 void setPlace(Place place)
          DOCUMENT ME!
 void setStartingDate(java.util.Date date)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Conflict

public Conflict(java.lang.String name,
                java.util.Set groups,
                Place place,
                java.util.Date startingDate)
Creates a new Conflict object.

Parameters:
name - DOCUMENT ME!
groups - DOCUMENT ME!
place - DOCUMENT ME!
startingDate - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!
Method Detail

getName

public java.lang.String getName()
DOCUMENT ME!

Specified by:
getName in interface Named
Returns:
DOCUMENT ME!

setName

public void setName(java.lang.String name)
DOCUMENT ME!

Parameters:
name - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

getGroups

public java.util.Set getGroups()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setGroups

public void setGroups(java.util.Set groups)
DOCUMENT ME!

Parameters:
groups - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

getPlace

public Place getPlace()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setPlace

public void setPlace(Place place)
DOCUMENT ME!

Parameters:
place - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

getStartingDate

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

Returns:
DOCUMENT ME!

setStartingDate

public void setStartingDate(java.util.Date date)
DOCUMENT ME!

Parameters:
date - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

getEndDate

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

Returns:
DOCUMENT ME!

setEndDate

public void setEndDate(java.util.Date date)
DOCUMENT ME!

Parameters:
date - DOCUMENT ME!

getComments

public java.lang.String getComments()
DOCUMENT ME!

Specified by:
getComments in interface Commented
Returns:
DOCUMENT ME!

setComments

public void setComments(java.lang.String comments)
DOCUMENT ME!

Parameters:
comments - DOCUMENT ME!