com.sas.entities
Interface BaseEntityValueInterface

All Known Subinterfaces:
BaseEntityInterface, DynamicAttributeCommandInterface, OLAPExportCommandInterface, OLAPExportCommandV2Interface, RelationalExportCommandInterface, RelationalExportCommandV2Interface
All Known Implementing Classes:
ActionList, ActionSupportFilter, AddFolderAction, AddFolderCommand, AddFolderCommand, AddRowAction, AddRowCommand, AdvancedFilterSelectorCommand, AdvancedFilterSelectorCommandFacade, BaseAction, BaseCommand, BaseEditCommand, BaseEntity, com.sas.commands.olap.BaseOLAPCommand, BaseOLAPExportCommand, BaseRelationalExportCommand, BaseScrollCommand, BaseSelectorCommand, com.sas.commands.olap.BaseTupleElementCommand, CancelCommand, CancelRowInsertCommand, ClearCommand, ClearSortCommand, com.sas.commands.olap.CollapseCommand, CommitCommand, CommitInsertedRowCommand, CompositeDynamicAttributeCommand, CopyAction, CopyCommand, CopyCommand, CutAction, CutCommand, CutCommand, DataItemSelectorCommand, DeleteAction, DeleteCommand, DeleteCommand, DeleteCommand, DeleteRowAction, DeleteRowCommand, DetailsAction, DisplaySearchResultsCommand, DisplaySearchResultsCommand, com.sas.commands.olap.DrillDownCommand, com.sas.commands.olap.DrillUpCommand, Entity, ExceptionHighlightingChartCommand, ExceptionHighlightingCommand, com.sas.commands.olap.ExpandCommand, ExportSelectorCommand, ExportToCSVCommand, ExportToExcelCommand, ExportToExcelXMLCommand, ExportToHTMLCommand, ExportToTabSeparatedCommand, FilterAndRankSelectorCommand, FilterTypeCommand, FindAction, FindCommand, FindSelectorCommand, FormatSelectorCommand, GoBackAction, GoBackCommand, GotoColumnCommand, GotoRowCommand, HideColumnCommand, HoldColumnCommand, HoldRowCommand, HttpAction, HttpSearchCommand, InsertCommand, InsertRowCommand, ListAction, MapBaseCommand, MapClearSelectionsCommand, MapCollapseCommand, MapDrillDownCommand, MapDrillUpCommand, MapExpandCommand, MapExportToExcelCommand, MapFilterSelectionsCommand, MapFullExtentsCommand, MapIdentifyCommand, MapPanCommand, MapPropertyCommand, MapRectangularSelectCommand, MapReportLinkingCommand, MapResizeCommand, MapSelectCommand, MapSetMeasureCommand, MapZoomInCommand, MapZoomOutCommand, MemberPropertiesCommand, MoveColumnAction, MoveColumnCommand, OLAPExportToCSVCommand, OLAPExportToExcelXMLCommand, OLAPExportToHTMLCommand, OLAPExportToTabSeparatedCommand, OLAPSortSelectorCommand, OLAPTimeBasedFilterCommand, OpenFolderAction, OpenFolderCommand, OpenFolderCommand, PasteAction, PasteCommand, PasteCommand, PasteCommand, PercentCalculationsCommand, RankingCommand, ReleaseAllColumnsCommand, ReleaseAllRowsCommand, ReleaseColumnCommand, ReleaseRowCommand, RenameAction, RenameCommand, RenameCommand, com.sas.actionprovider.support.graphics.ResizeCommand, ScrollFirstColumnCommand, ScrollFirstRowCommand, ScrollLastColumnCommand, ScrollLastRowCommand, ScrollNextColumnCommand, ScrollNextColumnPageCommand, ScrollNextRowCommand, ScrollNextRowPageCommand, ScrollPreviousColumnCommand, ScrollPreviousColumnPageCommand, ScrollPreviousRowCommand, ScrollPreviousRowPageCommand, SelectorAction, SelectorAction, ShowAllColumnsCommand, ShowColumnCommand, ShowColumnHeaderCommand, ShowDetailSelectorCommand, ShowRowHeaderCommand, SimpleCalculatedItemSelectorCommand, SortAction, SortCommand, SortCommand, SortFoldersFirstCommand, SortFoldersFirstCommand, SortSelectorCommand, StartSearchAction, StartSearchCommand, SwingAction, TableViewAction, TableViewActionSupportFilter, TotalsCommand, TreeAction, UpdateCommand, UpOneLevelAction, UpOneLevelCommand, ViewMenuAction, ViewSelectionAction

public interface BaseEntityValueInterface

BaseEntityValueInterface represents a local (non-remote)Entity.

See Also:
RemoteBaseEntityValueInterface

Method Summary
 java.lang.Object getAttribute(java.lang.String attributeName)
          Get an attribute value from the Entity.
 void setAttribute(java.lang.String attributeName, java.lang.Object value)
          Set an attribute and its value in the Entity.
 

Method Detail

setAttribute

void setAttribute(java.lang.String attributeName,
                  java.lang.Object value)
                  throws AttributeSetException
Set an attribute and its value in the Entity.

Parameters:
attributeName - the name of the attribute
value - the value to associate with the attribute. Attribute values may be null if permitted by the AttributeType associated with the AttributeDescriptor
Throws:
AttributeSetException - if the AttributeType of the parameter, value, is not compatible with a previous setting of the attribute OR the attribute corresponding to the parameter, attributeName, has been designated as non-modifiable
See Also:
AttributeTypeInterface

getAttribute

java.lang.Object getAttribute(java.lang.String attributeName)
                              throws java.util.NoSuchElementException
Get an attribute value from the Entity.

Parameters:
attributeName - the name of the value
Returns:
the object associated with the attributeName
Throws:
java.util.NoSuchElementException - if there is no such value in the Entity (this is necessary to distinguish between no such attributeName and a value of null)



Copyright © 2009 SAS Institute Inc. All Rights Reserved.