org.cantaloop.cgimlet.lang
Interface FieldTemplate
- All Superinterfaces:
- Template
- All Known Implementing Classes:
- JFieldTemplate
- public interface FieldTemplate
- extends Template
A template for a field of a class.
- Version:
- 0.2.0 ($Revision: 1.4 $)
- Author:
- Stefan Heimann
getCode
public java.lang.String getCode()
- Returns the code for the field.
- Specified by:
getCode
in interface Template
setType
public void setType(Type t)
getType
public Type getType()
getName
public java.lang.String getName()
setModifier
public void setModifier(Modifier m)
getModifier
public Modifier getModifier()
setInitValue
public void setInitValue(java.lang.String val)
- Sets the code the field should be initialized with.
getInitValue
public java.lang.String getInitValue()
- Sets the code the field should be initialized with.