Class BasicResult
java.lang.Object
com.inductiveautomation.ignition.common.browsing.BasicResult
- All Implemented Interfaces:
Result,Serializable
- Direct Known Subclasses:
TagResult
A basic implementation of Result that can be used for browsing operations.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBasicResult(Result copy) BasicResult(QualifiedPath path, boolean hasChildren) -
Method Summary
Modifier and TypeMethodDescriptionReturns the friendlier "display path" for this result.getPath()Returns the qualified path of this result.getType()If the type is specifically defined, it is returned.booleanIndicates that this result object is itself browsable.voidsetDisplayPath(Path displayPath) voidsetHasChildren(boolean hasChildren) voidsetPath(QualifiedPath path) voidtoString()
-
Constructor Details
-
BasicResult
public BasicResult() -
BasicResult
-
BasicResult
-
-
Method Details
-
getDisplayPath
Description copied from interface:ResultReturns the friendlier "display path" for this result. May be null, and not necessarily unique.- Specified by:
getDisplayPathin interfaceResult
-
setDisplayPath
-
getPath
Description copied from interface:ResultReturns the qualified path of this result. -
setPath
-
getType
If the type is specifically defined, it is returned. Otherwise, the last path component id is returned. -
setType
-
hasChildren
public boolean hasChildren()Description copied from interface:ResultIndicates that this result object is itself browsable.- Specified by:
hasChildrenin interfaceResult
-
setHasChildren
public void setHasChildren(boolean hasChildren) -
toString
-