Class DateFieldImpl
- java.lang.Object
-
- org.silverpeas.core.contribution.content.form.AbstractField
-
- org.silverpeas.core.contribution.content.form.field.DateField
-
- org.silverpeas.core.contribution.content.form.field.DateFieldImpl
-
- All Implemented Interfaces:
Serializable
,Comparable
,Field
public class DateFieldImpl extends DateField
A TextFieldImpl stores use a String attribute to store its value.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.silverpeas.core.contribution.content.form.Field
FILE_PARAM_NAME_SUFFIX, TYPE_FILE
-
-
Constructor Summary
Constructors Constructor Description DateFieldImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
acceptStringValue(String value)
Returns true if the value isn't normalized and this field isn't read only.String
getStringValue()
Returns the string value of this field.boolean
isReadOnly()
Returns true if the value is read only.void
setStringValue(String value)
Set the string value of this field.-
Methods inherited from class org.silverpeas.core.contribution.content.form.field.DateField
acceptObjectValue, acceptValue, acceptValue, compareTo, equals, getObjectValue, getTypeName, getValue, getValue, hashCode, isNull, setNull, setObjectValue, setValue, setValue
-
Methods inherited from class org.silverpeas.core.contribution.content.form.AbstractField
getName, getOccurrence, setName, setOccurrence
-
-
-
-
Method Detail
-
getStringValue
public String getStringValue()
Returns the string value of this field.- Specified by:
getStringValue
in interfaceField
- Specified by:
getStringValue
in classAbstractField
-
setStringValue
public void setStringValue(String value)
Set the string value of this field.- Specified by:
setStringValue
in interfaceField
- Specified by:
setStringValue
in classAbstractField
-
acceptStringValue
public boolean acceptStringValue(String value)
Description copied from interface:Field
Returns true if the value isn't normalized and this field isn't read only.- Specified by:
acceptStringValue
in interfaceField
- Specified by:
acceptStringValue
in classAbstractField
-
isReadOnly
public boolean isReadOnly()
Returns true if the value is read only.- Specified by:
isReadOnly
in classDateField
-
-