org.jscience.law
Class Code

java.lang.Object
  extended by org.jscience.law.Code
All Implemented Interfaces:
Named

public class Code
extends java.lang.Object
implements Named

A class representing a set of laws used in a specifica area.


Constructor Summary
Code(java.lang.String name, java.lang.String category, java.util.Date date, java.util.Vector articles)
          Creates a new Code object.
 
Method Summary
 void addArticle(Article article)
          DOCUMENT ME!
 java.util.Vector getArticles()
          DOCUMENT ME!
 java.lang.String getCategory()
          DOCUMENT ME!
 java.util.Date getDate()
          DOCUMENT ME!
 java.lang.String getName()
          DOCUMENT ME!
 void removeArticle(Article article)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Code

public Code(java.lang.String name,
            java.lang.String category,
            java.util.Date date,
            java.util.Vector articles)
Creates a new Code object.

Parameters:
name - DOCUMENT ME!
category - DOCUMENT ME!
date - DOCUMENT ME!
articles - DOCUMENT ME!
Method Detail

getName

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

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

getCategory

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

Returns:
DOCUMENT ME!

getDate

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

Returns:
DOCUMENT ME!

getArticles

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

Returns:
DOCUMENT ME!

addArticle

public void addArticle(Article article)
DOCUMENT ME!

Parameters:
article - DOCUMENT ME!

removeArticle

public void removeArticle(Article article)
DOCUMENT ME!

Parameters:
article - DOCUMENT ME!