Package org.ametys.cms.form
Class SimpleField<T>
- java.lang.Object
-
- org.ametys.cms.form.AbstractField
-
- org.ametys.cms.form.SimpleField<T>
-
- Type Parameters:
T
- The type of data
- Direct Known Subclasses:
BinaryField
public class SimpleField<T> extends AbstractField
A string field for managingString
metadata.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ametys.cms.form.AbstractField
AbstractField.MODE
-
-
Constructor Summary
Constructors Constructor Description SimpleField(T[] values)
Creates aString
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T[]
getValues()
Retrieves the values.String
toString()
-
Methods inherited from class org.ametys.cms.form.AbstractField
getMode, setMode, setMode
-
-
-
-
Constructor Detail
-
SimpleField
public SimpleField(T[] values)
Creates aString
.- Parameters:
values
- the values.
-
-