public class VarBinding extends Annotated implements Comparable<VarBinding>
TEST_CASE_PROPERTIES
Constructor and Description |
---|
VarBinding()
Creates a new VarBinding object.
|
VarBinding(String varName,
Object valueName)
Creates a new VarBinding object.
|
VarBinding(String varName,
String varType,
Object valueName)
Creates a new VarBinding object.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(VarBinding other) |
static VarBinding |
create(IVarDef varDef,
VarValueDef valueDef)
Creates a new VarBinding object.
|
static VarBinding |
create(VarBindingDef def)
Creates a new VarBinding object.
|
boolean |
equals(Object object) |
Object |
getSource()
Returns the name of the value definition for this binding.
|
String |
getType()
Returns the type identifier for this variable.
|
Object |
getValue()
Returns the value name for this binding.
|
String |
getVar()
Returns the variable name for this binding.
|
int |
hashCode() |
boolean |
isValueNA()
Returns true if this binding indicates a "not applicable" condition for this variable.
|
boolean |
isValueValid()
Returns if this variable is bound to a valid value.
|
void |
setSource(Object source)
Changes the name of the value definition for this binding.
|
void |
setType(String type)
Changes the type identifier for this variable.
|
void |
setValue(Object valueName)
Changes the value name for this binding.
|
void |
setValueValid(boolean valid)
Changes if this variable is bound to a valid value.
|
void |
setVar(String varName)
Changes the variable name for this binding.
|
String |
toString() |
addAnnotations, getAnnotation, getAnnotationCount, getAnnotationList, getAnnotations, setAnnotation, setAnnotationList
public static VarBinding create(IVarDef varDef, VarValueDef valueDef)
public static VarBinding create(VarBindingDef def)
public void setVar(String varName)
public String getVar()
public void setValue(Object valueName)
public Object getValue()
public void setSource(Object source)
public Object getSource()
public void setType(String type)
public String getType()
public void setValueValid(boolean valid)
public boolean isValueValid()
public boolean isValueNA()
public int compareTo(VarBinding other)
compareTo
in interface Comparable<VarBinding>
Copyright © 2024 The Cornutum Project. All rights reserved.