Modifier and Type | Field and Description |
---|---|
static String |
COMPOSITE_TYPE_EXISTS |
static String |
COMPOSITE_TYPE_NOT |
static String |
COMPOSITE_TYPE_OR |
Constructor and Description |
---|
CompositeFactPattern() |
CompositeFactPattern(String type)
This type should be from the contants in this class of course.
|
Modifier and Type | Method and Description |
---|---|
void |
addFactPattern(IFactPattern pat) |
void |
addFactPatterns(IFactPattern[] patterns) |
void |
clearFactPatterns() |
boolean |
equals(Object o) |
IFactPattern[] |
getPatterns() |
String |
getType() |
int |
hashCode() |
boolean |
removeFactPattern(int index)
Remove a FactPattern at the provided index.
|
void |
setType(String type) |
public static final String COMPOSITE_TYPE_NOT
public static final String COMPOSITE_TYPE_EXISTS
public static final String COMPOSITE_TYPE_OR
public CompositeFactPattern(String type)
public CompositeFactPattern()
public void clearFactPatterns()
public void addFactPatterns(IFactPattern[] patterns)
public void addFactPattern(IFactPattern pat)
public IFactPattern[] getPatterns()
public boolean removeFactPattern(int index)
index
- public String getType()
public void setType(String type)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.