Module com.speedment.common.codegen
Interface HasJavadoc<T extends HasJavadoc<T>>
-
- Type Parameters:
T- the extending type
- All Known Subinterfaces:
Annotation,Class,ClassOrInterface<T>,Constructor,Enum,EnumConstant,Field,File,Interface,InterfaceField,InterfaceMethod,Method
public interface HasJavadoc<T extends HasJavadoc<T>>A trait for models that containJavadoccomponents.- Since:
- 2.0
- Author:
- Emil Forslund
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Optional<Javadoc>getJavadoc()Returns the documentation of this model if such exists, elseempty.default Tjavadoc(Javadoc doc)Sets theJavadocof this model.Tset(Javadoc doc)Sets theJavadocof this model.
-
-
-
Method Detail
-
set
T set(Javadoc doc)
Sets theJavadocof this model.- Parameters:
doc- the javadoc- Returns:
- a reference to this
-
javadoc
default T javadoc(Javadoc doc)
Sets theJavadocof this model. This method is a synonym forset(Javadoc).- Parameters:
doc- the javadoc- Returns:
- a reference to this
- Since:
- 2.5
-
-