|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.iquery.metadata.business.SelectedItem
public class SelectedItem
Specifies the combination of a data item (result item) and its role in a single object. It also include addition information about the type of data (formatted, unformatted, or both) to be returned for the data item.
Field Summary | |
---|---|
static int |
RETURN_AS_SPECIFIED_IN_BUSINESS_QUERY
This format type specifies that the type of data (formatted or unformatted) to be returned will be determined by the business query that this object is associated with. |
static int |
RETURN_FORMATTED_AND_UNFORMATTED_DATA
This format type specifies that both formatted and unformatted data will be returned. |
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 | |
---|---|
SelectedItem(DataItem item,
Role role)
Construct a new selected item object with the specified data item and role. |
Method Summary | |
---|---|
java.util.List<Drill> |
getDrillOrder()
Returns the last persisted drill order for this item if applicable. |
int |
getFormatType()
Returns the format type for this selected item. |
DataItem |
getItem()
Returns the data item that is used as a result item. |
Role |
getRole()
Returns the role that is associated to the data item. |
void |
setFormatType(int formatType)
Sets the format type for this selected item. |
void |
setRole(Role role)
Set the role to associate to the data item. |
Methods inherited from interface com.sas.iquery.metadata.PropertyChangeListenee |
---|
getListeners |
Field Detail |
---|
public static final int RETURN_AS_SPECIFIED_IN_BUSINESS_QUERY
public static final int RETURN_FORMATTED_AND_UNFORMATTED_DATA
Constructor Detail |
---|
public SelectedItem(DataItem item, Role role)
item
- the data item to be used as a result item.role
- the role that the specified DataItem will use in the list of result items.
java.lang.IllegalArgumentException
- if the data item specified is nullMethod Detail |
---|
public int getFormatType()
public void setFormatType(int formatType)
formatType
- The formatType to set.
java.lang.IllegalArgumentException
- if an invalid format type is set.public Role getRole()
public void setRole(Role role)
Property change events signaled:
role
- The role to set.public DataItem getItem()
public java.util.List<Drill> getDrillOrder()
Drill
objects
|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |