org.jscience.law
Class Article

java.lang.Object
  extended by org.jscience.law.Article
All Implemented Interfaces:
Commented, Named

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

A class representing an element of a law, code, constitution.


Constructor Summary
Article(Numbering numbering, java.lang.String contents)
          Creates a new Article object.
Article(Numbering numbering, java.lang.String contents, java.util.Date date)
          Creates a new Article object.
Article(java.lang.String name, Numbering numbering, java.lang.String contents, java.lang.String comments, java.util.Date date)
          Creates a new Article object.
 
Method Summary
 java.lang.String getComments()
          DOCUMENT ME!
 java.lang.String getContents()
          DOCUMENT ME!
 java.util.Date getDate()
          DOCUMENT ME!
 java.lang.String getName()
          DOCUMENT ME!
 Numbering getNumbering()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Article

public Article(Numbering numbering,
               java.lang.String contents)
Creates a new Article object.

Parameters:
numbering - DOCUMENT ME!
contents - DOCUMENT ME!

Article

public Article(Numbering numbering,
               java.lang.String contents,
               java.util.Date date)
Creates a new Article object.

Parameters:
numbering - DOCUMENT ME!
contents - DOCUMENT ME!
date - DOCUMENT ME!

Article

public Article(java.lang.String name,
               Numbering numbering,
               java.lang.String contents,
               java.lang.String comments,
               java.util.Date date)
Creates a new Article object.

Parameters:
name - DOCUMENT ME!
numbering - DOCUMENT ME!
contents - DOCUMENT ME!
comments - DOCUMENT ME!
date - 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!

getNumbering

public Numbering getNumbering()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getContents

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

Returns:
DOCUMENT ME!

getComments

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

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

getDate

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

Returns:
DOCUMENT ME!