Oracle Data-aware Controls Reference

oracle.dacf.dataset
Class PropertyInfo

java.lang.Object
  extended byoracle.dacf.dataset.DacObject
      extended byoracle.dacf.dataset.ProducerObject
          extended byoracle.dacf.dataset.PropertyInfo
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
AttributePropertyInfo, RowSetPropertyInfo, SessionPropertyInfo, StatusInfo

public abstract class PropertyInfo
extends ProducerObject

Base abstract class for properties of a DataItem that are exposed through the ImmediateAccess interface.

Version:
INTERNAL; since JDeveloper 3.1

Field Summary
 
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
protected PropertyInfo()
           
protected PropertyInfo(java.lang.String name)
           
 
Method Summary
protected  void closeCheck()
          Checks to see if close is permitted.
protected  void closeChildren()
          A subclass specific method for disconnecting the child objects from their server objects counterparts.
protected  void closeProducerObject()
          A subclass specific method for disconnecting the client object from the appropriate server objects.
protected  java.lang.String genCloneName()
          Used by the clone method to generate a name for the clone.
 java.lang.String getFormatString()
          get the format string currently in use
 Formatter getFormatter()
          get the Formatter currently in use
 boolean isReadOnly()
          Returns the read-only value for the property being exposed.
protected  void openChildren()
          A subclass specific method for connecting the child objects to their server counterparts.
protected  void openProducerObject()
          A subclass specific method for connecting the client object from the appropriate server objects.
 void setFormatString(java.lang.String formatString)
          Sets the formatter string to be used for formatting
 void setFormatter(Formatter formatterToUse)
          Sets the Formatter to be used
 void setReadOnly(boolean readOnly)
          Sets the read-only value for the property being exposed.
 
Methods inherited from class oracle.dacf.dataset.ProducerObject
addChild, addClonedDataItem, clone, close, closeDataItems, findDataItem, findProducerObject, findProducerObject, getClonedDataItems, getDataItem, getDataItemImpl, getDataProducer, getDataSourceName, getFullName, isAClonedDataItem, isOpen, open, openDataItems, publishDataItem, publishDataItem, removeChild, removeClonedDataItem, revokeDataItem, setClonedDataItems, setDataItem, setDataSourceName, setName, setOpen
 
Methods inherited from class oracle.dacf.dataset.DacObject
addChild, findDescendant, getChild, getChildIndex, getChildren, getName, getNumOfChildren, getParent, getPrefix, insertChildAt, removeChild, removeChildren, setChildren, setParent, setPrefix
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyInfo

protected PropertyInfo()

PropertyInfo

protected PropertyInfo(java.lang.String name)
Method Detail

setReadOnly

public void setReadOnly(boolean readOnly)
Sets the read-only value for the property being exposed.

Parameters:
readOnly - True if the exposed property is to be read-only
See Also:
isReadOnly()

isReadOnly

public boolean isReadOnly()
Returns the read-only value for the property being exposed.

Returns:
True if the exposed property is to be read-only
See Also:
setReadOnly(boolean readOnly)

setFormatter

public void setFormatter(Formatter formatterToUse)
Sets the Formatter to be used

Parameters:
formatterToUse - a formatter object

getFormatter

public Formatter getFormatter()
get the Formatter currently in use

Returns:
formatter object currently in use

setFormatString

public void setFormatString(java.lang.String formatString)
Sets the formatter string to be used for formatting

Parameters:
formatString - format string to use

getFormatString

public java.lang.String getFormatString()
get the format string currently in use

Returns:
format string currently in use

openProducerObject

protected void openProducerObject()
A subclass specific method for connecting the client object from the appropriate server objects. Internal to the framework; should never be called by client classes

Specified by:
openProducerObject in class ProducerObject

openChildren

protected void openChildren()
A subclass specific method for connecting the child objects to their server counterparts. Internal to the framework; should never be called by client classes

Specified by:
openChildren in class ProducerObject

closeCheck

protected void closeCheck()
Checks to see if close is permitted.

Internal to the framework; should never be called by client classes

Specified by:
closeCheck in class ProducerObject
Throws:
DataSourceOperationException - Occurs when closing isn't allowed.

closeProducerObject

protected void closeProducerObject()
A subclass specific method for disconnecting the client object from the appropriate server objects. Internal to the framework; should never be called by client classes

Specified by:
closeProducerObject in class ProducerObject

closeChildren

protected void closeChildren()
A subclass specific method for disconnecting the child objects from their server objects counterparts. Internal to the framework; should never be called by client classes

Specified by:
closeChildren in class ProducerObject

genCloneName

protected java.lang.String genCloneName()
Used by the clone method to generate a name for the clone.

Overrides:
genCloneName in class DacObject

Oracle Data-aware Controls Reference

 

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