public class Rule extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Rule[] |
choose |
protected String |
condition |
protected ConditionType |
conditionType |
protected Rule |
otherwise |
protected ConceptImpl |
target |
| Constructor and Description |
|---|
Rule(Rule[] choose,
Rule otherwise) |
Rule(String condition,
ConditionType type,
ConceptImpl target,
Rule otherwise) |
| Modifier and Type | Method and Description |
|---|---|
static Rule |
forCondition(org.openrdf.model.Literal condition,
ConceptImpl target,
Rule otherwise) |
ConceptImpl |
getTarget() |
String |
toString() |
protected String condition
protected ConditionType conditionType
protected Rule[] choose
protected ConceptImpl target
protected Rule otherwise
public Rule(String condition, ConditionType type, ConceptImpl target, Rule otherwise)
public static Rule forCondition(org.openrdf.model.Literal condition, ConceptImpl target, Rule otherwise) throws SKOSException
SKOSExceptionpublic ConceptImpl getTarget()
Copyright © 2013–2016 R.W.Majeed. All rights reserved.