public class AntecedentType
extends java.lang.Object
Java class for antecedentType complex type.
<complexType name="antecedentType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="clause" type="{http://www.ieee1855.org}clauseType" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType>
Constructor and Description |
---|
AntecedentType()
Default constructor
|
AntecedentType(java.util.List<ClauseType> clauses)
Constructor using a list of
ClauseType |
Modifier and Type | Method and Description |
---|---|
void |
addClause(ClauseType c)
Adds a
ClauseType to the list of ClauseType |
void |
addClause(KnowledgeBaseVariable variable,
FuzzyTerm term)
Adds a ClauseType with a
KnowledgeBaseVariable and a FuzzyTerm |
void |
addClause(KnowledgeBaseVariable variable,
java.lang.String term)
Adds a ClauseType with a
KnowledgeBaseVariable and a FuzzyTerm |
java.util.List<ClauseType> |
getClauses()
Gets the value of the clause property.
|
public AntecedentType()
public AntecedentType(java.util.List<ClauseType> clauses)
ClauseType
clauses
- list of ClauseType
public java.util.List<ClauseType> getClauses()
ClauseType
public void addClause(ClauseType c)
ClauseType
to the list of ClauseType
c
- the ClauseType
public void addClause(KnowledgeBaseVariable variable, FuzzyTerm term)
KnowledgeBaseVariable
and a FuzzyTerm
variable
- the KnowledgeBaseVariable
term
- the FuzzyTerm
public void addClause(KnowledgeBaseVariable variable, java.lang.String term)
KnowledgeBaseVariable
and a FuzzyTerm
variable
- the KnowledgeBaseVariable
term
- the name of the FuzzyTerm