|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.washington.biostr.sig.vault.core.BasicNode
public class BasicNode
| Constructor Summary | |
|---|---|
BasicNode(DataNode other)
|
|
BasicNode(Object key,
String text,
Set<Tag> tags)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object arg0)
2 nodes are equal if they have the same key and if they refer to the same file or they both return false for isFile(). |
FileGroup |
getFile()
If this node represents a file, return that file. |
Object |
getKey()
Return the key for this node. |
Set<Tag> |
getTags()
Return an unmodifieable Set |
String |
getText()
The text node is the default display name. |
int |
hashCode()
Return the hashCode of the key. |
boolean |
isEditable()
Return true if this node is editable outside of the vault that created it. |
boolean |
isFile()
Return true if this node is a file. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BasicNode(Object key,
String text,
Set<Tag> tags)
public BasicNode(DataNode other)
| Method Detail |
|---|
public Object getKey()
DataNode
getKey in interface DataNodepublic Set<Tag> getTags()
getTags in interface DataNodepublic FileGroup getFile()
DataNode
getFile in interface DataNodepublic boolean isFile()
DataNode
isFile in interface DataNodepublic boolean isEditable()
DataNode
isEditable in interface DataNodepublic boolean equals(Object arg0)
DataNode
equals in interface DataNodeequals in class Objectpublic int hashCode()
DataNode
hashCode in interface DataNodehashCode in class Objectpublic String toString()
toString in class Objectpublic String getText()
DataNode
getText in interface DataNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||