org.argkit
Class Argument<C>
java.lang.Object
org.argkit.Argument<C>
- Type Parameters:
C - (Argument's) claim class
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ArgumentDecorator
public class Argument<C>
- extends java.lang.Object
- implements java.io.Serializable
Minimal definition for a generic argument. At it's simplest, an argument is an object with a claim.
It is expected that it will be extended, through inheritance, with additional
fields and methods such as:
- an acceptable status
- sub arguments
- a qualifier/modifier/quantifier
- attackers
- defenders
- defeaters
But these extensions are delegated to other classes.
By default an argument is only defined by it's claim, thus an
equal argument has an equal claim. Naturally this should be overridden in
sub-classes.
- Author:
- Matt South
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Argument
public Argument()
Argument
public Argument(C claim)
getClaim
public C getClaim()
setClaim
public void setClaim(C claim)
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object