org.apache.jetspeed.prefs.om
Interface Property

All Superinterfaces:
Cloneable, Serializable

public interface Property
extends Serializable, Cloneable

Interface representing a property key/value pair.

Author:
David Le Strat

Method Summary
 Timestamp getCreationDate()
           Getter for creation date.
 Timestamp getModifiedDate()
           Getter for the modified date.
 long getNodeId()
           Getter for the node id.
 String getPropertyName()
           Getter for the property name.
 String getPropertyValue()
           Utility method used to return the property value as a String.
 long getPropertyValueId()
           Getter for the property value id.
 void setCreationDate(Timestamp creationDate)
           Setter for the creation date.
 void setModifiedDate(Timestamp modifiedDate)
           Setter for the modified date.
 void setNodeId(long nodeId)
           Setter for the node id.
 void setPropertyName(String propertyName)
           Setter for the property name.
 void setPropertyValue(String valueObject)
           Utility method used to identify with property value to set based on the value object type.
 void setPropertyValueId(long propertyValueId)
           Setter for the property value id.
 

Method Detail

getPropertyValueId

long getPropertyValueId()

Getter for the property value id.

Returns:
The property value id.

setPropertyValueId

void setPropertyValueId(long propertyValueId)

Setter for the property value id.

Parameters:
propertyValueId - The property value id.

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.

getPropertyName

String getPropertyName()

Getter for the property name.

Returns:
The property name.

setPropertyName

void setPropertyName(String propertyName)

Setter for the property name.

Parameters:
propertyName - The property name.

getPropertyValue

String getPropertyValue()

Utility method used to return the property value as a String.

Returns:
The property value as a String.

setPropertyValue

void setPropertyValue(String valueObject)

Utility method used to identify with property value to set based on the value object type.

Parameters:
valueObject - The value object.

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.