Class BasicResult
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.browsing.BasicResult
 
- 
- All Implemented Interfaces:
- Result,- java.io.Serializable
 - Direct Known Subclasses:
- TagResult
 
 public class BasicResult extends java.lang.Object implements Result A basic implementation of Result that can be used for browsing operations.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description BasicResult()BasicResult(Result copy)BasicResult(QualifiedPath path, boolean hasChildren)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PathgetDisplayPath()Returns the friendlier "display path" for this result.QualifiedPathgetPath()Returns the qualified path of this result.java.lang.StringgetType()If the type is specifically defined, it is returned.booleanhasChildren()Indicates that this result object is itself browsable.voidsetDisplayPath(Path displayPath)voidsetHasChildren(boolean hasChildren)voidsetPath(QualifiedPath path)voidsetType(java.lang.String type)java.lang.StringtoString()
 
- 
- 
- 
Constructor Detail- 
BasicResultpublic BasicResult() 
 - 
BasicResultpublic BasicResult(Result copy) 
 - 
BasicResultpublic BasicResult(QualifiedPath path, boolean hasChildren) 
 
- 
 - 
Method Detail- 
getDisplayPathpublic Path getDisplayPath() Description copied from interface:ResultReturns the friendlier "display path" for this result. May be null, and not necessarily unique.- Specified by:
- getDisplayPathin interface- Result
 
 - 
setDisplayPathpublic void setDisplayPath(Path displayPath) 
 - 
getPathpublic QualifiedPath getPath() Description copied from interface:ResultReturns the qualified path of this result.
 - 
setPathpublic void setPath(QualifiedPath path) 
 - 
getTypepublic java.lang.String getType() If the type is specifically defined, it is returned. Otherwise, the last path component id is returned.
 - 
setTypepublic void setType(java.lang.String type) 
 - 
hasChildrenpublic boolean hasChildren() Description copied from interface:ResultIndicates that this result object is itself browsable.- Specified by:
- hasChildrenin interface- Result
 
 - 
setHasChildrenpublic void setHasChildren(boolean hasChildren) 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-