public class ReportParameter extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DATE_FORMAT |
static String |
DATETIME_FORMAT |
protected String |
displayName |
protected boolean |
editable |
protected boolean |
error |
protected String |
help |
protected String |
name |
protected boolean |
required |
protected String |
stringValue |
static String |
TIME_FORMAT |
protected int |
type |
Constructor and Description |
---|
ReportParameter(org.eclipse.birt.report.engine.api.IParameterDefn paramDef) |
ReportParameter(org.eclipse.birt.report.engine.api.IParameterDefn paramDef,
String value) |
Modifier and Type | Method and Description |
---|---|
Boolean |
getBooleanValue() |
Date |
getDateTimeValue() |
String |
getDisplayName() |
Float |
getFloatValue() |
String |
getHelp() |
Integer |
getIntegerValue() |
String |
getName() |
Object |
getObjectValue() |
String |
getStringValue() |
int |
getType() |
String |
getTypeFormat() |
String |
getTypeName() |
boolean |
isEditable() |
boolean |
isError() |
boolean |
isRequired() |
boolean |
setAndValidateValue(String value) |
void |
setEditable(boolean editable) |
void |
setError(boolean error) |
void |
setObjectValue(Object value) |
void |
setValue(Boolean value) |
void |
setValue(Calendar value) |
void |
setValue(Date value) |
void |
setValue(Float value) |
void |
setValue(Integer value) |
void |
setValue(String value) |
String |
toString() |
public static final String DATETIME_FORMAT
public static final String DATE_FORMAT
public static final String TIME_FORMAT
protected int type
protected String stringValue
protected String displayName
protected boolean required
protected boolean editable
protected boolean error
public ReportParameter(org.eclipse.birt.report.engine.api.IParameterDefn paramDef)
public ReportParameter(org.eclipse.birt.report.engine.api.IParameterDefn paramDef, String value)
public boolean setAndValidateValue(String value)
public String getTypeName()
public String getTypeFormat()
public String getStringValue()
public Date getDateTimeValue()
public Boolean getBooleanValue()
public Integer getIntegerValue()
public Float getFloatValue()
public int getType()
public String getDisplayName()
public boolean isRequired()
public Object getObjectValue()
public void setObjectValue(Object value)
public boolean isEditable()
public void setEditable(boolean editable)
public boolean isError()
public void setError(boolean error)
Copyright © 2015 Nuxeo SA. All rights reserved.