Oracle Warehouse Builder Java API Reference
10g Release 1 (10.1)

B12155-01

oracle.owb.foundation.domain
Interface Domain

All Superinterfaces:
OWBNamedObject, Type, Typed, ValueOwner

public interface Domain
extends Type, Typed, ValueOwner

Domain is used on property definitions. It has a type and may contain list of valid values and ranges.

Author:
Xiaoge Zhang

Method Summary
 Range[] getRanges()
          Return list of ranges in this domain.
 Value[] getValues()
          Return list of values in this domain.
 boolean inDomain(Value v)
          Check if value in the range.

 

Methods inherited from interface oracle.owb.foundation.domain.Type
compare, equals, validate

 

Methods inherited from interface oracle.owb.foundation.OWBNamedObject
delete, getBusinessName, getClassDefinition, getComponent, getDescription, getName, getUOID, isDeletable, isEditable, isRenamable, setBusinessName, setDescription, setName

 

Methods inherited from interface oracle.owb.foundation.domain.Typed
getType

 

Method Detail

getValues

public Value[] getValues()
Return list of values in this domain.
Specified by:
getValues in interface ValueOwner
Returns:
array of Value objects.

getRanges

public Range[] getRanges()
Return list of ranges in this domain.
Returns:
array of Range objects.

inDomain

public boolean inDomain(Value v)
Check if value in the range.
Parameters:
v - is the value to be checked.
Returns:
true if this value is valid in this domain.

Oracle Warehouse Builder Java API Reference
10g Release 1 (10.1)

B12155-01

Copyright © 2003, Oracle. All Rights Reserved.