|
||||||||||
| 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.
| Field Summary | |
|---|---|
private Timestamp |
creationDate
|
private Timestamp |
modifiedDate
|
private long |
nodeId
|
private String |
propertyName
|
private String |
propertyValue
|
private long |
propertyValueId
|
private static long |
serialVersionUID
The serial version uid. |
| Constructor Summary | |
|---|---|
PropertyImpl()
Property implementation default constructor. |
|
PropertyImpl(long nodeId,
String propertyName,
Object valueObject)
Property constructor given a property key id, node id and the appropriate value. |
|
| Method Summary | |
|---|---|
Timestamp |
getCreationDate()
|
Timestamp |
getModifiedDate()
|
long |
getNodeId()
|
String |
getPropertyName()
|
String |
getPropertyValue()
|
long |
getPropertyValueId()
|
void |
setCreationDate(Timestamp creationDate)
|
void |
setModifiedDate(Timestamp modifiedDate)
|
void |
setNodeId(long nodeId)
|
void |
setPropertyName(String propertyName)
|
void |
setPropertyValue(String valueObject)
|
void |
setPropertyValueId(long propertyValueId)
|
String |
toString()
Convert Property to string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private long nodeId
private String propertyName
private String propertyValue
private long propertyValueId
private Timestamp creationDate
private Timestamp modifiedDate
| Constructor Detail |
|---|
public PropertyImpl()
Property implementation default constructor.
public PropertyImpl(long nodeId,
String propertyName,
Object valueObject)
nodeId - The node id.propertyName - The property name.valueObject - The value object.| Method Detail |
|---|
public final String getPropertyValue()
getPropertyValue in interface org.apache.jetspeed.prefs.om.PropertyProperty.getPropertyValue()public final void setPropertyValue(String valueObject)
setPropertyValue in interface org.apache.jetspeed.prefs.om.PropertyProperty.setPropertyValue(java.lang.String)public long getPropertyValueId()
getPropertyValueId in interface org.apache.jetspeed.prefs.om.PropertyProperty.getPropertyValueId()public void setPropertyValueId(long propertyValueId)
setPropertyValueId in interface org.apache.jetspeed.prefs.om.Propertyorg.apache.jetspeed.prefs.om.Property#setPropertyValueId(int)public long getNodeId()
getNodeId in interface org.apache.jetspeed.prefs.om.PropertyProperty.getNodeId()public void setNodeId(long nodeId)
setNodeId in interface org.apache.jetspeed.prefs.om.PropertyProperty.setNodeId(long)public String getPropertyName()
getPropertyName in interface org.apache.jetspeed.prefs.om.Propertypublic void setPropertyName(String propertyName)
setPropertyName in interface org.apache.jetspeed.prefs.om.PropertypropertyName - The propertyName to set.public Timestamp getCreationDate()
getCreationDate in interface org.apache.jetspeed.prefs.om.PropertyProperty.getCreationDate()public void setCreationDate(Timestamp creationDate)
setCreationDate in interface org.apache.jetspeed.prefs.om.Propertyorg.apache.jetspeed.ospi.om.prefs.Property#setCreationDate(java.sql.Timestamp)public Timestamp getModifiedDate()
getModifiedDate in interface org.apache.jetspeed.prefs.om.PropertyProperty.getModifiedDate()public void setModifiedDate(Timestamp modifiedDate)
setModifiedDate in interface org.apache.jetspeed.prefs.om.PropertyProperty.setModifiedDate(java.sql.Timestamp)public String toString()
Convert Property to string.
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||