Class Article
java.lang.Object
org.episteme.social.law.Article
-
Constructor Summary
ConstructorsConstructorDescriptionMinimal constructor for legacy support.Creates a full Article object.Creates a new Article object with numbering and contents.Creates a new Article object with numbering, contents, and date. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Commented
getComments, getTrait, getTrait, setComments, setTrait
-
Constructor Details
-
Article
-
Article
Creates a new Article object with numbering and contents.- Parameters:
numbering- the numbering/index of the articlecontents- the textual content of the article- Throws:
IllegalArgumentException- if numbering or contents is null
-
Article
Creates a new Article object with numbering, contents, and date.- Parameters:
numbering- the numbering/index of the articlecontents- the textual content of the articledate- the date associated with the article- Throws:
IllegalArgumentException- if numbering or contents is null
-
Article
Creates a full Article object.- Parameters:
name- the name of the articlenumbering- the numbering/index of the articlecontents- the textual content of the articlecomments- interpretative comments or notesdate- the date of the article- Throws:
IllegalArgumentException- if any argument is null
-
-
Method Details
-
getName
-
getNumbering
Returns the numbering or index of the article.- Returns:
- the numbering
-
getContents
-
getDate
-
getTraits
-