public class NodeRecord
extends java.lang.Object
Constructor and Description |
---|
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,
java.sql.Timestamp nodedatadate) |
Modifier and Type | Method and Description |
---|---|
boolean |
contentEquals(NodeRecord record)
Method compare two records
|
java.lang.String |
getNodeData() |
java.sql.Timestamp |
getNodeDataDate() |
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 |
setNodeDataDate(java.sql.Timestamp datadate) |
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
|
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, java.sql.Timestamp nodedatadate)
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 java.sql.Timestamp getNodeDataDate()
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 void setNodeDataDate(java.sql.Timestamp datadate)
public boolean contentEquals(NodeRecord record)
Copyright © 2016 Regents of the University of California. All Rights Reserved.