Oracle Data-aware Controls Reference

oracle.dacf.dataset
Interface DomainAccess


public interface DomainAccess

Retrieves and sets values as instance of a Domain.

This interface is an extension of the InfoBus ImmediateAccess interface. The purpose of these method is to allow the InfoBusConsumer to get and set values as DomainInterface objects.

See Also:
DomainInterface

Method Summary
 java.lang.Class getJavaType()
           
 oracle.jbo.domain.DomainInterface getValueAsDomain()
          Returns the value as an instance of a Domain.
 void setValueAsDomain(oracle.jbo.domain.DomainInterface newValue)
          Sets the value using an instance of a Domain.
 void setValueAsDomain(java.lang.Object newValue)
          Sets the value using an instance of a Object.
 

Method Detail

getJavaType

public java.lang.Class getJavaType()

getValueAsDomain

public oracle.jbo.domain.DomainInterface getValueAsDomain()
Returns the value as an instance of a Domain.

Returns:
the current value of the attribute
See Also:
DomainInterface

setValueAsDomain

public void setValueAsDomain(oracle.jbo.domain.DomainInterface newValue)
                      throws javax.infobus.InvalidDataException
Sets the value using an instance of a Domain.

Parameters:
newValue - the new value for the attribute to be stored.
Throws:
javax.infobus.InvalidDataException
See Also:
DomainInterface

setValueAsDomain

public void setValueAsDomain(java.lang.Object newValue)
                      throws javax.infobus.InvalidDataException
Sets the value using an instance of a Object.

The Object passed as a parameter will be converted to the appropriate Domain as determined by oracle.jbo.domain.TypeFactory.

Parameters:
newValue - the new value for the attribute to be stored.
Throws:
javax.infobus.InvalidDataException
See Also:
DomainInterface, TypeFactory

Oracle Data-aware Controls Reference

 

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