org.apache.jetspeed.prefs.om
Interface Node

All Superinterfaces:
Cloneable, Serializable

public interface Node
extends Serializable, Cloneable

Interface representing a Preferences node.

Author:
David Le Strat

Method Summary
 Timestamp getCreationDate()
          Getter for creation date.
 String getFullPath()
          Getter for the full path.
 Timestamp getModifiedDate()
          Getter for the modified date.
 long getNodeId()
          Getter for the node id.
 Collection getNodeKeys()
          Getter for the keys associated to a specific nodes.
 String getNodeName()
          Getter for the node name.
 Collection getNodeProperties()
          Getter for the node properties.
 int getNodeType()
          Getter for the node type.
 Long getParentNodeId()
          Getter for the parent node id.
 void setCreationDate(Timestamp creationDate)
          Setter for the creation date.
 void setFullPath(String fullPath)
          Setter for the full path.
 void setModifiedDate(Timestamp modifiedDate)
          Setter for the modified date.
 void setNodeId(long nodeId)
          Setter for the node id.
 void setNodeKeys(Collection nodeKeys)
          Setter for the keys associated to a specific nodes.
 void setNodeName(String nodeName)
          Setter for the node name.
 void setNodeProperties(Collection nodeProperties)
          Setter for the node properties.
 void setNodeType(int nodeType)
          Setter for the node type.
 void setParentNodeId(Long parentNodeId)
          Setter for the parent node id.
 

Method Detail

getNodeId

long getNodeId()

Getter for the node id.

Returns:
The node id.

setNodeId

void setNodeId(long nodeId)

Setter for the node id.

Parameters:
nodeId - The node id.

getParentNodeId

Long getParentNodeId()

Getter for the parent node id.

Passed as an Integer to be able to pass null if no parent is associated to a node.

Returns:
The parent node id.

setParentNodeId

void setParentNodeId(Long parentNodeId)

Setter for the parent node id.

Parameters:
parentNodeId - The parent node id.

getNodeProperties

Collection getNodeProperties()

Getter for the node properties.

Returns:
The node properties.

setNodeProperties

void setNodeProperties(Collection nodeProperties)

Setter for the node properties.

Parameters:
properties - The node properties.

getNodeKeys

Collection getNodeKeys()

Getter for the keys associated to a specific nodes.

Returns:
The node keys.

setNodeKeys

void setNodeKeys(Collection nodeKeys)

Setter for the keys associated to a specific nodes.

Parameters:
nodeKeys - The node keys.

getNodeName

String getNodeName()

Getter for the node name.

Returns:
The node name.

setNodeName

void setNodeName(String nodeName)

Setter for the node name.

Parameters:
nodeName - The node name.

getNodeType

int getNodeType()

Getter for the node type.

Returns:
The node type.

setNodeType

void setNodeType(int nodeType)

Setter for the node type.

Parameters:
nodeType - The node type.

getFullPath

String getFullPath()

Getter for the full path.

Returns:
The full path.

setFullPath

void setFullPath(String fullPath)

Setter for the full path.

Parameters:
fullPath - The full path.

getCreationDate

Timestamp getCreationDate()

Getter for creation date.

Returns:
The creation date.

setCreationDate

void setCreationDate(Timestamp creationDate)

Setter for the creation date.

Parameters:
creationDate - The creation date.

getModifiedDate

Timestamp getModifiedDate()

Getter for the modified date.

Returns:
The modified date.

setModifiedDate

void setModifiedDate(Timestamp modifiedDate)

Setter for the modified date.

Parameters:
modifiedDate - The modified date.


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.