sdsi
Class Threshold
java.lang.Object
|
+--sdsi.SDSIObject
|
+--sdsi.Threshold
- All Implemented Interfaces:
- java.io.Serializable, Subject
- public class Threshold
- extends SDSIObject
- implements Subject
- Author:
- Alexander Morcos, Sameer Ajmani
- See Also:
- Serialized Form
Field Summary |
(package private) static java.lang.String |
SDSI_TYPE
|
Methods inherited from class sdsi.SDSIObject |
equals, getHash, getHash, getSrep, hashCode, principalParse, readFrom, readFrom, sign, toReadableString, toString, writeCanonical, writeReadable |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SDSI_TYPE
static final java.lang.String SDSI_TYPE
- See Also:
- Constant Field Values
Threshold
Threshold(SexpList list)
throws SexpParseException
getType
public java.lang.String getType()
- Description copied from class:
SDSIObject
- Returns a short string that represents the type of this SDSIObject.
- Overrides:
getType
in class SDSIObject
- Returns:
- a string represent the type of SDSIObject we're dealing with.
toShortString
public java.lang.String toShortString()
- Description copied from class:
SDSIObject
- Returns a short descriptive string representing this SDSIObject.
- Specified by:
toShortString
in interface Subject
- Specified by:
toShortString
in class SDSIObject
- Returns:
- a short string description of this SDSIObject.
getThreshold
public int getThreshold()
getTotal
public int getTotal()
getAbbreviation
public java.lang.String getAbbreviation()
- Description copied from class:
SDSIObject
- Returns a single or double letter abbreviation this SDSIObject.
- Specified by:
getAbbreviation
in class SDSIObject
- Returns:
- an abbreviated description of this SDSIObject.
getSubjects
public Subject[] getSubjects()
sameAs
public boolean sameAs(java.lang.Object object)
- Specified by:
sameAs
in interface Subject
- Overrides:
sameAs
in class SDSIObject
create
public static Threshold create(int threshold,
Subject[] subjects)
throws SDSIException
SDSIException