public class ContextParameter extends Object implements InjectablePOS, Serializable
Constructor and Description |
---|
ContextParameter() |
ContextParameter(InputType type,
String name,
Date targetDate,
PersistedObjectService objService) |
ContextParameter(LookupTable lt,
Date targetDate) |
ContextParameter(LookupTable lt,
Date targetDate,
String defaultValue) |
ContextParameter(String name,
DMFieldCollection fc,
String field,
String defaultValue) |
public ContextParameter()
public ContextParameter(InputType type, String name, Date targetDate, PersistedObjectService objService)
public ContextParameter(LookupTable lt, Date targetDate)
public void updateFromFormulaInputDescriptor(FormulaInputDescriptor fid)
public void updateWithLookupTable(LookupTable lt)
lt
- public boolean isLookupType()
public final boolean isCustomerParam()
public final boolean isProductParam()
public final boolean isProductGroupParam()
public final boolean isMatrixParam()
public final boolean isOptionParam()
public final boolean isOptionsParam()
public final boolean isHiddenParam()
public Boolean isRequired()
public void setRequired(Boolean required)
public String getName()
public String getLabel()
public void setLabel(String label)
public String getLabelTranslations()
public void setLabelTranslations(String labelTranslations)
public void setFilters(Filter... filters)
public String getParameterGroup()
public void setParameterGroup(String parameterGroup)
public String getURL()
public void setURL(String url)
public String getType()
public InputType getInputType()
public void applyType(InputType inputType)
public String getValueHint()
public void setValueHint(String hint)
public String[] getValueOptions()
public void setValueOptions(String[] valueOptions)
public String getLookupTableId()
public Object getValue()
public void setValue(Object value)
public Boolean getReadOnly()
public void setReadOnly(Boolean readOnly)
public ContextParameter setConfigParameter(String paramName, Object value)
public ContextParameter clearConfigParameter(String paramName)
public Boolean getAddUnknownValues()
public void setAddUnknownValues(Boolean addUnknownValues)
public String getTypedId()
public void setTypedId(String typedId)
public Boolean getAlwaysEditable()
public void setAlwaysEditable(Boolean alwaysEditable)
public ContextParameter copyWithoutValue()
public void update(ContextParameter cp)
public PersistedObjectService getObjectService()
getObjectService
in interface InjectablePOS
Copyright © 2019. All rights reserved.