org.problets.domain.model.variable.aggregate
Class AggregateVarModel

java.lang.Object
  extended by org.problets.domain.model.DomainModel
      extended by org.problets.domain.model.variable.AbstractVarModel
          extended by org.problets.domain.model.variable.aggregate.AggregateVarModel
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
ArrayModel

public abstract class AggregateVarModel
extends AbstractVarModel

Class: AggregateVarModel Purpose: This class serves as the base class for aggregate variables including ArrayModel and StructureVarModel


Field Summary
 
Fields inherited from class org.problets.domain.model.DomainModel
BOOLEAN, BREAKPOINT, CHARACTER, DOUBLE_PRECISION_REAL, ERROR_TYPE, EVAL_STATUS, expACTION, expASSIGNMENT, expAUTO_DEALLOCATION, expCALL, expCONDITION, expDECLARATION, expDEREFERENCING, expDYNAMIC_ALLOCATION, expDYNAMIC_ALLOCATION_INITIALIZATION, expDYNAMIC_DEALLOCATION, expELSE_CLAUSE, expERROR, expEXECUTION, expIF_CLAUSE, expINITIALIZATION, expINPUT, expPARAMETER_PASSING, expPRINT, expQUESTIONABLE, expREFERENCING, expRETURN, expRUNTIME_ERROR, expSEMANTIC_ERROR, expSYNTAX_ERROR, expUPDATE, IDENTITY, MAX_OBJECT_IDENTITY, MIN_OBJECT_IDENTITY, QUADRUPLE_PRECISION_REAL, RUNTIME_ERROR, SEMANTIC_ERROR, SIGNED_INTEGER, SIGNED_LONG, SIGNED_SHORT, SINGLE_PRECISION_REAL, SYNTAX_ERROR, UNDEFINED_TYPE, UNSIGNED_INTEGER, UNSIGNED_LONG, UNSIGNED_SHORT, WARNING
 
Constructor Summary
AggregateVarModel(java.lang.String inputType)
          Creates an aggregate variable
AggregateVarModel(java.lang.String inName, java.lang.String inputType)
          Creates an aggregate variable
 
Method Summary
 java.lang.Object clone()
          Clones the aggregate variable
static void main(java.lang.String[] args)
          For debugging
 
Methods inherited from class org.problets.domain.model.variable.AbstractVarModel
explainObject, explainProcess, getAllocated, getAssigned, getCode, getDeclared, getMetaDataType, getName, getPossibleErrors, getType, getValue, getValueDifference, print, resetAllocated, resetDeclared, resetFlags, setAllocated, setDeclared, setValue
 
Methods inherited from class org.problets.domain.model.DomainModel
getId, getIdName, grade
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregateVarModel

public AggregateVarModel(java.lang.String inputType)
Creates an aggregate variable

Parameters:
inputType - the data type of the aggregate data

AggregateVarModel

public AggregateVarModel(java.lang.String inName,
                         java.lang.String inputType)
Creates an aggregate variable

Parameters:
inputType - The data type of the variable
Method Detail

clone

public java.lang.Object clone()
Clones the aggregate variable

Overrides:
clone in class AbstractVarModel
Returns:
The cloned variable

main

public static void main(java.lang.String[] args)
For debugging

Parameters:
args - args