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 class
Field.FieldType
Field 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 String
getId()
Get the id.String
getLabel()
Get the label.String
getName()
Get the name.Map<String,String>
getProperties()
Get the properties.Field.FieldType
getType()
Get the type.void
setId(String id)
Set the id.void
setLabel(String label)
Set the label.void
setName(String name)
Set the name.void
setProperties(Map<String,String> properties)
Set the properties.void
setType(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
-
-