Class DatasourceParameterDefinition
java.lang.Object
net.datenwerke.rs.core.service.parameters.entities.ParameterDefinition<DatasourceParameterInstance>
net.datenwerke.rs.base.service.parameters.datasource.DatasourceParameterDefinition
- All Implemented Interfaces:
Serializable,DatasourceContainerProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@GenerateDto(dtoImplementInterfaces=<error>,
dtoPackage="net.datenwerke.rs.base.client.parameters.datasource.dto",
displayTitle="RsMessages.INSTANCE.datasourceParameterText()",
additionalImports=RsMessages.class)
public class DatasourceParameterDefinition
extends ParameterDefinition<DatasourceParameterInstance>
implements DatasourceContainerProvider
A parameter that uses database queries to display its selection.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCastedValue(String value) intgetMode()Class<?> getType()intgetWidth()voidsetBoxLayoutMode(BoxLayoutMode boxLayoutMode) voidsetBoxLayoutPackColSize(int boxLayoutPackColSize) voidsetBoxLayoutPackMode(BoxLayoutPackMode boxLayoutPackMode) voidsetDatasourceContainer(DatasourceContainer datasourceContainer) voidvoidsetHeight(int height) voidvoidsetMultiDefaultValueSimpleData(List<DatasourceParameterData> multiDefaultValueSimpleData) voidsetMultiSelectionMode(MultiSelectionMode multiSelectionMode) voidsetPostProcess(String postProcess) voidsetReturnType(Datatype returnType) voidsetSingleDefaultValueSimpleData(DatasourceParameterData singleDefaultValueSimpleData) voidsetSingleSelectionMode(SingleSelectionMode singleSelectionMode) voidsetWidth(int width) Methods inherited from class net.datenwerke.rs.core.service.parameters.entities.ParameterDefinition
cleanDuplicated, configureParameterDefinitionForJuel, createParameterDefinitionForJuel, createParameterInstance, equals, getAllDependents, getDependsOn, getDescription, getId, getKey, getLabelWidth, getN, getName, getOldTransientId, getVersion, hashCode, initWithDefaultValues, isDisplayInline, isEditable, isHidden, isMandatory, isSeparator, setDependsOn, setDescription, setDisplayInline, setEditable, setHidden, setId, setKey, setLabelWidth, setMandatory, setN, setName, setOldTransientId, setVersion, toString
-
Constructor Details
-
DatasourceParameterDefinition
public DatasourceParameterDefinition()
-
-
Method Details
-
getMode
-
setMode
-
getDatasourceContainer
- Specified by:
getDatasourceContainerin interfaceDatasourceContainerProvider
-
setDatasourceContainer
- Specified by:
setDatasourceContainerin interfaceDatasourceContainerProvider
-
getSingleDefaultValueSimpleData
-
setSingleDefaultValueSimpleData
-
getMultiDefaultValueSimpleData
-
setMultiDefaultValueSimpleData
public void setMultiDefaultValueSimpleData(List<DatasourceParameterData> multiDefaultValueSimpleData) -
setReturnType
-
getReturnType
-
getFormat
-
setFormat
-
getHeight
public int getHeight() -
setHeight
public void setHeight(int height) -
getWidth
public int getWidth() -
setWidth
public void setWidth(int width) -
setSingleSelectionMode
-
getSingleSelectionMode
-
setMultiSelectionMode
-
getMultiSelectionMode
-
setBoxLayoutMode
-
getBoxLayoutMode
-
setBoxLayoutPackMode
-
getBoxLayoutPackMode
-
setBoxLayoutPackColSize
public void setBoxLayoutPackColSize(int boxLayoutPackColSize) -
getBoxLayoutPackColSize
public int getBoxLayoutPackColSize() -
getCastedValue
-
getType
-
getPostProcess
-
setPostProcess
-