Module com.speedment.common.codegen
Interface HasLicenseTerm<T extends HasLicenseTerm<T>>
-
- Type Parameters:
T- the extending type
- All Known Subinterfaces:
File
public interface HasLicenseTerm<T extends HasLicenseTerm<T>>A trait for models that containLicenseTermcomponents.- Since:
- 3.1.19
- Author:
- Per Minborg
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Optional<LicenseTerm>getLicenseTerm()Returns the documentation of this model if such exists, elseempty.default TlicenseTerm(String text)Sets theLicenseTermof this model.Tset(LicenseTerm doc)Sets theLicenseTermof this model.
-
-
-
Method Detail
-
set
T set(LicenseTerm doc)
Sets theLicenseTermof this model.- Parameters:
doc- the javadoc- Returns:
- a reference to this
-
licenseTerm
default T licenseTerm(String text)
Sets theLicenseTermof this model. This method is a synonym forset(LicenseTerm).- Parameters:
text- the licenseterm- Returns:
- a reference to this
- Since:
- 3.1.18
-
getLicenseTerm
Optional<LicenseTerm> getLicenseTerm()
Returns the documentation of this model if such exists, elseempty.- Returns:
- the documentation or
empty
-
-