|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.prefs.om.impl.PropertyImpl
public class PropertyImpl
Property
interface implementation.
Represents a property key/value pair.
Constructor Summary | |
---|---|
PropertyImpl()
Property implementation default constructor. |
|
PropertyImpl(long nodeId,
java.lang.String propertyName,
java.lang.Object valueObject)
Property constructor given a property key id, node id and the appropriate value. |
Method Summary | |
---|---|
java.sql.Timestamp |
getCreationDate()
Getter for creation date. |
java.sql.Timestamp |
getModifiedDate()
Getter for the modified date. |
long |
getNodeId()
Getter for the node id. |
java.lang.String |
getPropertyName()
Getter for the property name. |
java.lang.String |
getPropertyValue()
Utility method used to return the property value as a String. |
long |
getPropertyValueId()
Getter for the property value id. |
void |
setCreationDate(java.sql.Timestamp creationDate)
Setter for the creation date. |
void |
setModifiedDate(java.sql.Timestamp modifiedDate)
Setter for the modified date. |
void |
setNodeId(long nodeId)
Setter for the node id. |
void |
setPropertyName(java.lang.String propertyName)
Setter for the property name. |
void |
setPropertyValue(java.lang.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. |
java.lang.String |
toString()
Convert Property to string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertyImpl()
Property implementation default constructor.
public PropertyImpl(long nodeId, java.lang.String propertyName, java.lang.Object valueObject)
nodeId
- The node id.propertyName
- The property name.valueObject
- The value object.Method Detail |
---|
public final java.lang.String getPropertyValue()
Property
Utility method used to return the property value as a String.
getPropertyValue
in interface Property
Property.getPropertyValue()
public final void setPropertyValue(java.lang.String valueObject)
Property
Utility method used to identify with property value to set based on the value object type.
setPropertyValue
in interface Property
valueObject
- The value object.Property.setPropertyValue(java.lang.String)
public long getPropertyValueId()
Property
Getter for the property value id.
getPropertyValueId
in interface Property
Property.getPropertyValueId()
public void setPropertyValueId(long propertyValueId)
Property
Setter for the property value id.
setPropertyValueId
in interface Property
propertyValueId
- The property value id.org.apache.jetspeed.prefs.om.Property#setPropertyValueId(int)
public long getNodeId()
Property
Getter for the node id.
getNodeId
in interface Property
Property.getNodeId()
public void setNodeId(long nodeId)
Property
Setter for the node id.
setNodeId
in interface Property
nodeId
- The node id.Property.setNodeId(long)
public java.lang.String getPropertyName()
Property
Getter for the property name.
getPropertyName
in interface Property
public void setPropertyName(java.lang.String propertyName)
Property
Setter for the property name.
setPropertyName
in interface Property
propertyName
- The propertyName to set.public java.sql.Timestamp getCreationDate()
Property
Getter for creation date.
getCreationDate
in interface Property
Property.getCreationDate()
public void setCreationDate(java.sql.Timestamp creationDate)
Property
Setter for the creation date.
setCreationDate
in interface Property
creationDate
- The creation date.org.apache.jetspeed.ospi.om.prefs.Property#setCreationDate(java.sql.Timestamp)
public java.sql.Timestamp getModifiedDate()
Property
Getter for the modified date.
getModifiedDate
in interface Property
Property.getModifiedDate()
public void setModifiedDate(java.sql.Timestamp modifiedDate)
Property
Setter for the modified date.
setModifiedDate
in interface Property
modifiedDate
- The modified date.Property.setModifiedDate(java.sql.Timestamp)
public java.lang.String toString()
Convert Property
to string.
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |