|
||||||||||
| 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.
| Constructor Summary | |
|---|---|
NodeImpl()
Preferences node implementation default constructor. |
|
NodeImpl(java.lang.Long parentNodeId,
java.lang.String nodeName,
int nodeType,
java.lang.String fullPath)
Node constructor given: |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
java.sql.Timestamp |
getCreationDate()
Getter for creation date. |
java.lang.String |
getFullPath()
Getter for the full path. |
java.sql.Timestamp |
getModifiedDate()
Getter for the modified date. |
long |
getNodeId()
Getter for the node id. |
java.util.Collection |
getNodeKeys()
Getter for the keys associated to a specific nodes. |
java.lang.String |
getNodeName()
Getter for the node name. |
java.util.Collection |
getNodeProperties()
Getter for the node properties. |
int |
getNodeType()
Getter for the node type. |
java.lang.Long |
getParentNodeId()
Getter for the parent node id. |
void |
setCreationDate(java.sql.Timestamp creationDate)
Setter for the creation date. |
void |
setFullPath(java.lang.String fullPath)
Setter for the full path. |
void |
setModifiedDate(java.sql.Timestamp modifiedDate)
Setter for the modified date. |
void |
setNodeId(long nodeId)
Setter for the node id. |
void |
setNodeKeys(java.util.Collection nodeKeys)
Setter for the keys associated to a specific nodes. |
void |
setNodeName(java.lang.String nodeName)
Setter for the node name. |
void |
setNodeProperties(java.util.Collection nodeProperties)
Setter for the node properties. |
void |
setNodeType(int nodeType)
Setter for the node type. |
void |
setParentNodeId(java.lang.Long parentNodeId)
Setter for the parent node id. |
java.lang.String |
toString()
Convert Node to string. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NodeImpl()
Preferences node implementation default constructor.
public NodeImpl(java.lang.Long parentNodeId,
java.lang.String nodeName,
int nodeType,
java.lang.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()
NodeGetter for the node id.
getNodeId in interface NodeNode.getNodeId()public void setNodeId(long nodeId)
NodeSetter for the node id.
setNodeId in interface NodenodeId - The node id.org.apache.jetspeed.prefs.om.Node#setNodeId(int)public java.lang.Long getParentNodeId()
NodeGetter for the parent node id.
Passed as an Integer to be able to pass null if no parent is associated to a node.
getParentNodeId in interface NodeNode.getParentNodeId()public void setParentNodeId(java.lang.Long parentNodeId)
NodeSetter for the parent node id.
setParentNodeId in interface NodeparentNodeId - The parent node id.Node.setParentNodeId(java.lang.Long)public java.util.Collection getNodeProperties()
NodeGetter for the node properties.
getNodeProperties in interface NodeNode.getNodeProperties()public void setNodeProperties(java.util.Collection nodeProperties)
NodeSetter for the node properties.
setNodeProperties in interface NodeNode.setNodeProperties(java.util.Collection)public java.util.Collection getNodeKeys()
NodeGetter for the keys associated to a specific nodes.
getNodeKeys in interface NodeNode.getNodeKeys()public void setNodeKeys(java.util.Collection nodeKeys)
NodeSetter for the keys associated to a specific nodes.
setNodeKeys in interface NodenodeKeys - The node keys.Node.setNodeKeys(java.util.Collection)public java.lang.String getNodeName()
NodeGetter for the node name.
getNodeName in interface NodeNode.getNodeName()public void setNodeName(java.lang.String nodeName)
NodeSetter for the node name.
setNodeName in interface NodenodeName - The node name.Node.setNodeName(java.lang.String)public int getNodeType()
NodeGetter for the node type.
getNodeType in interface NodeNode.getNodeType()public void setNodeType(int nodeType)
NodeSetter for the node type.
setNodeType in interface NodenodeType - The node type.Node.setNodeType(int)public java.lang.String getFullPath()
NodeGetter for the full path.
getFullPath in interface NodeNode.getFullPath()public void setFullPath(java.lang.String fullPath)
NodeSetter for the full path.
setFullPath in interface NodefullPath - The full path.Node.setFullPath(java.lang.String)public java.sql.Timestamp getCreationDate()
NodeGetter for creation date.
getCreationDate in interface NodeNode.getCreationDate()public void setCreationDate(java.sql.Timestamp creationDate)
NodeSetter for the creation date.
setCreationDate in interface NodecreationDate - The creation date.Node.setCreationDate(java.sql.Timestamp)public java.sql.Timestamp getModifiedDate()
NodeGetter for the modified date.
getModifiedDate in interface NodeNode.getModifiedDate()public void setModifiedDate(java.sql.Timestamp modifiedDate)
NodeSetter for the modified date.
setModifiedDate in interface NodemodifiedDate - The modified date.Node.setModifiedDate(java.sql.Timestamp)public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
Convert Node to string.
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||