Module com.speedment.common.codegen
Interface LicenseTerm
-
- All Superinterfaces:
HasCall<LicenseTerm>,HasCopy<LicenseTerm>,HasParent<HasLicenseTerm<?>,LicenseTerm>
public interface LicenseTerm extends HasParent<HasLicenseTerm<?>,LicenseTerm>, HasCopy<LicenseTerm>, HasCall<LicenseTerm>
A model that represents a block of licenseterm in code.- Since:
- 3.1.18
- Author:
- Per Minborg
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetText()Returns the body text shown in the licenseterm.static LicenseTermof()Creates a new instance implementing this interface by using the default implementation.static LicenseTermof(String text)Creates a new instance implementing this interface by using the default implementation.LicenseTermsetText(String text)Sets the body text shown in the licenseterm.
-
-
-
Method Detail
-
setText
LicenseTerm setText(String text)
Sets the body text shown in the licenseterm.- Parameters:
text- the text- Returns:
- a reference to this model
-
getText
String getText()
Returns the body text shown in the licenseterm.- Returns:
- the body documentation text
-
of
static LicenseTerm of()
Creates a new instance implementing this interface by using the default implementation.- Returns:
- the new instance
-
of
static LicenseTerm of(String text)
Creates a new instance implementing this interface by using the default implementation.- Parameters:
text- the documentation- Returns:
- the new instance
-
-