|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgate.creole.ParameterList
public class ParameterList
Models resource parameters lists as described in their creole.xml metadata. Parameters are stored as lists of disjunctions (OR'd sets in the metadata).
Field Summary | |
---|---|
protected boolean |
fullyDefaulted
Status of the last run of getDefaults(List). |
protected List |
initimeParameters
The initialisation time parameters |
protected List |
runtimeParameters
The runtime parameters |
Constructor Summary | |
---|---|
ParameterList()
|
Method Summary | |
---|---|
boolean |
add(List disjunction)
Add a parameter disjunction. |
boolean |
addAll(List c)
Add all the members of a parameter list (as individual disjunctions) |
FeatureMap |
getDefaults(List parameters)
Get default parameter value set. |
FeatureMap |
getInitimeDefaults()
Get default initime parameter value set. |
List |
getInitimeParameters()
Get the list of initialisation-time parameters (as a list of parameter disjunctions). |
FeatureMap |
getRuntimeDefaults()
Get default runtime parameter value set. |
List |
getRuntimeParameters()
Get the list of runtime parameters (as a list of parameter disjunctions). |
boolean |
isFullyDefaulted()
Get the status of the last run of getDefaults(List). |
String |
toString()
String representation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected List runtimeParameters
protected List initimeParameters
protected boolean fullyDefaulted
Constructor Detail |
---|
public ParameterList()
Method Detail |
---|
public List getRuntimeParameters()
public List getInitimeParameters()
public boolean add(List disjunction)
NoSuchElementException
- disjunction has no more elements.public boolean addAll(List c)
public FeatureMap getRuntimeDefaults() throws ParameterException
ParameterException
getDefaults(List)
public FeatureMap getInitimeDefaults() throws ParameterException
ParameterException
getDefaults(List)
public FeatureMap getDefaults(List parameters) throws ParameterException
ParameterException
isFullyDefaulted()
public boolean isFullyDefaulted()
getDefaults(List)
public String toString()
toString
in class Object
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |