oracle.owb.environment
Interface Location

All Superinterfaces:
BaseLocation, Component, Folder, OWBNamedObject, Snapshotable, ValidatableObject

public interface Location
extends BaseLocation, ValidatableObject

Location is a specialized BaseLocation, which can contain connectors.


Fields inherited from interface oracle.owb.environment.BaseLocation
ALL_LOCATION_TYPES, LOCATION_TYPE_DATABASE, LOCATION_TYPE_FLATFILE, LOCATION_TYPE_GATEWAY_DB2, LOCATION_TYPE_GATEWAY_DRDA, LOCATION_TYPE_GATEWAY_INFORMIX, LOCATION_TYPE_GATEWAY_ODBC, LOCATION_TYPE_GATEWAY_OTHER, LOCATION_TYPE_GATEWAY_RDB, LOCATION_TYPE_GATEWAY_SQLSERVER, LOCATION_TYPE_GATEWAY_SYBASE, LOCATION_TYPE_GATEWAY_TERRADATA, LOCATION_TYPE_PROCESSFLOW_OEM, LOCATION_TYPE_PROCESSFLOW_OWF, LOCATION_TYPE_SAP, LOCATION_TYPES_GATEWAYS, LOCATION_TYPES_WITH_VERSIONS, ODB_VERSION_7_3_4, ODB_VERSION_8_0, ODB_VERSION_8_1, ODB_VERSION_9_0, ODB_VERSION_9_2, OEM_VERSION_9_0, OEM_VERSION_9_2, OWF_VERSION_2_6, SAP_VERSION_R33X, SAP_VERSION_R34X
 
Fields inherited from interface oracle.owb.metadatamgmt.changemgmt.Snapshotable
MAX_DEPENDENCY_DEPTH, MIN_DEPENDENCY_DEPTH
 
Method Summary
 Connector createConnector(java.lang.String name)
          Creates and adds a new Connector to the Location.
 Connector findConnector(java.lang.String name)
          Finds a Connector in the Location.
 java.lang.String[] getConnectorNames()
          Gets a list of the Location's Connectors.
 
Methods inherited from interface oracle.owb.environment.BaseLocation
getProject, getType, getVersion, setVersion
 
Methods inherited from interface oracle.owb.foundation.Folder
findChild, getContentTypes, getFolderContents, getFolderContentsOfType, isCascadeForSnapshot, lockShared, lockWithContents, reloadWithContents, setCascadeForSnapshot
 
Methods inherited from interface oracle.owb.foundation.Component
getOwningFolder, isReloadNeeded, lock, reload, unlock
 
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.metadatamgmt.changemgmt.Snapshotable
compare, compare, compare, compare, createSnapshot, createSnapshot, createSnapshotWithDependeeComponents, createSnapshotWithDependeeComponents, getSnapshots
 
Methods inherited from interface oracle.owb.compile.ValidatableObject
validate
 

Method Detail

createConnector

public Connector createConnector(java.lang.String name)
                          throws NameSpaceException,
                                 InvalidFormatException
Creates and adds a new Connector to the Location.
Parameters:
name - a String which will be the name of the new Connector. The name will be converted to all uppercase characters if it is not already.
Returns:
the Connector created by this method
Throws:
NameSpaceException - If the name has already been used by a Connector in this Project.
InvalidFormatException - If the name is not a valid name for a Connector object. For example, it is too long or contains invalid characters.

getConnectorNames

public java.lang.String[] getConnectorNames()
Gets a list of the Location's Connectors.
Returns:
an array of Strings which are the names of the Connectors owned by this Location

findConnector

public Connector findConnector(java.lang.String name)
Finds a Connector in the Location.
Parameters:
name - a String specifying the name of the Connector to find. It is case sensitive.
Returns:
the Connector if found; returns null if no Connector exists of the given name