Class GenericResourcePlugin.Field
- java.lang.Object
-
- org.gcube.resourcemanagement.support.shared.plugins.GenericResourcePlugin.Field
-
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable,Serializable
- Enclosing class:
- GenericResourcePlugin
public static class GenericResourcePlugin.Field extends Object implements Serializable, com.google.gwt.user.client.rpc.IsSerializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Field()Deprecated.for serialization onlyField(String name, String label, GenericResourcePlugin.FieldType type, boolean required)Field(String name, GenericResourcePlugin.FieldType type)Field(String name, GenericResourcePlugin.FieldType type, boolean required)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDefaultValue()StringgetLabel()StringgetName()Corresponds to the tag name in the bodyGenericResourcePlugin.FieldTypegetType()booleanisRequired()voidsetDefaultValue(String defaultValue)voidsetIsRequired(boolean required)voidsetLabel(String label)voidsetType(GenericResourcePlugin.FieldType type)
-
-
-
Constructor Detail
-
Field
public Field()
Deprecated.for serialization only
-
Field
public Field(String name, GenericResourcePlugin.FieldType type)
-
Field
public Field(String name, GenericResourcePlugin.FieldType type, boolean required)
-
Field
public Field(String name, String label, GenericResourcePlugin.FieldType type, boolean required)
-
-
Method Detail
-
getDefaultValue
public final String getDefaultValue()
-
setDefaultValue
public final void setDefaultValue(String defaultValue)
-
setLabel
public final void setLabel(String label)
-
getLabel
public final String getLabel()
-
getName
public final String getName()
Corresponds to the tag name in the body- Returns:
-
getType
public final GenericResourcePlugin.FieldType getType()
-
setType
public final void setType(GenericResourcePlugin.FieldType type)
-
isRequired
public final boolean isRequired()
-
setIsRequired
public final void setIsRequired(boolean required)
-
-