public interface ILocation extends IModelObject
| Modifier and Type | Method and Description |
|---|---|
boolean |
executableLocationEquals(ILocation otherLocation,
IContext context)
Checks if this location can run same code as another location.
|
IContext |
getContext()
Gets the context object for the location.
|
IDataServer |
getDataServer()
Gets a physical data server object for this location.
|
IDataServer |
getDataServer(IContext context)
Get sa physical data server object for this location.
|
java.lang.String |
getExecutableLocationName()
Returns the name of the executable location, which is the physical
server that runs processes that can access the data.
|
ILogicalSchema |
getLogicalSchema()
Gets a logical schema object for this location.
|
IPhysicalSchema |
getPhysicalSchema()
Gets a physical schema object for this location.
|
IPhysicalSchema |
getPhysicalSchema(IContext context)
Get a physical schema object for this location.
|
ITechnology |
getTechnology()
Gets the name of the technology associated with this location.
|
boolean |
locationEquals(ILocation otherLocation)
Checks if this location is equals to the given location.
|
void |
setContext(IContext context)
Sets the context for the location.
|
void |
setLogicalSchema(ILogicalSchema logSchema)
Sets the logical schema that is associated with this location.
|
void |
setPhysicalSchema(IPhysicalSchema physSchema)
Sets the physical schema that is associated with this location.
|
getNamegetBigNumericId, getGlobalId, getNumericIdILogicalSchema getLogicalSchema() throws AdapterException
AdapterExceptionIContext getContext()
InterfacePhysicalExceptionvoid setContext(IContext context) throws AdapterException
context - A context object that relates the logical schema to a physical schema.AdapterExceptionIPhysicalSchema getPhysicalSchema() throws AdapterException
AdapterExceptionIDataServer getDataServer() throws AdapterException
AdapterExceptionjava.lang.String getExecutableLocationName()
ITechnology getTechnology() throws AdapterException
AdapterExceptionIPhysicalSchema getPhysicalSchema(IContext context) throws AdapterException
InterfacePhysicalExceptionAdapterExceptionIDataServer getDataServer(IContext context) throws AdapterException
AdapterExceptionvoid setPhysicalSchema(IPhysicalSchema physSchema) throws AdapterException
phySchema - the physical schema to be set.AdapterExceptionvoid setLogicalSchema(ILogicalSchema logSchema) throws AdapterException
logSchema - the logical schema to be set.AdapterExceptionboolean locationEquals(ILocation otherLocation) throws AdapterException
AdapterExceptionboolean executableLocationEquals(ILocation otherLocation, IContext context) throws AdapterException
otherLocation - The location to compare to this one.context - If non-null, a context object to use when finding the data server.AdapterException