edu.neu.ccs.demeterf.demfgen.classes
Class IntfcDef

java.lang.Object
  extended by edu.neu.ccs.demeterf.demfgen.classes.TypeDef
      extended by edu.neu.ccs.demeterf.demfgen.classes.IntfcDef

public class IntfcDef
extends TypeDef

Representation of IntfcDef


Nested Class Summary
static class IntfcDef.gen
          Field Class for IntfcDef.gen
static class IntfcDef.name
          Field Class for IntfcDef.name
static class IntfcDef.params
          Field Class for IntfcDef.params
static class IntfcDef.subtypes
          Field Class for IntfcDef.subtypes
 
Constructor Summary
IntfcDef(DoGen gen, ident name, TypeDefParams params, PESubtypeList subtypes)
          Construct a(n) IntfcDef Instance
 
Method Summary
 TypeDef addFieldsAndSyntax(List<FieldOrSyntax> nfs)
           
 boolean doParse()
           
 boolean equals(java.lang.Object o)
          Is the given object Equal to this IntfcDef?
 DoGen getGen()
          Getter for field IntfcDef.gen
 ident getName()
          Getter for field IntfcDef.name
 TypeDefParams getParams()
          Getter for field IntfcDef.params
 PESubtypeList getSubtypes()
          Getter for field IntfcDef.subtypes
 boolean isIntfc()
           
 boolean isProd()
           
 java.lang.String name()
           
 TypeDefParams params()
           
static IntfcDef parse(java.io.InputStream inpt)
          Parse an instance of IntfcDef from the given Stream
static IntfcDef parse(java.io.Reader inpt)
          Parse an instance of IntfcDef from the given Reader
static IntfcDef parse(java.lang.String inpt)
          Parse an instance of IntfcDef from the given String
 java.lang.String print()
          DGP method from Class Print
 
Methods inherited from class edu.neu.ccs.demeterf.demfgen.classes.TypeDef
isDef
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntfcDef

public IntfcDef(DoGen gen,
                ident name,
                TypeDefParams params,
                PESubtypeList subtypes)
Construct a(n) IntfcDef Instance

Method Detail

equals

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

Overrides:
equals in class java.lang.Object

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

isProd

public boolean isProd()
Specified by:
isProd in class TypeDef

isIntfc

public boolean isIntfc()
Overrides:
isIntfc in class TypeDef

name

public java.lang.String name()
Specified by:
name in class TypeDef

params

public TypeDefParams params()
Specified by:
params in class TypeDef

doParse

public boolean doParse()
Overrides:
doParse in class TypeDef

addFieldsAndSyntax

public TypeDef addFieldsAndSyntax(List<FieldOrSyntax> nfs)
Specified by:
addFieldsAndSyntax in class TypeDef

print

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

Overrides:
print in class TypeDef

getSubtypes

public PESubtypeList getSubtypes()
Getter for field IntfcDef.subtypes


getParams

public TypeDefParams getParams()
Getter for field IntfcDef.params


getName

public ident getName()
Getter for field IntfcDef.name


getGen

public DoGen getGen()
Getter for field IntfcDef.gen