|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.versionone.apiclient.GroupFilterTerm
public abstract class GroupFilterTerm
Base class for grouping filter terms (i.e and, or)
| Constructor Summary | |
|---|---|
protected |
GroupFilterTerm(IFilterTerm[] terms)
|
|
GroupFilterTerm(IFilterTerm term1,
IFilterTerm term2)
Create a group term from two filter terms |
| Method Summary | |
|---|---|
GroupFilterTerm |
And(IFilterTerm[] terms)
Create an AndFilterTerm from the array of terms |
java.lang.String |
getToken()
get token for this grouping |
boolean |
hasTerm()
|
GroupFilterTerm |
Or(IFilterTerm[] terms)
create an OrFilterTerm from the array of terms |
FilterTerm |
Term(IAttributeDefinition def)
Create a filter term from the attribute definition |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected GroupFilterTerm(IFilterTerm[] terms)
public GroupFilterTerm(IFilterTerm term1,
IFilterTerm term2)
term1 - term2 - | Method Detail |
|---|
public boolean hasTerm()
public java.lang.String getToken()
throws APIException
getToken in interface IFilterTermAPIException - if term has incorrect statementpublic GroupFilterTerm And(IFilterTerm[] terms)
terms -
public GroupFilterTerm Or(IFilterTerm[] terms)
terms -
public FilterTerm Term(IAttributeDefinition def)
def -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||