|
||||||||||
| 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()
PropertyUtility method used to return the property value as a String.
getPropertyValue in interface PropertyProperty.getPropertyValue()public final void setPropertyValue(java.lang.String valueObject)
PropertyUtility method used to identify with property value to set based on the value object type.
setPropertyValue in interface PropertyvalueObject - The value object.Property.setPropertyValue(java.lang.String)public long getPropertyValueId()
PropertyGetter for the property value id.
getPropertyValueId in interface PropertyProperty.getPropertyValueId()public void setPropertyValueId(long propertyValueId)
PropertySetter for the property value id.
setPropertyValueId in interface PropertypropertyValueId - The property value id.org.apache.jetspeed.prefs.om.Property#setPropertyValueId(int)public long getNodeId()
PropertyGetter for the node id.
getNodeId in interface PropertyProperty.getNodeId()public void setNodeId(long nodeId)
PropertySetter for the node id.
setNodeId in interface PropertynodeId - The node id.Property.setNodeId(long)public java.lang.String getPropertyName()
PropertyGetter for the property name.
getPropertyName in interface Propertypublic void setPropertyName(java.lang.String propertyName)
PropertySetter for the property name.
setPropertyName in interface PropertypropertyName - The propertyName to set.public java.sql.Timestamp getCreationDate()
PropertyGetter for creation date.
getCreationDate in interface PropertyProperty.getCreationDate()public void setCreationDate(java.sql.Timestamp creationDate)
PropertySetter for the creation date.
setCreationDate in interface PropertycreationDate - The creation date.org.apache.jetspeed.ospi.om.prefs.Property#setCreationDate(java.sql.Timestamp)public java.sql.Timestamp getModifiedDate()
PropertyGetter for the modified date.
getModifiedDate in interface PropertyProperty.getModifiedDate()public void setModifiedDate(java.sql.Timestamp modifiedDate)
PropertySetter for the modified date.
setModifiedDate in interface PropertymodifiedDate - 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 | |||||||||