hsr
Class HSRInstanceSet

java.lang.Object
  extended by hsr.HSRInstanceSet
All Implemented Interfaces:
InstanceSetI

public class HSRInstanceSet
extends java.lang.Object
implements InstanceSetI

Representation of HSRInstanceSet


Nested Class Summary
static class HSRInstanceSet.singleton
          Field Class for HSRInstanceSet.singleton
 
Constructor Summary
HSRInstanceSet(HSRInstance singleton)
          Construct a(n) HSRInstanceSet Instance
 
Method Summary
 edu.neu.ccs.demeterf.lib.Option<java.lang.String> belongsTo(InstanceI instance)
          Is this a valid/well-formed Instance of the given instance?
 java.lang.String display()
          DGP method from Class Display
 boolean equals(java.lang.Object o)
          Is the given object Equal to this HSRInstanceSet?
 HSRInstance getSingleton()
          Getter for field HSRInstanceSet.singleton
 int hashCode()
          DGP method from Class HashCode
static HSRInstanceSet parse(java.io.InputStream inpt)
          Parse an instance of HSRInstanceSet from the given Stream
static HSRInstanceSet parse(java.io.Reader inpt)
          Parse an instance of HSRInstanceSet from the given Reader
static HSRInstanceSet parse(java.lang.String inpt)
          Parse an instance of HSRInstanceSet from the given String
 java.lang.String print()
          DGP method from Class Print
 void setSingleton(HSRInstance _singleton)
          Setter for field HSRInstanceSet.singleton
 java.lang.String toStr()
          DGP method from Class ToStr
 java.lang.String toString()
          DGP method from Class PrintToString
 edu.neu.ccs.demeterf.lib.Option<java.lang.String> valid(Config config)
          Is this a valid/well-formed InstanceSet?
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HSRInstanceSet

public HSRInstanceSet(HSRInstance singleton)
Construct a(n) HSRInstanceSet Instance

Method Detail

equals

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

Overrides:
equals in class java.lang.Object

parse

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

Throws:
hsr.ParseException

parse

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

Throws:
hsr.ParseException

parse

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

Throws:
hsr.ParseException

belongsTo

public edu.neu.ccs.demeterf.lib.Option<java.lang.String> belongsTo(InstanceI instance)
Is this a valid/well-formed Instance of the given instance?

Specified by:
belongsTo in interface InstanceSetI

valid

public edu.neu.ccs.demeterf.lib.Option<java.lang.String> valid(Config config)
Is this a valid/well-formed InstanceSet?

Specified by:
valid in interface InstanceSetI

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

setSingleton

public void setSingleton(HSRInstance _singleton)
Setter for field HSRInstanceSet.singleton


getSingleton

public HSRInstance getSingleton()
Getter for field HSRInstanceSet.singleton