Class TextRoField
- java.lang.Object
-
- org.silverpeas.core.contribution.content.form.AbstractField
-
- org.silverpeas.core.contribution.content.form.field.TextField
-
- org.silverpeas.core.workflow.engine.datarecord.TextRoField
-
- All Implemented Interfaces:
Serializable
,Comparable
,Field
public class TextRoField extends TextField
A read only TextField- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.contribution.content.form.field.TextField
CONTENT_TYPE, CONTENT_TYPE_FLOAT, CONTENT_TYPE_INT, PARAM_MAXLENGTH, TYPE
-
Fields inherited from interface org.silverpeas.core.contribution.content.form.Field
FILE_PARAM_NAME_SUFFIX, TYPE_FILE
-
-
Constructor Summary
Constructors Constructor Description TextRoField(String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Tests equality between this field and the specified field.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.TextField
acceptObjectValue, acceptStringValue, 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
-
TextRoField
public TextRoField(String value)
-
-
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)
Changes nothing.- Specified by:
setStringValue
in interfaceField
- Specified by:
setStringValue
in classAbstractField
-
isReadOnly
public boolean isReadOnly()
Returns true.- Specified by:
isReadOnly
in classTextField
-
equals
public boolean equals(Object o)
Description copied from class:TextField
Tests equality between this field and the specified field.
-
-