Class QuestionReference
java.lang.Object
de.foellix.aql.datastructure.query.QuestionReference
- All Implemented Interfaces:
IStringOrQuestion,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()getApp()getChildren(boolean recursively) intbooleanisComplete(boolean takeUnansweredIntoAccount) Returns if this question is complete.voidsetApp(IStringOrQuestion app) voidsetClassname(IStringOrQuestion classname) voidsetLineNumber(int lineNumber) voidsetMethod(IStringOrQuestion method) voidsetStatement(IStringOrQuestion statement) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.foellix.aql.datastructure.query.IStringOrQuestion
toStringInAnswer
-
Constructor Details
-
QuestionReference
public QuestionReference()
-
-
Method Details
-
copy
-
getChildren
-
isComplete
public boolean isComplete(boolean takeUnansweredIntoAccount) Description copied from interface:IStringOrQuestionReturns if this question is complete.- Specified by:
isCompletein interfaceIStringOrQuestion- Parameters:
takeUnansweredIntoAccount- true: Incomplete if at least one unanswered question is contained. false: Ignores unanswered parts.- Returns:
- true if question is complete
-
toReference
-
toStringInAnswer
- Specified by:
toStringInAnswerin interfaceIStringOrQuestion
-
toString
- Specified by:
toStringin interfaceIStringOrQuestion- Overrides:
toStringin classObject
-
getStatement
-
getMethod
-
getClassname
-
getApp
-
getLineNumber
public int getLineNumber() -
getPreprocessorKeywords
-
getExecutedPreprocessorKeywords
-
setStatement
-
setMethod
-
setClassname
-
setApp
-
setLineNumber
public void setLineNumber(int lineNumber)
-