|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.ucsb.nceas.metacat.NodeRecord
public class NodeRecord
A utility class that encapsulates a node and its data
| Constructor Summary | |
|---|---|
NodeRecord(long nodeid,
long parentnodeid,
long nodeindex,
java.lang.String nodetype,
java.lang.String nodename,
java.lang.String nodeprefix,
java.lang.String nodedata)
Constructor |
|
NodeRecord(long nodeid,
long parentnodeid,
long nodeindex,
java.lang.String nodetype,
java.lang.String nodename,
java.lang.String nodeprefix,
java.lang.String nodedata,
float nodedatanumerical)
|
|
| Method Summary | |
|---|---|
boolean |
contentEquals(NodeRecord record)
Method compare two records |
java.lang.String |
getNodeData()
|
float |
getNodeDataNumerical()
|
long |
getNodeId()
Get functions |
long |
getNodeIndex()
|
java.lang.String |
getNodeName()
|
java.lang.String |
getNodePrefix()
|
java.lang.String |
getNodeType()
|
long |
getParentNodeId()
|
void |
setNodeData(java.lang.String data)
A method used to set the node data of the current node |
void |
setNodeDataNumerical(float datanumerical)
A method used to set the numerical node data of the current node |
void |
setNodeId(long id)
A method used to set the node id of the current node |
void |
setNodeIndex(long index)
A method used to set the node index of the current node |
void |
setNodeName(java.lang.String name)
A method used to set the node name of the current node |
void |
setNodePrefix(java.lang.String prefix)
A method used to set the node prefix of the current node |
void |
setNodeType(java.lang.String type)
A method used to set the node type of the current node |
void |
setParentNodeId(long parentid)
A method used to set the node parent id of the current node |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeRecord(long nodeid,
long parentnodeid,
long nodeindex,
java.lang.String nodetype,
java.lang.String nodename,
java.lang.String nodeprefix,
java.lang.String nodedata)
public NodeRecord(long nodeid,
long parentnodeid,
long nodeindex,
java.lang.String nodetype,
java.lang.String nodename,
java.lang.String nodeprefix,
java.lang.String nodedata,
float nodedatanumerical)
| Method Detail |
|---|
public long getNodeId()
public long getParentNodeId()
public long getNodeIndex()
public java.lang.String getNodeName()
public java.lang.String getNodeType()
public java.lang.String getNodePrefix()
public java.lang.String getNodeData()
public float getNodeDataNumerical()
public void setNodeId(long id)
id - the new value of the idpublic void setParentNodeId(long parentid)
parentid - the new value of the parent idpublic void setNodeName(java.lang.String name)
name - the new value of the node namepublic void setNodePrefix(java.lang.String prefix)
prefix - the new value of the node prefixpublic void setNodeIndex(long index)
index - the new value of the node indexpublic void setNodeType(java.lang.String type)
type - the new value of the node typepublic void setNodeData(java.lang.String data)
data - the new value of the node datapublic void setNodeDataNumerical(float datanumerical)
datanumerical - the new value of the numerical node datapublic boolean contentEquals(NodeRecord record)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||