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 TypeMethodDescriptionbooleanReturns the friendlier "display path" for this result.@Nullable StringgetPath()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.inthashCode()voidsetDisplayPath(Path displayPath) voidsetHasChildren(boolean hasChildren) voidsetMetadata(@Nullable PropertySet metadata) 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. -
getExplicitType
-
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) -
getMetadata
- Specified by:
getMetadatain interfaceResult
-
setMetadata
-
equals
-
hashCode
public int hashCode() -
toString
-