public class BasicResult extends java.lang.Object implements Result
Constructor and Description |
---|
BasicResult() |
BasicResult(QualifiedPath path,
boolean hasChildren) |
BasicResult(Result copy) |
Modifier and Type | Method and Description |
---|---|
Path |
getDisplayPath()
Returns the friendlier "display path" for this result.
|
QualifiedPath |
getPath()
Returns the qualified path of this result.
|
java.lang.String |
getType()
If the type is specifically defined, it is returned.
|
boolean |
hasChildren()
Indicates that this result object is itself browsable.
|
void |
setDisplayPath(Path displayPath) |
void |
setHasChildren(boolean hasChildren) |
void |
setPath(QualifiedPath path) |
void |
setType(java.lang.String type) |
java.lang.String |
toString() |
public BasicResult()
public BasicResult(Result copy)
public BasicResult(QualifiedPath path, boolean hasChildren)
public Path getDisplayPath()
Result
getDisplayPath
in interface Result
public void setDisplayPath(Path displayPath)
public QualifiedPath getPath()
Result
public void setPath(QualifiedPath path)
public java.lang.String getType()
public void setType(java.lang.String type)
public boolean hasChildren()
Result
hasChildren
in interface Result
public void setHasChildren(boolean hasChildren)
public java.lang.String toString()
toString
in class java.lang.Object