|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDatasetName
Provides access to members that supply dataset name information.
DatasetName is an abstract class that covers Name objects for datasets in a workspace.
DatasetName objects identify and locate datasets within a workspace. In addition they may carry additional properties that describe the named dataset. DatasetName objects supports methods to access metadata for the named object (via the optional IMetadata interface) and to manage privileges for the dataset (via the ISQLPrivilege interface).
The DatasetName object for any existing dataset can be obtained by reading the IDataset::FullName property. DatasetName objects may also be created to specify new datasets that are to be created by some operation.
The IDatasetName interface provides access to the basic properties of a dataset name object.
The Name property returns the identifier for the dataset within the context of its workspace. Note that the value of the name property of the dataset name object (IDatasetName::Name) is the same as the value of the name property for the dataset (IDataset::Name). The WorkspaceName property returns the workspace name object for the workspace containing the dataset being specified by this dataset name object.
You can use the IDataset::FullName property to get a dataset name object from the actual dataset object.
A dataset name can also refer to a dataset that does not yet exist. This is useful when creating new data, for example with the feature data converters.
Method Summary | |
---|---|
String |
getCategory()
The category of the dataset. |
String |
getName()
The name of the dataset. |
IEnumDatasetName |
getSubsetNames()
Subset names contained within this dataset name. |
int |
getType()
The type of the dataset. |
IWorkspaceName |
getWorkspaceName()
The WorkspaceName of the DatasetName. |
void |
setCategory(String category)
The category of the dataset. |
void |
setName(String name)
The name of the dataset. |
void |
setWorkspaceNameByRef(IWorkspaceName workspaceName)
The WorkspaceName of the DatasetName. |
Method Detail |
---|
String getName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setName(String name) throws IOException, AutomationException
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getCategory() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCategory(String category) throws IOException, AutomationException
category
- The category (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IWorkspaceName getWorkspaceName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setWorkspaceNameByRef(IWorkspaceName workspaceName) throws IOException, AutomationException
workspaceName
- A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumDatasetName getSubsetNames() throws IOException, AutomationException
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 |