Class DateRoField
- java.lang.Object
-
- org.silverpeas.core.contribution.content.form.AbstractField
-
- org.silverpeas.core.contribution.content.form.field.DateField
-
- org.silverpeas.core.workflow.engine.datarecord.DateRoField
-
- All Implemented Interfaces:
Serializable
,Comparable<Field>
,Field
public class DateRoField extends DateField
A read only DateField- 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 DateRoField(Date value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
acceptStringValue(String value)
Returns true even if a set will changes nothing.boolean
equals(Object o)
String
getStringValue()
Returns the string value of this field.int
hashCode()
boolean
isReadOnly()
Returns true.void
setStringValue(String value)
Changes nothing.-
Methods inherited from class org.silverpeas.core.contribution.content.form.field.DateField
acceptObjectValue, acceptValue, acceptValue, compareTo, getObjectValue, getTypeName, getValue, getValue, isNull, setNull, setObjectValue, setValue, setValue
-
Methods inherited from class org.silverpeas.core.contribution.content.form.AbstractField
getName, getOccurrence, setName, setOccurrence
-
-
-
-
Constructor Detail
-
DateRoField
public DateRoField(Date value)
-
-
Method Detail
-
getStringValue
public String getStringValue()
Returns the string value of this field.- Returns:
- the
String
representation of the value of this field.
-
setStringValue
public void setStringValue(String value)
Changes nothing.- Parameters:
value
- theString
value to set
-
acceptStringValue
public boolean acceptStringValue(String value)
Returns true even if a set will changes nothing.- Parameters:
value
- aString
value.- Returns:
- true if the value isn't normalized and this field isn't read only.
-
isReadOnly
public boolean isReadOnly()
Returns true.- Specified by:
isReadOnly
in classDateField
-
-