public class IfElseStruct extends Object
Modifier and Type | Field and Description |
---|---|
private PlaceholderStruct |
condAlias |
private String |
condOper |
private String |
condType |
private String |
condValue |
private boolean |
isElse |
private boolean |
isUimaTypeAndFeatSet |
private String |
ontoResUri |
private String |
uimaTypeAndFeat |
Constructor and Description |
---|
IfElseStruct(String condType,
String value,
boolean isValueAUimaTypeAndFeat,
PlaceholderStruct condAlias,
String condOper,
String condValue) |
Modifier and Type | Method and Description |
---|---|
PlaceholderStruct |
getCondAlias()
Get the Alias of the condition
|
String |
getCondOper()
Get the boolean operator of the condition
|
String |
getCondType()
Get the type of the condition
|
String |
getCondValue()
Get the value (uimaTypeAndFeat or URI) of the condition
|
String |
getOntoResUri()
Get the uri of the resource of the ontology.
|
String |
getUimaTypeAndFeat()
Get the uimaTypeTypeAndFeat.
|
boolean |
isElse()
Check if the type is "Else"
|
boolean |
isUimaTypeAndFeatSet()
Check if the value is a uimaTypeAndFeat
|
private String condType
private String uimaTypeAndFeat
private boolean isUimaTypeAndFeatSet
private String ontoResUri
private PlaceholderStruct condAlias
private String condOper
private String condValue
private boolean isElse
public IfElseStruct(String condType, String value, boolean isValueAUimaTypeAndFeat, PlaceholderStruct condAlias, String condOper, String condValue)
condType
- the conditional type ("if", "else if" or "else")value
- the uimaTypeAndFeat or the uri of resource in the ontologyisValueAUimaTypeAndFeat
- true if the value is a uimaTypeAndFeat, false for a uri of a resource of an ontologycondAlias
- the alias of the condition or null for the "else" typecondOper
- the operator of the condition or null for the "else" typecondValue
- the value of the condition or null for the "else" typepublic String getCondType()
public boolean isUimaTypeAndFeatSet()
public String getUimaTypeAndFeat()
isUimaTypeAndFeatSet()
returns truepublic String getOntoResUri()
isUimaTypeAndFeatSet()
returns falsepublic PlaceholderStruct getCondAlias()
public String getCondOper()
public boolean isElse()
public String getCondValue()
Copyright © 2022 ART Group, University of Rome, Tor Vergata. All rights reserved.