Package org.ametys.plugins.forms
Class Field
- java.lang.Object
-
- org.ametys.plugins.forms.Field
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classField.FieldTypeField type.
-
Constructor Summary
Constructors Constructor Description Field(String id, Field.FieldType type, String name, String label, Map<String,String> properties)Constructor with parameters.Field(Field.FieldType type)Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Get the id.StringgetLabel()Get the label.StringgetName()Get the name.Map<String,String>getProperties()Get the properties.Field.FieldTypegetType()Get the type.voidsetId(String id)Set the id.voidsetLabel(String label)Set the label.voidsetName(String name)Set the name.voidsetProperties(Map<String,String> properties)Set the properties.voidsetType(Field.FieldType type)Set the type.
-
-
-
Constructor Detail
-
Field
public Field(Field.FieldType type)
Default constructor.- Parameters:
type- the field type.
-
-
Method Detail
-
getType
public Field.FieldType getType()
Get the type.- Returns:
- the type
-
setType
public void setType(Field.FieldType type)
Set the type.- Parameters:
type- the type to set
-
getProperties
public Map<String,String> getProperties()
Get the properties.- Returns:
- the properties
-
setProperties
public void setProperties(Map<String,String> properties)
Set the properties.- Parameters:
properties- the properties to set
-
-