Oracle Data-aware Controls Reference

oracle.dacf.dataset
Class LOVAttributeInfo

java.lang.Object
  extended byoracle.dacf.dataset.DacObject
      extended byoracle.dacf.dataset.ProducerObject
          extended byoracle.dacf.dataset.InfoObject
              extended byoracle.dacf.dataset.ColumnInfo
                  extended byoracle.dacf.dataset.LOVAttributeInfo
All Implemented Interfaces:
java.lang.Cloneable

public class LOVAttributeInfo
extends ColumnInfo

The LOVAttributeInfo class is derived from ColumnInfo and is used in association with LOV data producers. This class is an attribute of a query and has a notion of a SQL type and column name. LOVAttribute columns do not support default values and are always queriable-false; that is, you cannot set a WHERE clause for them.

All other column-specific properties are inherited from the ColumnInfo class.

Version:
SDK; since JDeveloper 2.0
See Also:
AttributeInfo, ColumnInfo

Field Summary
 
Fields inherited from class oracle.dacf.dataset.ColumnInfo
DEFAULT, ERR_PROD_CODE, UPDATEABLE_IF_NEW
 
Fields inherited from class oracle.dacf.dataset.InfoObject
_updateMode, LEVEL_APPLICATION, LEVEL_ATTRIBUTE, LEVEL_COLUMN, LEVEL_QUERY_VIEW, LEVEL_ROOT, LEVEL_ROW, LEVEL_ROWSET, LEVEL_SESSION, PROPERTIES_COLUMN_NAME, UPDATEABLE_FALSE, UPDATEABLE_MAX_VAL, UPDATEABLE_TRUE, UPDATEABLE_UNDEFINED
 
Fields inherited from class oracle.dacf.dataset.ProducerObject
_openLock
 
Fields inherited from class oracle.dacf.dataset.DacObject
EMPTY_PREFIX, INITIAL_CAPACITY, ITEMNAME_DELIMITER
 
Constructor Summary
  LOVAttributeInfo()
          Public constructor.
  LOVAttributeInfo(int sqlType)
          Public constructor requiring the java.sql.Type of the LOVAttributeInfo.
protected LOVAttributeInfo(java.lang.String colName)
          Constructor requiring the name of the LOVAttributeInfo column.
 
Method Summary
 java.lang.String getName()
          Returns the name of the DacObject.
 java.lang.String getReturnItemName()
          Returns the "return item name".
 boolean isUpdateable()
          Returns true if this attribute is updateable.
 void publishLOVAttribute()
          Publishes the LOVAttribute and its child items on the InfoBus.
 void publishLOVAttribute(boolean activate)
          Deprecated. Use publishLOVAttribute()
 void revokeLOVAttribute()
          Revokes the LOVAttribute and its child items on the InfoBus.
 void setName(java.lang.String st)
          Sets the InfoBus bind name of the object.
 void setReturnItemName(java.lang.String returnItemName)
          Specifies the "return item name"
 
Methods inherited from class oracle.dacf.dataset.ColumnInfo
clone, closeCheck, closeChildren, closeDataItems, closeProducerObject, createPropertyColumn, getAttributeDef, getColumnAlignment, getColumnIndex, getColumnName, getColumnWidth, getDataItem, getDisplayable, getDisplayed, getFormatString, getFormatter, getFormatterInfo, getImmediateAccess, getLabel, getSQLType, isDirty, isNullAllowed, isPrimaryKey, isSortingEnabled, isUpdateableIfNew, isValid, openChildren, openDataItems, openProducerObject, setColumnAlignment, setColumnName, setColumnWidth, setDirty, setDisplayable, setDisplayed, setFormatString, setFormatter, setFormatterInfo, setLabel, setSortingEnabled, setUpdateableIfNew, setValid, setViewObject
 
Methods inherited from class oracle.dacf.dataset.InfoObject
addChangeListener, addValidationListener, areParentsValid, clearDirty, createChild, fireValidationEvent, forceValid, getChangeListeners, getLocale, getUpdateMode, getValidationListeners, internalValidation, isActive, processValidationEvent, removeChangeListener, removeValidationListener, setActive, setLocale, setUpdateable, toString, validate, validate, validate
 
Methods inherited from class oracle.dacf.dataset.ProducerObject
addChild, addClonedDataItem, close, findDataItem, findProducerObject, findProducerObject, getClonedDataItems, getDataItemImpl, getDataProducer, getDataSourceName, getFullName, isAClonedDataItem, isOpen, open, publishDataItem, publishDataItem, removeChild, removeClonedDataItem, revokeDataItem, setClonedDataItems, setDataItem, setDataSourceName, setOpen
 
Methods inherited from class oracle.dacf.dataset.DacObject
addChild, findDescendant, genCloneName, getChild, getChildIndex, getChildren, getNumOfChildren, getParent, getPrefix, insertChildAt, removeChild, removeChildren, setChildren, setParent, setPrefix
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LOVAttributeInfo

public LOVAttributeInfo()
Public constructor.


LOVAttributeInfo

public LOVAttributeInfo(int sqlType)
Public constructor requiring the java.sql.Type of the LOVAttributeInfo.

Parameters:
sqlType - the SQL type of the attribute, according to java.sql.Types.

LOVAttributeInfo

protected LOVAttributeInfo(java.lang.String colName)
Constructor requiring the name of the LOVAttributeInfo column.

Parameters:
colName - the name of the LOVAttributeInfo column.
Method Detail

setName

public void setName(java.lang.String st)
Description copied from class: ProducerObject
Sets the InfoBus bind name of the object.

Overrides:
setName in class ColumnInfo

getName

public java.lang.String getName()
Description copied from class: DacObject
Returns the name of the DacObject.

Overrides:
getName in class ColumnInfo

isUpdateable

public boolean isUpdateable()
Returns true if this attribute is updateable.

Overrides:
isUpdateable in class ColumnInfo
Returns:
true if this is an editable attribute; false if it is read-only.

setReturnItemName

public void setReturnItemName(java.lang.String returnItemName)
Specifies the "return item name"

the name of the item that will be populated by this column.

Parameters:
returnItemName - returns item to be used for this column

getReturnItemName

public java.lang.String getReturnItemName()
Returns the "return item name".

the name of the item that will be populated by this column.

Returns:
return item name

publishLOVAttribute

public void publishLOVAttribute()
Publishes the LOVAttribute and its child items on the InfoBus.

This method will cause the LOVAttribute to be opened if it hasn't been previously opened.


publishLOVAttribute

public void publishLOVAttribute(boolean activate)
Deprecated. Use publishLOVAttribute()


revokeLOVAttribute

public void revokeLOVAttribute()
Revokes the LOVAttribute and its child items on the InfoBus.

See Also:
publishLOVAttribute()

Oracle Data-aware Controls Reference

 

Copyright © 1997, 2003, Oracle. All rights reserved.