org.gwe.p2elv2.model
Class PVariableArray

java.lang.Object
  extended by org.gwe.p2elv2.model.PVariable
      extended by org.gwe.p2elv2.model.PVariableArray
All Implemented Interfaces:
java.io.Serializable

public class PVariableArray
extends PVariable

Since:
Aug 14, 2008
Author:
Marco Ruiz
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.gwe.p2elv2.model.PVariable
name, RUN_VAR_PREFIX, SYS_VAR_PREFIX
 
Constructor Summary
PVariableArray(java.lang.String name)
           
 
Method Summary
 void addVar(PVariable var)
           
 boolean equals(java.lang.Object obj)
           
 PVarValueSpace generateValueSpace(PPermutation permKey, PStatementContext ctx)
           
 int getDependencyOrder(java.util.List<PVariable> varsSortedByDependencyLevel)
           
 java.util.Set<java.lang.String> getVarDependencyNames()
           
 java.util.List<PVariable> getVars()
           
 int hashCode()
           
 boolean isRuntime()
           
 boolean isSingleValue()
           
 java.lang.String toString()
           
 
Methods inherited from class org.gwe.p2elv2.model.PVariable
getDimension, getFullName, getFunctionInvocation, getName, getVarReference, isDependentOnRuntimeVars, isDependentOnSystemVars, isPermutable, isVarConstSingleValue, isVarResolvedBy, setConstantValue, setFunctionInvocation, setNameParts, setNameParts
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PVariableArray

public PVariableArray(java.lang.String name)
Method Detail

getVars

public java.util.List<PVariable> getVars()

addVar

public void addVar(PVariable var)

generateValueSpace

public PVarValueSpace generateValueSpace(PPermutation permKey,
                                         PStatementContext ctx)
                                  throws P2ELDependentVariableNotResolvedException,
                                         P2ELFunctionNotSupported
Overrides:
generateValueSpace in class PVariable
Throws:
P2ELDependentVariableNotResolvedException
P2ELFunctionNotSupported

getDependencyOrder

public int getDependencyOrder(java.util.List<PVariable> varsSortedByDependencyLevel)
Overrides:
getDependencyOrder in class PVariable

getVarDependencyNames

public java.util.Set<java.lang.String> getVarDependencyNames()
Overrides:
getVarDependencyNames in class PVariable

isSingleValue

public boolean isSingleValue()
                      throws P2ELFunctionNotSupported
Overrides:
isSingleValue in class PVariable
Throws:
P2ELFunctionNotSupported

isRuntime

public boolean isRuntime()
                  throws P2ELFunctionNotSupported
Overrides:
isRuntime in class PVariable
Throws:
P2ELFunctionNotSupported

toString

public java.lang.String toString()
Overrides:
toString in class PVariable

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2007-2009. All Rights Reserved.