org.gwe.p2elv2.model
Class PVariable
java.lang.Object
org.gwe.p2elv2.model.PVariable
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- PVariableArray
public class PVariable
- extends java.lang.Object
- implements java.io.Serializable
- Since:
- Jul 30, 2008
- Author:
- Marco Ruiz
- See Also:
- Serialized Form
Constructor Summary |
PVariable()
|
PVariable(java.lang.String name,
java.lang.String constantValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SYS_VAR_PREFIX
public static final java.lang.String SYS_VAR_PREFIX
- See Also:
- Constant Field Values
RUN_VAR_PREFIX
public static final java.lang.String RUN_VAR_PREFIX
- See Also:
- Constant Field Values
name
protected java.lang.String name
PVariable
public PVariable()
PVariable
public PVariable(java.lang.String name,
java.lang.String constantValue)
setNameParts
public void setNameParts(java.lang.String... nameParts)
setNameParts
public void setNameParts(java.util.List<java.lang.String> nameParts)
getName
public java.lang.String getName()
getDimension
public java.lang.String getDimension()
getFunctionInvocation
public PFunctionInvocation getFunctionInvocation()
setFunctionInvocation
public void setFunctionInvocation(PFunctionInvocation functionInvocation)
setConstantValue
public void setConstantValue(java.lang.String constantValue)
isSingleValue
public boolean isSingleValue()
throws P2ELFunctionNotSupported
- Throws:
P2ELFunctionNotSupported
isRuntime
public boolean isRuntime()
throws P2ELFunctionNotSupported
- Throws:
P2ELFunctionNotSupported
isVarConstSingleValue
public boolean isVarConstSingleValue()
isPermutable
public boolean isPermutable()
generateValueSpace
public PVarValueSpace generateValueSpace(PPermutation permKey,
PStatementContext ctx)
throws P2ELDependentVariableNotResolvedException,
P2ELFunctionNotSupported
- Throws:
P2ELDependentVariableNotResolvedException
P2ELFunctionNotSupported
getFullName
public java.lang.String getFullName()
getVarReference
public java.lang.String getVarReference()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
isVarResolvedBy
public boolean isVarResolvedBy(java.util.List<PVariable> varsResolved,
java.lang.String... varsResolvedGroups)
getDependencyOrder
public int getDependencyOrder(java.util.List<PVariable> varsSortedByDependencyLevel)
isDependentOnSystemVars
public boolean isDependentOnSystemVars()
isDependentOnRuntimeVars
public boolean isDependentOnRuntimeVars()
getVarDependencyNames
public java.util.Set<java.lang.String> getVarDependencyNames()
Copyright © 2007-2009. All Rights Reserved.