Class FilterQuestion
java.lang.Object
de.foellix.aql.datastructure.query.Question
de.foellix.aql.datastructure.query.OperatorQuestion
de.foellix.aql.datastructure.query.FilterQuestion
- All Implemented Interfaces:
IStringOrQuestion,Serializable
- See Also:
-
Field Summary
Fields inherited from class de.foellix.aql.datastructure.query.Question
CHILDREN_EMPTY, ENDING_SYMBOL_AQL, ENDING_SYMBOL_FILE, ENDING_SYMBOL_RAW, endingSymbol, QUESTION_TYPE_ARGUMENTS, QUESTION_TYPE_FLOWS, QUESTION_TYPE_INTENTFILTER, QUESTION_TYPE_INTENTS, QUESTION_TYPE_INTENTSINKS, QUESTION_TYPE_INTENTSOURCES, QUESTION_TYPE_PERMISSIONS, QUESTION_TYPE_SINKS, QUESTION_TYPE_SLICE, QUESTION_TYPE_SOURCES, QUESTION_TYPE_UNKNOWN, REFERENCES_EMPTY, withBrackets -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllReferences(boolean recursively) getChildren(boolean recursively) getChildren(boolean recursively, boolean noFilterChilds) booleanisComplete(boolean takeUnansweredIntoAccount) Returns if this question is complete.booleanreplaceChild(Question childToReplace, IStringOrQuestion replacement) voidsetFilterPair(StringOrQuestionPair filterPair) voidsetFilterReference(QuestionReference filterReference) voidsetFilterSubjectOfInterest(String filterSubjectOfInterest) voidsetQuestion(Question question) toString(int level) Methods inherited from class de.foellix.aql.datastructure.query.OperatorQuestion
getOperator, getQuestions, setOperator, setQuestionsMethods inherited from class de.foellix.aql.datastructure.query.Question
copy, getAllApps, getAllApps, getAllApps, getAllReferences, getChildren, getEndingSymbol, getIndent, getLeafs, getParent, hashCode, isWithBrackets, setEndingSymbol, setParent, setWithBrackets, toString, toStringInAnswerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.foellix.aql.datastructure.query.IStringOrQuestion
toStringInAnswer
-
Constructor Details
-
FilterQuestion
public FilterQuestion()
-
-
Method Details
-
getQuestion
-
getFilterPair
-
getFilterReference
-
getFilterSubjectOfInterest
-
setQuestion
-
setFilterPair
-
setFilterReference
-
setFilterSubjectOfInterest
-
toString
- Overrides:
toStringin classOperatorQuestion
-
getChildren
- Overrides:
getChildrenin classOperatorQuestion
-
getChildren
-
replaceChild
- Overrides:
replaceChildin classOperatorQuestion
-
getAllReferences
- Overrides:
getAllReferencesin classOperatorQuestion
-
isComplete
public boolean isComplete(boolean takeUnansweredIntoAccount) Description copied from interface:IStringOrQuestionReturns if this question is complete.- Specified by:
isCompletein interfaceIStringOrQuestion- Overrides:
isCompletein classOperatorQuestion- Parameters:
takeUnansweredIntoAccount- true: Incomplete if at least one unanswered question is contained. false: Ignores unanswered parts.- Returns:
- true if question is complete
-