Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.codehaus.modello.model.BaseElement
org.codehaus.modello.model.ModelField
public class ModelField
extends BaseElement
Constructor Summary | |
|
Method Summary | |
String |
|
String | |
FieldMetadata |
|
ModelClass | |
String |
|
String | |
void |
|
boolean | |
boolean | |
boolean | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
String |
|
void |
Methods inherited from class org.codehaus.modello.model.BaseElement | |
addMetadata , equals , getComment , getDeprecatedVersion , getDescription , getMetadata , getName , getVersionRange , hasMetadata , hashCode , isEmpty , setComment , setDeprecatedVersion , setDescription , setName , setVersionRange , validate , validateElement , validateFieldNotEmpty |
public String getAlias()
public String getDefaultValue()
public String getType()
public String getTypeValidator()
public boolean isIdentifier()
public boolean isPrimitive()
public boolean isRequired()
public void setAlias(String alias)
public void setDefaultValue(String defaultValue)
public void setIdentifier(boolean identifier)
public void setRequired(boolean required)
public void setType(String type)
public void setTypeValidator(String typeValidator)
public String toString()
public void validateElement() throws ModelValidationException
- Overrides:
- validateElement in interface BaseElement