|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.iquery.metadata.business.LookupValue
public class LookupValue
Defines a single lookup value that is used by LookupList
.
A LookupValue object contains a formatted and/or unformatted value that are used for possible filter values
for a data item.
Field Summary |
---|
Fields inherited from interface com.sas.iquery.metadata.business.ModelItem |
---|
EVENT_OBJECT_PROPERTY_CHANGED |
Fields inherited from interface com.sas.iquery.metadata.business.Base |
---|
EVENT_OBJECT_DEFINITION_CHANGED |
Constructor Summary | |
---|---|
LookupValue()
Creates a default lookup value for which null will be returned by calls to getFormattedValue() and getUnformattedValue() . |
|
LookupValue(java.lang.String formatted,
java.lang.String unformatted,
boolean quoted)
Defines formatted and unformatted values for lookup and whether unformatted value should be placed within quotations. |
Method Summary | |
---|---|
java.lang.String |
getFormattedValue()
Returns the formatted data value. |
java.lang.String |
getUnformattedValue()
Returns the unformatted data value. |
boolean |
isQuoted()
Returns true if the unformatted value should be place within quotation marks within the data selection. |
void |
setFormattedValue(java.lang.String value)
Set the formatted data value. |
void |
setIsQuoted(boolean quoted)
The isQuoted attribute is used to determine if the unformatted value should be place within quotation marks within the data selection. |
void |
setUnformattedValue(java.lang.String value)
Set the unformatted data value |
Methods inherited from interface com.sas.iquery.metadata.PropertyChangeListenee |
---|
addListener, getListeners, removeListener |
Constructor Detail |
---|
public LookupValue()
null
will be returned by calls to getFormattedValue()
and getUnformattedValue()
.
public LookupValue(java.lang.String formatted, java.lang.String unformatted, boolean quoted)
formatted
- the formatted lookup valueunformatted
- the unformatted lookup valuequoted
- true if the unformatted lookup value should be in quotations.Method Detail |
---|
public void setFormattedValue(java.lang.String value)
value
- formatted data valuepublic void setUnformattedValue(java.lang.String value)
value
- unformatted data valuepublic void setIsQuoted(boolean quoted)
quoted
- if true the unformatted value should be place within quotation marks within the data selectionpublic java.lang.String getFormattedValue()
public java.lang.String getUnformattedValue()
public boolean isQuoted()
|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |