|
|||||||||||
| 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
Property interface implementation.
Represents a property key/value pair.
| Field Summary | |
private boolean |
booleanPropertyValue
|
private Timestamp |
creationDate
|
private Timestamp |
datePropertyValue
|
private double |
doublePropertyValue
|
private long |
longPropertyValue
|
private Timestamp |
modifiedDate
|
private long |
nodeId
|
private org.apache.jetspeed.prefs.om.PropertyKey |
propertyKey
|
private long |
propertyKeyId
|
private long |
propertyValueId
|
private String |
textPropertyValue
|
| Fields inherited from interface org.apache.jetspeed.prefs.om.Property |
BOOLEAN_TYPE, DOUBLE_TYPE, LONG_TYPE, STRING_TYPE, TIMESTAMP_TYPE |
| Constructor Summary | |
PropertyImpl()
Property implementation default constructor. |
|
PropertyImpl(long nodeId,
long propertyKeyId,
org.apache.jetspeed.prefs.om.PropertyKey propertyKey,
int valueObjectType,
Object valueObject)
Property constructor given a property key id, node id and the appropriate value object type and value: 0=Boolean, 1=Long, 2=Double, 3=String, 4=Timestamp |
|
| Method Summary | |
boolean |
getBooleanPropertyValue()
|
Timestamp |
getCreationDate()
|
Timestamp |
getDatePropertyValue()
|
double |
getDoublePropertyValue()
|
long |
getLongPropertyValue()
|
Timestamp |
getModifiedDate()
|
long |
getNodeId()
|
org.apache.jetspeed.prefs.om.PropertyKey |
getPropertyKey()
|
long |
getPropertyKeyId()
|
String |
getPropertyValue(int valueObjectType)
|
long |
getPropertyValueId()
|
String |
getTextPropertyValue()
|
void |
setBooleanPropertyValue(boolean booleanPropertyValue)
|
void |
setCreationDate(Timestamp creationDate)
|
void |
setDatePropertyValue(Timestamp datePropertyValue)
|
void |
setDoublePropertyValue(double doublePropertyValue)
|
void |
setLongPropertyValue(long longPropertyValue)
|
void |
setModifiedDate(Timestamp modifiedDate)
|
void |
setNodeId(long nodeId)
|
void |
setPropertyKey(org.apache.jetspeed.prefs.om.PropertyKey propertyKey)
|
void |
setPropertyKeyId(long propertyKeyId)
|
void |
setPropertyValue(int valueObjectType,
String valueObject)
|
void |
setPropertyValueId(long propertyValueId)
|
void |
setTextPropertyValue(String textPropertyValue)
|
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 long nodeId
private long propertyValueId
private long propertyKeyId
private org.apache.jetspeed.prefs.om.PropertyKey propertyKey
private boolean booleanPropertyValue
private Timestamp datePropertyValue
private long longPropertyValue
private double doublePropertyValue
private String textPropertyValue
private Timestamp creationDate
private Timestamp modifiedDate
| Constructor Detail |
public PropertyImpl()
Property implementation default constructor.
public PropertyImpl(long nodeId,
long propertyKeyId,
org.apache.jetspeed.prefs.om.PropertyKey propertyKey,
int valueObjectType,
Object valueObject)
propertyKeyId - The property key id.nodeId - The node id.valueObjectType - The value object type.valueObject - The value object.| Method Detail |
public final String getPropertyValue(int valueObjectType)
getPropertyValue in interface org.apache.jetspeed.prefs.om.PropertyProperty.getPropertyValue(int)
public final void setPropertyValue(int valueObjectType,
String valueObject)
setPropertyValue in interface org.apache.jetspeed.prefs.om.PropertyProperty.setPropertyValue(int, 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 long getPropertyKeyId()
getPropertyKeyId in interface org.apache.jetspeed.prefs.om.PropertyProperty.getPropertyKeyId()public void setPropertyKeyId(long propertyKeyId)
setPropertyKeyId in interface org.apache.jetspeed.prefs.om.PropertyProperty.setPropertyKeyId(long)public org.apache.jetspeed.prefs.om.PropertyKey getPropertyKey()
getPropertyKey in interface org.apache.jetspeed.prefs.om.PropertyProperty.getPropertyKey()public void setPropertyKey(org.apache.jetspeed.prefs.om.PropertyKey propertyKey)
setPropertyKey in interface org.apache.jetspeed.prefs.om.PropertyProperty.setPropertyKey(org.apache.jetspeed.prefs.om.PropertyKey)public boolean getBooleanPropertyValue()
getBooleanPropertyValue in interface org.apache.jetspeed.prefs.om.PropertyProperty.getBooleanPropertyValue()public void setBooleanPropertyValue(boolean booleanPropertyValue)
setBooleanPropertyValue in interface org.apache.jetspeed.prefs.om.PropertyProperty.setBooleanPropertyValue(boolean)public Timestamp getDatePropertyValue()
getDatePropertyValue in interface org.apache.jetspeed.prefs.om.PropertyProperty.getDatePropertyValue()public void setDatePropertyValue(Timestamp datePropertyValue)
setDatePropertyValue in interface org.apache.jetspeed.prefs.om.PropertyProperty.setDatePropertyValue(java.sql.Timestamp)public long getLongPropertyValue()
getLongPropertyValue in interface org.apache.jetspeed.prefs.om.PropertyProperty.getLongPropertyValue()public void setLongPropertyValue(long longPropertyValue)
setLongPropertyValue in interface org.apache.jetspeed.prefs.om.PropertyProperty.setLongPropertyValue(long)public double getDoublePropertyValue()
getDoublePropertyValue in interface org.apache.jetspeed.prefs.om.PropertyProperty.getDoublePropertyValue()public void setDoublePropertyValue(double doublePropertyValue)
setDoublePropertyValue in interface org.apache.jetspeed.prefs.om.PropertyProperty.setDoublePropertyValue(double)public String getTextPropertyValue()
getTextPropertyValue in interface org.apache.jetspeed.prefs.om.PropertyProperty.getTextPropertyValue()public void setTextPropertyValue(String textPropertyValue)
setTextPropertyValue in interface org.apache.jetspeed.prefs.om.PropertyProperty.setTextPropertyValue(java.lang.String)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.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||