public class VarValueDef extends Conditional
input variable
.Modifier and Type | Class and Description |
---|---|
static class |
VarValueDef.Type
Defines the type of an input value.
|
TEST_CASE_PROPERTIES
Constructor and Description |
---|
VarValueDef()
Creates a new VarValueDef object.
|
VarValueDef(Object name)
Creates a new VarValueDef object.
|
VarValueDef(Object name,
VarValueDef.Type type)
Creates a new VarValueDef object.
|
Modifier and Type | Method and Description |
---|---|
VarValueDef |
addProperties(Collection<String> properties)
Adds to the set of test case properties contributed by this value.
|
VarValueDef |
addProperties(String... properties)
Adds to the set of test case properties contributed by this value.
|
boolean |
equals(Object object) |
ValueDomain<?> |
getDomain()
Returns the domain for this input value.
|
Object |
getExternalName()
Returns the external form of the name of this value.
|
Object |
getName()
Returns the name of this value.
|
Iterable<String> |
getProperties()
Returns the set of test case properties contributed by this value.
|
Schema |
getSchema()
Returns the schema for this input value.
|
VarValueDef.Type |
getType()
Returns the type of this value.
|
int |
hashCode() |
boolean |
hasProperties()
Returns if this value has any properties.
|
boolean |
hasProperty(String property)
Returns if this value has the given property.
|
boolean |
isNA()
Returns true if this value indicates a "not applicable" condition for an optional variable.
|
boolean |
isValid()
Returns if this value is a valid member of the variable input domain.
|
VarValueDef |
removeProperties(Collection<String> properties)
Removes from the set of test case properties contributed by this value.
|
VarValueDef |
removeProperties(String... properties)
Removes from the set of test case properties contributed by this value.
|
void |
setDomain(ValueDomain<?> domain)
Changes the domain for this input value.
|
void |
setName(Object name)
Changes the name of this value.
|
void |
setProperties(Collection<String> properties)
Changes the set of test case properties contributed by this value.
|
void |
setSchema(Schema schema)
Changes the schema for this input value.
|
void |
setType(VarValueDef.Type type)
Changes the type of this value.
|
String |
toString() |
getCondition, getEffectiveCondition, setCondition
addAnnotations, getAnnotation, getAnnotationCount, getAnnotationList, getAnnotations, setAnnotation, setAnnotationList
public VarValueDef()
public VarValueDef(Object name)
public VarValueDef(Object name, VarValueDef.Type type)
public void setName(Object name)
public Object getName()
public Object getExternalName()
public void setType(VarValueDef.Type type)
public VarValueDef.Type getType()
public boolean isValid()
public boolean hasProperty(String property)
public boolean hasProperties()
public void setProperties(Collection<String> properties)
public Iterable<String> getProperties()
public VarValueDef addProperties(Collection<String> properties)
public VarValueDef addProperties(String... properties)
public VarValueDef removeProperties(Collection<String> properties)
public VarValueDef removeProperties(String... properties)
public void setSchema(Schema schema)
public Schema getSchema()
public void setDomain(ValueDomain<?> domain)
public ValueDomain<?> getDomain()
public boolean isNA()
Copyright © 2024 The Cornutum Project. All rights reserved.