|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.prefs.om.impl.NodeImpl
public class NodeImpl
Nodeinterface implementation.
Represents a preferences node.
| Field Summary | |
|---|---|
private Timestamp |
creationDate
|
private String |
fullPath
|
private Timestamp |
modifiedDate
|
private long |
nodeId
|
private Collection |
nodeKeys
|
private String |
nodeName
|
private Collection |
nodeProperties
|
private int |
nodeType
|
private Long |
parentNodeId
|
private static long |
serialVersionUID
The serial version uid. |
| Constructor Summary | |
|---|---|
NodeImpl()
Preferences node implementation default constructor. |
|
NodeImpl(Long parentNodeId,
String nodeName,
int nodeType,
String fullPath)
Node constructor given: |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
Timestamp |
getCreationDate()
|
String |
getFullPath()
|
Timestamp |
getModifiedDate()
|
long |
getNodeId()
|
Collection |
getNodeKeys()
|
String |
getNodeName()
|
Collection |
getNodeProperties()
|
int |
getNodeType()
|
Long |
getParentNodeId()
|
void |
setCreationDate(Timestamp creationDate)
|
void |
setFullPath(String fullPath)
|
void |
setModifiedDate(Timestamp modifiedDate)
|
void |
setNodeId(long nodeId)
|
void |
setNodeKeys(Collection nodeKeys)
|
void |
setNodeName(String nodeName)
|
void |
setNodeProperties(Collection nodeProperties)
|
void |
setNodeType(int nodeType)
|
void |
setParentNodeId(Long parentNodeId)
|
String |
toString()
Convert Node to string. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private long nodeId
private Long parentNodeId
private Collection nodeProperties
private Collection nodeKeys
private String nodeName
private int nodeType
private String fullPath
private Timestamp creationDate
private Timestamp modifiedDate
| Constructor Detail |
|---|
public NodeImpl()
Preferences node implementation default constructor.
public NodeImpl(Long parentNodeId,
String nodeName,
int nodeType,
String fullPath)
Node constructor given:
parentNodeId - The parent node id.nodeName - The node name.nodeType - The node type.fullPath - The full path.| Method Detail |
|---|
public long getNodeId()
getNodeId in interface org.apache.jetspeed.prefs.om.NodeNode.getNodeId()public void setNodeId(long nodeId)
setNodeId in interface org.apache.jetspeed.prefs.om.Nodeorg.apache.jetspeed.prefs.om.Node#setNodeId(int)public Long getParentNodeId()
getParentNodeId in interface org.apache.jetspeed.prefs.om.NodeNode.getParentNodeId()public void setParentNodeId(Long parentNodeId)
setParentNodeId in interface org.apache.jetspeed.prefs.om.NodeNode.setParentNodeId(java.lang.Long)public Collection getNodeProperties()
getNodeProperties in interface org.apache.jetspeed.prefs.om.NodeNode.getNodeProperties()public void setNodeProperties(Collection nodeProperties)
setNodeProperties in interface org.apache.jetspeed.prefs.om.NodeNode.setNodeProperties(java.util.Collection)public Collection getNodeKeys()
getNodeKeys in interface org.apache.jetspeed.prefs.om.NodeNode.getNodeKeys()public void setNodeKeys(Collection nodeKeys)
setNodeKeys in interface org.apache.jetspeed.prefs.om.NodeNode.setNodeKeys(java.util.Collection)public String getNodeName()
getNodeName in interface org.apache.jetspeed.prefs.om.NodeNode.getNodeName()public void setNodeName(String nodeName)
setNodeName in interface org.apache.jetspeed.prefs.om.NodeNode.setNodeName(java.lang.String)public int getNodeType()
getNodeType in interface org.apache.jetspeed.prefs.om.NodeNode.getNodeType()public void setNodeType(int nodeType)
setNodeType in interface org.apache.jetspeed.prefs.om.NodeNode.setNodeType(int)public String getFullPath()
getFullPath in interface org.apache.jetspeed.prefs.om.NodeNode.getFullPath()public void setFullPath(String fullPath)
setFullPath in interface org.apache.jetspeed.prefs.om.NodeNode.setFullPath(java.lang.String)public Timestamp getCreationDate()
getCreationDate in interface org.apache.jetspeed.prefs.om.NodeNode.getCreationDate()public void setCreationDate(Timestamp creationDate)
setCreationDate in interface org.apache.jetspeed.prefs.om.NodeNode.setCreationDate(java.sql.Timestamp)public Timestamp getModifiedDate()
getModifiedDate in interface org.apache.jetspeed.prefs.om.NodeNode.getModifiedDate()public void setModifiedDate(Timestamp modifiedDate)
setModifiedDate in interface org.apache.jetspeed.prefs.om.NodeNode.setModifiedDate(java.sql.Timestamp)public boolean equals(Object o)
equals in class Objectpublic String toString()
Convert Node to string.
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||