public class ConceptFromRecordField extends ConceptFunction
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
_fieldLabel
The field label name for which this function should return a concept
value from a RecordConcept.
|
_argumentDomainOntologies, _name, _numArgsIsFixed, _outputRangeOntology
Constructor and Description |
---|
ConceptFromRecordField(java.lang.String name,
java.lang.String fieldLabel,
Ontology ontology)
Create a new ConceptFromRecordField concept function with
the specified field label.
|
Modifier and Type | Method and Description |
---|---|
protected Concept |
_evaluateFunction(java.util.List<Concept> argValues)
Return the function output from the given input arguments.
|
evaluateFunction, getArgumentDomainOntologies, getName, getNumberOfArguments, getOutputRangeOntology, isMonotonic, isNumberOfArgumentsFixed, toString
java.lang.String _fieldLabel
public ConceptFromRecordField(java.lang.String name, java.lang.String fieldLabel, Ontology ontology) throws IllegalActionException
name
- The name of the concept function.fieldLabel
- The field label from which to get a concept value from
the input RecordConcept.ontology
- The domain and range ontology for this concept function.IllegalActionException
- Thrown if the concept function cannot be created.protected Concept _evaluateFunction(java.util.List<Concept> argValues) throws IllegalActionException
_evaluateFunction
in class ConceptFunction
argValues
- The Concept input arguments which should be a single RecordConcept.IllegalActionException
- Thrown if there is a problem creating
the output Concept or if the input is not a RecordConcept.