scg
Class Claim

java.lang.Object
  extended by scg.Claim

public class Claim
extends java.lang.Object

Representation of Claim


Nested Class Summary
static class Claim.confidence
          Field Class for Claim.confidence
static class Claim.instanceSetWrapper
          Field Class for Claim.instanceSetWrapper
static class Claim.protocolWrapper
          Field Class for Claim.protocolWrapper
static class Claim.quality
          Field Class for Claim.quality
 
Constructor Summary
Claim(InstanceSetI instanceSet, scg.ProtocolI protocol, double quality, double confidence)
           
Claim(scg.RWrap<InstanceSetI> instanceSetWrapper, scg.RWrap<scg.ProtocolI> protocolWrapper, double quality, double confidence)
          Construct a(n) Claim Instance
 
Method Summary
 java.lang.String display()
          DGP method from Class Display
 boolean equals(java.lang.Object o)
          Is the given object Equal to this Claim?
 double getConfidence()
          Getter for field Claim.confidence
 InstanceSetI getInstanceSet()
           
 scg.RWrap<InstanceSetI> getInstanceSetWrapper()
          Getter for field Claim.instanceSetWrapper
 scg.ProtocolI getProtocol()
           
 scg.RWrap<scg.ProtocolI> getProtocolWrapper()
          Getter for field Claim.protocolWrapper
 double getQuality()
          Getter for field Claim.quality
 int hashCode()
          DGP method from Class HashCode
static Claim parse(java.io.InputStream inpt)
          Parse an instance of Claim from the given Stream
static Claim parse(java.io.Reader inpt)
          Parse an instance of Claim from the given Reader
static Claim parse(java.lang.String inpt)
          Parse an instance of Claim from the given String
 java.lang.String print()
          DGP method from Class Print
 void setConfidence(double _confidence)
          Setter for field Claim.confidence
 void setInstanceSetWrapper(scg.RWrap<InstanceSetI> _instanceSetWrapper)
          Setter for field Claim.instanceSetWrapper
 void setProtocolWrapper(scg.RWrap<scg.ProtocolI> _protocolWrapper)
          Setter for field Claim.protocolWrapper
 void setQuality(double _quality)
          Setter for field Claim.quality
 java.lang.String toStr()
          DGP method from Class ToStr
 java.lang.String toString()
          DGP method from Class PrintToString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Claim

public Claim(scg.RWrap<InstanceSetI> instanceSetWrapper,
             scg.RWrap<scg.ProtocolI> protocolWrapper,
             double quality,
             double confidence)
Construct a(n) Claim Instance


Claim

public Claim(InstanceSetI instanceSet,
             scg.ProtocolI protocol,
             double quality,
             double confidence)
Method Detail

equals

public boolean equals(java.lang.Object o)
Is the given object Equal to this Claim?

Overrides:
equals in class java.lang.Object

parse

public static Claim parse(java.lang.String inpt)
                   throws scg.ParseException
Parse an instance of Claim from the given String

Throws:
scg.ParseException

parse

public static Claim parse(java.io.InputStream inpt)
                   throws scg.ParseException
Parse an instance of Claim from the given Stream

Throws:
scg.ParseException

parse

public static Claim parse(java.io.Reader inpt)
                   throws scg.ParseException
Parse an instance of Claim from the given Reader

Throws:
scg.ParseException

getProtocol

public scg.ProtocolI getProtocol()

getInstanceSet

public InstanceSetI getInstanceSet()

display

public java.lang.String display()
DGP method from Class Display


print

public java.lang.String print()
DGP method from Class Print


toStr

public java.lang.String toStr()
DGP method from Class ToStr


toString

public java.lang.String toString()
DGP method from Class PrintToString

Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
DGP method from Class HashCode

Overrides:
hashCode in class java.lang.Object

setInstanceSetWrapper

public void setInstanceSetWrapper(scg.RWrap<InstanceSetI> _instanceSetWrapper)
Setter for field Claim.instanceSetWrapper


setProtocolWrapper

public void setProtocolWrapper(scg.RWrap<scg.ProtocolI> _protocolWrapper)
Setter for field Claim.protocolWrapper


setQuality

public void setQuality(double _quality)
Setter for field Claim.quality


setConfidence

public void setConfidence(double _confidence)
Setter for field Claim.confidence


getInstanceSetWrapper

public scg.RWrap<InstanceSetI> getInstanceSetWrapper()
Getter for field Claim.instanceSetWrapper


getProtocolWrapper

public scg.RWrap<scg.ProtocolI> getProtocolWrapper()
Getter for field Claim.protocolWrapper


getQuality

public double getQuality()
Getter for field Claim.quality


getConfidence

public double getConfidence()
Getter for field Claim.confidence