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
| 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 |
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.