@GenerateDto(dtoPackage="net.datenwerke.rs.core.client.parameters.dto", abstractDto=true) public abstract class ParameterInstance<D extends ParameterDefinition> extends java.lang.Object implements java.io.Serializable
Constructor and Description |
---|
ParameterInstance() |
Modifier and Type | Method and Description |
---|---|
ParameterInstance |
cloneInstanceForReportVariant() |
void |
configureEL(User user,
ExpressionFactory factory,
ELContext context,
ParameterSet parameterSet)
Configures the EL that is used to parse the parameters into the query
strings.
|
void |
configureParameterMap(User user,
java.util.Map<java.lang.String,ParameterValue> parameterMap,
ParameterSet parameterSet) |
boolean |
equals(java.lang.Object obj) |
abstract java.lang.Object |
getDefaultValue(User user,
ParameterSet parameterSet) |
D |
getDefinition() |
java.lang.Long |
getId() |
java.lang.String |
getKey() |
abstract java.lang.Object |
getSelectedValue(User user) |
java.lang.Long |
getTransientId() |
java.lang.Long |
getVersion() |
int |
hashCode() |
boolean |
isStillDefault() |
void |
parseStringValue(java.lang.String value)
Called for example by the xport via url servlet.
|
java.lang.String |
prettyPrintSelectedValue(User user) |
void |
setDefinition(ParameterDefinition definition) |
void |
setId(java.lang.Long id) |
void |
setStillDefault(boolean stillDefault) |
void |
setTransientId(java.lang.Long transientId) |
void |
setVersion(java.lang.Long version) |
java.lang.String |
toInformationString(User user)
Should provide a short summary about the selected value
|
public java.lang.Long getId()
public void setId(java.lang.Long id)
public void setTransientId(java.lang.Long transientId)
public java.lang.Long getTransientId()
public void setStillDefault(boolean stillDefault)
public boolean isStillDefault()
public java.lang.Long getVersion()
public void setVersion(java.lang.Long version)
public void setDefinition(ParameterDefinition definition)
public D getDefinition()
public final java.lang.String getKey()
public ParameterInstance cloneInstanceForReportVariant()
public abstract java.lang.Object getSelectedValue(User user)
public java.lang.String prettyPrintSelectedValue(User user)
public abstract java.lang.Object getDefaultValue(User user, ParameterSet parameterSet)
public void configureEL(User user, ExpressionFactory factory, ELContext context, ParameterSet parameterSet)
user
- The user the report is executed withcontext
- The context object to be configuredparameterSet
- factory
- public void configureParameterMap(User user, java.util.Map<java.lang.String,ParameterValue> parameterMap, ParameterSet parameterSet)
public void parseStringValue(java.lang.String value)
value
- public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toInformationString(User user)