oracle.owb.oracle
Interface ObjectType
- All Superinterfaces:
- AbstractDatatype, Component, Datatype, Extensible, OWBNamedObject, PropertyOwner, Snapshotable
- public interface ObjectType
- extends AbstractDatatype, Component, Extensible
ObjectType represents the Oracle Object Type. An ObjectType has a collection of named ObjectAttributes. It can be instantiated only from OracleModule using createObjectType() or findObjectType() methods.
Method Summary |
ObjectAttribute |
createAttribute(java.lang.String name)
This method creates an Attribute with the given name in this ObjectType. |
ObjectAttribute |
findAttribute(java.lang.String name)
This method retrieves the content ObjectAttribute with the given name from this ObjectType. |
java.lang.String[] |
getAttributeNames()
This method returns the names of all the Attributes of this ObjectType. |
void |
removeAttribute(ObjectAttribute attribute)
This method removes the given ObjectAttribute. |
void |
removeAttribute(java.lang.String name)
This method removes the content ObjectAttribute with the given name from this ObjectType. |
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.property.PropertyOwner |
getDefaultPropertyValue, getLogicalPropertyKeys, getPhysicalPropertyKeys, getPropertyDomain, getPropertyKeys, getPropertyValue, getPropertyValueString, isLogicalProperty, isPhysicalProperty, isReadOnlyProperty, setPropertyValue, setPropertyValueByString |
createAttribute
public ObjectAttribute createAttribute(java.lang.String name)
throws OWBException
- This method creates an Attribute with the given name in this ObjectType.
-
- Parameters:
name
- of the Attribute to be created.
- Returns:
- newly created Attribute
- Throws:
OWBException
getAttributeNames
public java.lang.String[] getAttributeNames()
throws OWBException
- This method returns the names of all the Attributes of this ObjectType.
-
- Returns:
- an array of names of all the ObjectAttributes of this ObjectType.
- Throws:
OWBException
findAttribute
public ObjectAttribute findAttribute(java.lang.String name)
throws OWBException
- This method retrieves the content ObjectAttribute with the given name from this ObjectType.
-
- Parameters:
name
- of the ObjectAttribute to be retrieved
- Returns:
- ObjectAttribute with the given name, null if no such attribute
- Throws:
OWBException
removeAttribute
public void removeAttribute(java.lang.String name)
throws OWBException
- This method removes the content ObjectAttribute with the given name from this ObjectType.
-
- Parameters:
name
- of the ObjectAttribute to be removed
- Throws:
OWBException
removeAttribute
public void removeAttribute(ObjectAttribute attribute)
throws OWBException
- This method removes the given ObjectAttribute.
-
- Parameters:
attribute
- the ObjectAttribute to be removed
- Throws:
OWBException
Copyright © 2003, Oracle. All Rights Reserved.