|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jscience.law.License
public class License
A class representing a piece of paper by an authority that gives someone the right to do something. This includes birth certificate, driving licence, ID, diplomas...
Constructor Summary | |
---|---|
License(Human owner,
Organization authority,
Identification identification,
java.lang.String right)
Creates a new License object. |
|
License(Person person,
Organization authority,
Identification identification,
java.util.Vector rights)
Creates a new License object. |
Method Summary | |
---|---|
Organization |
getAuthority()
DOCUMENT ME! |
Identification |
getIdentification()
DOCUMENT ME! |
java.util.Set |
getOwners()
DOCUMENT ME! |
java.util.Vector |
getRights()
DOCUMENT ME! |
Amount<Money> |
getValue()
DOCUMENT ME! |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public License(Human owner, Organization authority, Identification identification, java.lang.String right)
owner
- DOCUMENT ME!authority
- DOCUMENT ME!identification
- DOCUMENT ME!right
- DOCUMENT ME!
java.lang.IllegalArgumentException
- DOCUMENT ME!public License(Person person, Organization authority, Identification identification, java.util.Vector rights)
person
- DOCUMENT ME!authority
- DOCUMENT ME!identification
- DOCUMENT ME!rights
- DOCUMENT ME!
java.lang.IllegalArgumentException
- DOCUMENT ME!Method Detail |
---|
public java.util.Set getOwners()
getOwners
in interface Property
public Organization getAuthority()
public Identification getIdentification()
getIdentification
in interface Identified
public java.util.Vector getRights()
public Amount<Money> getValue()
getValue
in interface Property
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |