Revision 1501
Added by Jing Tao almost 22 years ago
src/edu/ucsb/nceas/metacat/NodeRecord.java | ||
---|---|---|
53 | 53 |
this.nodetype = nodetype; |
54 | 54 |
this.nodedata = nodedata; |
55 | 55 |
} |
56 |
|
|
57 |
/** Get functions*/ |
|
58 |
public long getNodeId() |
|
59 |
{ |
|
60 |
return nodeid; |
|
61 |
} |
|
62 |
|
|
63 |
public long getParentNodeId() |
|
64 |
{ |
|
65 |
return parentnodeid; |
|
66 |
} |
|
67 |
|
|
68 |
public long getNodeIndex() |
|
69 |
{ |
|
70 |
return nodeindex; |
|
71 |
} |
|
72 |
|
|
73 |
public String getNodeName() |
|
74 |
{ |
|
75 |
return nodename; |
|
76 |
} |
|
77 |
|
|
78 |
public String getNodeType() |
|
79 |
{ |
|
80 |
return nodetype; |
|
81 |
} |
|
82 |
|
|
83 |
public String getNodePrefix() |
|
84 |
{ |
|
85 |
return nodeprefix; |
|
86 |
} |
|
87 |
|
|
88 |
public String getNodeData() |
|
89 |
{ |
|
90 |
return nodedata; |
|
91 |
} |
|
56 | 92 |
} |
Also available in: Unified diff
Add some getmethods.