Module com.speedment.common.codegen
Interface InterfaceField
-
- All Superinterfaces:
HasAnnotationUsage<InterfaceField>,HasCopy<InterfaceField>,HasImports<InterfaceField>,HasJavadoc<InterfaceField>,HasModifiers<InterfaceField>,HasName<InterfaceField>,HasParent<Interface,InterfaceField>,HasType<InterfaceField>,HasValue<InterfaceField>,InterfaceFieldModifier<InterfaceField>
public interface InterfaceField extends HasParent<Interface,InterfaceField>, HasImports<InterfaceField>, HasName<InterfaceField>, HasType<InterfaceField>, InterfaceFieldModifier<InterfaceField>, HasJavadoc<InterfaceField>, HasValue<InterfaceField>, HasAnnotationUsage<InterfaceField>, HasCopy<InterfaceField>
A model that represents a field of an interface in code.- Since:
- 2.0
- Author:
- Emil Forslund
- See Also:
Interface
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default Tfinal_()Adds thefinalkeyword to this model.default TnotFinal()Removes thefinalkeyword from this model.static InterfaceFieldof(Field wrapped)Creates a new instance implementing this interface by wrapping an existingFieldin anInterfaceFieldImpl.-
Methods inherited from interface com.speedment.common.codegen.model.trait.HasAnnotationUsage
add, annotate, annotate, annotate, getAnnotations
-
Methods inherited from interface com.speedment.common.codegen.model.trait.HasImports
add, getImports, imports, imports, imports
-
Methods inherited from interface com.speedment.common.codegen.model.trait.HasJavadoc
getJavadoc, javadoc, set
-
Methods inherited from interface com.speedment.common.codegen.model.trait.HasModifiers
getModifiers
-
-
-
-
Method Detail
-
of
static InterfaceField of(Field wrapped)
Creates a new instance implementing this interface by wrapping an existingFieldin anInterfaceFieldImpl.- Parameters:
wrapped- the wrapped field- Returns:
- the new instance
-
final_
default T final_()
Adds thefinalkeyword to this model.- Returns:
- a reference to this model
-
notFinal
default T notFinal()
Removes thefinalkeyword from this model.- Returns:
- a reference to this model
-
-