oracle.owb.foundation.domain
Interface Type
- All Superinterfaces:
- OWBNamedObject
- All Known Subinterfaces:
- ClassDefinition, Domain, PrimitiveType, ReferenceType, ScalarType
- public interface Type
- extends OWBNamedObject
Type is abstract super interface.
- Author:
- Xiaoge Zhang
|
Method Summary |
int |
compare(Value v1,
Value v2)
Compare two values to see if they are equal. |
boolean |
equals(Type type)
Compare to see if two types are equal. |
void |
validate(Value v)
Test if the value is valid for this type. |
| Methods inherited from interface oracle.owb.foundation.OWBNamedObject |
delete, getBusinessName, getClassDefinition, getComponent, getDescription, getName, getUOID, isDeletable, isEditable, isRenamable, setBusinessName, setDescription, setName |
equals
public boolean equals(Type type)
- Compare to see if two types are equal.
- Parameters:
type - is the target type.- Returns:
- true if two types are equal.
compare
public int compare(Value v1,
Value v2)
- Compare two values to see if they are equal.
- Parameters:
v1 - - the first value.v2 - - the second value.- Returns:
- true if two values are equal.
validate
public void validate(Value v)
- Test if the value is valid for this type.
- Parameters:
v - is the value to be tested.