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.boolean
Indicates that this result object is itself browsable.void
setDisplayPath
(Path displayPath) void
setHasChildren
(boolean hasChildren) void
setPath
(QualifiedPath path) void
toString()
-
Constructor Details
-
BasicResult
public BasicResult() -
BasicResult
-
BasicResult
-
-
Method Details
-
getDisplayPath
Description copied from interface:Result
Returns the friendlier "display path" for this result. May be null, and not necessarily unique.- Specified by:
getDisplayPath
in interfaceResult
-
setDisplayPath
-
getPath
Description copied from interface:Result
Returns 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:Result
Indicates that this result object is itself browsable.- Specified by:
hasChildren
in interfaceResult
-
setHasChildren
public void setHasChildren(boolean hasChildren) -
toString
-