public class TaskValues extends Object
| Modifier and Type | Method and Description |
|---|---|
TaskValues |
copy()
This method is used to return the copy of the TaskValues Object.
|
ErtUsage |
getErtUsage(String validityKeyword)
Returns the
ErtUsage value for a given validity keyword
The method returns ErtUsage.NONE if the validity keyword does not exist. |
int |
getInheritFromParent()
Returns an integer which describes how variable values are inherited from its parent.
|
ErtUsage |
getParentErtUsage(String validityKeyword)
Returns the
ErtUsage value of the parent, for a given validity keyword
The method returns ErtUsage.NONE if the validity keyword does not exist. |
String |
getParentValue(String validityKeyword)
Returns the parent value for a given validity keyword
The method returns
null if the validity keyword does not exist. |
String |
getValue(String validityKeyword)
Returns the value for a given validity keyword
The method returns
null if the validity keyword does not exist. |
Iterator<String> |
parentValueKeyIterator()
Returns an iterator over parent validity keywords.
|
int |
parentValueSize() |
Iterator<PromptSetDefinition> |
promptSetIterator()
Returns an iterator over
PromptSetDefinition. |
int |
promptSetSize() |
boolean |
replaceValue(String kw,
String value)
Replaces an existing value.
|
boolean |
replaceValueOnlyIfChanged(String kw,
String value)
Deprecated.
|
Iterator<String> |
valueKeyIterator()
Returns an iterator over validity keywords.
|
int |
valueSize() |
public int getInheritFromParent()
public Iterator<String> valueKeyIterator()
java.lang.Stringpublic Iterator<String> parentValueKeyIterator()
java.lang.Stringpublic boolean replaceValue(String kw, String value)
kw - Keyvalue - Value@Deprecated public boolean replaceValueOnlyIfChanged(String kw, String value)
kw - Keyvalue - Valuepublic int valueSize()
public int parentValueSize()
public int promptSetSize()
public Iterator<PromptSetDefinition> promptSetIterator()
PromptSetDefinition.public String getValue(String validityKeyword)
null if the validity keyword does not exist.validityKeyword - Keypublic String getParentValue(String validityKeyword)
null if the validity keyword does not exist.validityKeyword - Keypublic ErtUsage getErtUsage(String validityKeyword)
ErtUsage value for a given validity keyword
The method returns ErtUsage.NONE if the validity keyword does not exist.validityKeyword - KeyErtUsage or ErtUsage.NONE if the key does not existpublic ErtUsage getParentErtUsage(String validityKeyword)
ErtUsage value of the parent, for a given validity keyword
The method returns ErtUsage.NONE if the validity keyword does not exist.validityKeyword - KeyErtUsage or ErtUsage.NONE if the key does not existpublic TaskValues copy()
Copyright © 2019. All rights reserved.