|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IDataLayer2
Provides access to additional members that control the data source properties of a layer.
This interface provides access to all of the methods and properties of IDataLayer and also two additional methods. Disconnect disconnects a layer from its data source. Given a workspace, InWorkspace returns a boolean indicating whether or not the layer's data source is in the workspace.
| Method Summary | |
|---|---|
boolean |
connect(IName pOptRepairName)
Connects the layer to its data source. |
void |
disconnect()
Disconnects the data from the layer. |
IName |
getDataSourceName()
Name of the data object for the layer. |
String |
getRelativeBase()
Base path used when storing relative path names. |
boolean |
inWorkspace(IWorkspace workspace)
Returns TRUE if the layer is in the specified workspace. |
boolean |
isDataSourceSupported(IName name)
Indicates if the specified data object name is supported by the layer. |
void |
setDataSourceName(IName name)
Name of the data object for the layer. |
void |
setRelativeBase(String basePath)
Base path used when storing relative path names. |
| Method Detail |
|---|
IName getDataSourceName()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setDataSourceName(IName name)
throws IOException,
AutomationException
name - A reference to a com.esri.arcgis.system.IName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isDataSourceSupported(IName name)
throws IOException,
AutomationException
name - A reference to a com.esri.arcgis.system.IName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean connect(IName pOptRepairName)
throws IOException,
AutomationException
pOptRepairName - A reference to a com.esri.arcgis.system.IName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getRelativeBase()
throws IOException,
AutomationException
The RelativeBase property is used internally when persisting and loading documents with a relative path. When a document has been fully loaded the path is realized to a complete path.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setRelativeBase(String basePath)
throws IOException,
AutomationException
basePath - The basePath (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void disconnect()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean inWorkspace(IWorkspace workspace)
throws IOException,
AutomationException
workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||