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

public long getNodeId()

Getter for the node id.

Returns:
The node id.

setNodeId

public void setNodeId(long nodeId)

Setter for the node id.

Parameters:
nodeId - The node id.

getParentNodeId

public 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

public void setParentNodeId(Long parentNodeId)

Setter for the parent node id.

Parameters:
parentNodeId - The parent node id.

getNodeProperties

public Collection getNodeProperties()

Getter for the node properties.

Returns:
The node properties.

setNodeProperties

public void setNodeProperties(Collection nodeProperties)

Setter for the node properties.


getNodeKeys

public Collection getNodeKeys()

Getter for the keys associated to a specific nodes.

Returns:
The node keys.

setNodeKeys

public void setNodeKeys(Collection nodeKeys)

Setter for the keys associated to a specific nodes.

Parameters:
nodeKeys - The node keys.

getNodeName

public String getNodeName()

Getter for the node name.

Returns:
The node name.

setNodeName

public void setNodeName(String nodeName)

Setter for the node name.

Parameters:
nodeName - The node name.

getNodeType

public int getNodeType()

Getter for the node type.

Returns:
The node type.

setNodeType

public void setNodeType(int nodeType)

Setter for the node type.

Parameters:
nodeType - The node type.

getFullPath

public String getFullPath()

Getter for the full path.

Returns:
The full path.

setFullPath

public void setFullPath(String fullPath)

Setter for the full path.

Parameters:
fullPath - The full path.

getCreationDate

public Timestamp getCreationDate()

Getter for creation date.

Returns:
The creation date.

setCreationDate

public void setCreationDate(Timestamp creationDate)

Setter for the creation date.

Parameters:
creationDate - The creation date.

getModifiedDate

public Timestamp getModifiedDate()

Getter for the modified date.

Returns:
The modified date.

setModifiedDate

public void setModifiedDate(Timestamp modifiedDate)

Setter for the modified date.

Parameters:
modifiedDate - The modified date.


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