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.


Fields inherited from interface oracle.owb.metadatamgmt.changemgmt.Snapshotable
MAX_DEPENDENCY_DEPTH, MIN_DEPENDENCY_DEPTH
 
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.type.Datatype
getDatatypeSet, isAbstractDatatype, isDomain, isListDatatype, isScalarDatatype
 
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.Component
getOwningFolder, isReloadNeeded, lock, reload, unlock
 
Methods inherited from interface oracle.owb.metadatamgmt.changemgmt.Snapshotable
compare, compare, compare, compare, createSnapshot, createSnapshot, createSnapshotWithDependeeComponents, createSnapshotWithDependeeComponents, getSnapshots
 
Methods inherited from interface oracle.owb.foundation.property.PropertyOwner
getDefaultPropertyValue, getLogicalPropertyKeys, getPhysicalPropertyKeys, getPropertyDomain, getPropertyKeys, getPropertyValue, getPropertyValueString, isLogicalProperty, isPhysicalProperty, isReadOnlyProperty, setPropertyValue, setPropertyValueByString
 

Method Detail

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 -