com.silverpeas.workflow.engine.dataRecord
Class DateRoField

java.lang.Object
  extended by com.silverpeas.form.AbstractField
      extended by com.silverpeas.form.fieldType.DateField
          extended by com.silverpeas.workflow.engine.dataRecord.DateRoField
All Implemented Interfaces:
Field, Serializable, Comparable

public class DateRoField
extends DateField

A read only DateField

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.silverpeas.form.fieldType.DateField
TYPE
 
Fields inherited from interface com.silverpeas.form.Field
FILE_PARAM_NAME_SUFFIX, TYPE_FILE
 
Constructor Summary
DateRoField(Date value)
           
 
Method Summary
 boolean acceptStringValue(String value)
          Returns true even if a set will changes nothing.
 String getStringValue()
          Returns the string value of this field.
 boolean isReadOnly()
          Returns true.
 void setStringValue(String value)
          Changes nothing.
 
Methods inherited from class com.silverpeas.form.fieldType.DateField
acceptObjectValue, acceptValue, acceptValue, compareTo, equals, getObjectValue, getTypeName, getValue, getValue, hashCode, isNull, setNull, setObjectValue, setValue, setValue
 
Methods inherited from class com.silverpeas.form.AbstractField
getName, getOccurrence, setName, setOccurrence
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateRoField

public DateRoField(Date value)
Method Detail

getStringValue

public String getStringValue()
Returns the string value of this field.

Specified by:
getStringValue in interface Field
Specified by:
getStringValue in class AbstractField

setStringValue

public void setStringValue(String value)
Changes nothing.

Specified by:
setStringValue in interface Field
Specified by:
setStringValue in class AbstractField

acceptStringValue

public boolean acceptStringValue(String value)
Returns true even if a set will changes nothing.

Specified by:
acceptStringValue in interface Field
Specified by:
acceptStringValue in class AbstractField

isReadOnly

public boolean isReadOnly()
Returns true.

Specified by:
isReadOnly in class DateField


Copyright © 2016 Silverpeas. All Rights Reserved.