Michael Baessler wrote:
Thilo Goetz wrote:
CAS.declareFsVariable(String name, Type type)
CAS.isFsVariable(String name):boolean
CAS.getFsVariableType(String name):Type
I would like to have an additional method like
CAS.getFsVariableForType(Type type):FS
so that an analysis component do not have to know the variable name, it
only have to know that for a certain type a variable exist that contains
the
FS of interest and can retrieve it.
-- Michael
I see. However, since there can be more than one variable for each
type, it would have to be something like this:
CAS.getFsVariablesForType(Type type):String[]
which returns an array of variable names. If there happens to be
exactly one variable declared for a given type, this would be a way of
retrieving that variable.
--Thilo