|
||||||||||
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
Node
interface 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()
Node
Getter for the node id.
getNodeId
in interface Node
Node.getNodeId()
public void setNodeId(long nodeId)
Node
Setter for the node id.
setNodeId
in interface Node
nodeId
- The node id.org.apache.jetspeed.prefs.om.Node#setNodeId(int)
public java.lang.Long getParentNodeId()
Node
Getter 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 Node
Node.getParentNodeId()
public void setParentNodeId(java.lang.Long parentNodeId)
Node
Setter for the parent node id.
setParentNodeId
in interface Node
parentNodeId
- The parent node id.Node.setParentNodeId(java.lang.Long)
public java.util.Collection getNodeProperties()
Node
Getter for the node properties.
getNodeProperties
in interface Node
Node.getNodeProperties()
public void setNodeProperties(java.util.Collection nodeProperties)
Node
Setter for the node properties.
setNodeProperties
in interface Node
Node.setNodeProperties(java.util.Collection)
public java.util.Collection getNodeKeys()
Node
Getter for the keys associated to a specific nodes.
getNodeKeys
in interface Node
Node.getNodeKeys()
public void setNodeKeys(java.util.Collection nodeKeys)
Node
Setter for the keys associated to a specific nodes.
setNodeKeys
in interface Node
nodeKeys
- The node keys.Node.setNodeKeys(java.util.Collection)
public java.lang.String getNodeName()
Node
Getter for the node name.
getNodeName
in interface Node
Node.getNodeName()
public void setNodeName(java.lang.String nodeName)
Node
Setter for the node name.
setNodeName
in interface Node
nodeName
- The node name.Node.setNodeName(java.lang.String)
public int getNodeType()
Node
Getter for the node type.
getNodeType
in interface Node
Node.getNodeType()
public void setNodeType(int nodeType)
Node
Setter for the node type.
setNodeType
in interface Node
nodeType
- The node type.Node.setNodeType(int)
public java.lang.String getFullPath()
Node
Getter for the full path.
getFullPath
in interface Node
Node.getFullPath()
public void setFullPath(java.lang.String fullPath)
Node
Setter for the full path.
setFullPath
in interface Node
fullPath
- The full path.Node.setFullPath(java.lang.String)
public java.sql.Timestamp getCreationDate()
Node
Getter for creation date.
getCreationDate
in interface Node
Node.getCreationDate()
public void setCreationDate(java.sql.Timestamp creationDate)
Node
Setter for the creation date.
setCreationDate
in interface Node
creationDate
- The creation date.Node.setCreationDate(java.sql.Timestamp)
public java.sql.Timestamp getModifiedDate()
Node
Getter for the modified date.
getModifiedDate
in interface Node
Node.getModifiedDate()
public void setModifiedDate(java.sql.Timestamp modifiedDate)
Node
Setter for the modified date.
setModifiedDate
in interface Node
modifiedDate
- The modified date.Node.setModifiedDate(java.sql.Timestamp)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public 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 |