public class WorkspaceName extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IName, IWorkspaceName, IWorkspaceName2, IPersist, IPersistStream, IDatabaseCompact, IXMLSerialize, java.io.Externalizable
Description 'Esri Workspace Name object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
IID, IID05fc30e9_3007_11d4_8140_00c04f686238, xxDummyIIDfadd975c_e36f_11d1_aa81_00c04fa33a15IID, IID00000109_0000_0000_c000_000000000046, xxDummyIID0000010c_0000_0000_c000_000000000046IID, IID660214d1_7c1b_11d3_80ea_00c04f686238, xxDummyIID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy| Constructor and Description |
|---|
WorkspaceName()
Constructs a WorkspaceName using ArcGIS Engine.
|
WorkspaceName(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
WorkspaceName theWorkspaceName = (WorkspaceName) obj; |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCompact()
True if this dataset can be compacted.
|
void |
compact()
Compacts the database.
|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
java.lang.String |
getBrowseName()
The browse name of the WorkspaceName.
|
java.lang.String |
getCategory()
The category of the WorkspaceName.
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
IPropertySet |
getConnectionProperties()
The connection properties of the WorkspaceName.
|
java.lang.String |
getConnectionString()
The connection properties of the WorkspaceName.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
java.lang.String |
getNameString()
The name string of the object.
|
java.lang.String |
getPathName()
The path name of the WorkspaceName.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
int |
getType()
The type of the associated workspace.
|
IWorkspaceFactory |
getWorkspaceFactory()
The workspace factory of the WorkspaceName.
|
java.lang.String |
getWorkspaceFactoryProgID()
The ProgID of the WorkspaceName's workspace factory.
|
int |
hashCode()
the hashcode for this object
|
void |
isDirty()
isDirty
|
void |
load(IStream pstm)
load
|
java.lang.Object |
open()
Opens the object referred to by this name.
|
void |
readExternal(java.io.ObjectInput in) |
void |
release()
Release this COM object reference
|
void |
save(IStream pstm,
int fClearDirty)
save
|
void |
serialize(IXMLSerializeData data)
Serializes an object to XML.
|
void |
setBrowseName(java.lang.String browseName)
The browse name of the WorkspaceName.
|
void |
setConnectionProperties(IPropertySet connectionProperties)
The connection properties of the WorkspaceName.
|
void |
setConnectionString(java.lang.String connectionSting)
The connection properties of the WorkspaceName.
|
void |
setNameString(java.lang.String nameString)
The name string of the object.
|
void |
setPathName(java.lang.String pathName)
The path name of the WorkspaceName.
|
void |
setWorkspaceFactoryProgID(java.lang.String progID)
The ProgID of the WorkspaceName's workspace factory.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public WorkspaceName()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic WorkspaceName(java.lang.Object obj)
throws java.io.IOException
WorkspaceName theWorkspaceName = (WorkspaceName) obj;obj to WorkspaceName.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic void setNameString(java.lang.String nameString)
throws java.io.IOException,
AutomationException
The NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.
setNameString in interface INamenameString - The nameString (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getNameString()
throws java.io.IOException,
AutomationException
The NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.
getNameString in interface INamejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.Object open()
throws java.io.IOException,
AutomationException
The Open method lets you instantiate the actual object given the name object.
Note: Opening a feature class that participates in a topology or geometric network will also open all other feature classes participating in the topology or geometric network in memory.
IName pName = pFeatureClassName;
pFeatureClass = new IFeatureClassProxy(pName.open());
open in interface INamejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getPathName()
throws java.io.IOException,
AutomationException
getPathName in interface IWorkspaceNamejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setPathName(java.lang.String pathName)
throws java.io.IOException,
AutomationException
setPathName in interface IWorkspaceNamepathName - The pathName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getWorkspaceFactoryProgID()
throws java.io.IOException,
AutomationException
getWorkspaceFactoryProgID in interface IWorkspaceNamejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setWorkspaceFactoryProgID(java.lang.String progID)
throws java.io.IOException,
AutomationException
setWorkspaceFactoryProgID in interface IWorkspaceNameprogID - The progID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getBrowseName()
throws java.io.IOException,
AutomationException
getBrowseName in interface IWorkspaceNamejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setBrowseName(java.lang.String browseName)
throws java.io.IOException,
AutomationException
setBrowseName in interface IWorkspaceNamebrowseName - The browseName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IWorkspaceFactory getWorkspaceFactory() throws java.io.IOException, AutomationException
getWorkspaceFactory in interface IWorkspaceNamejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setConnectionProperties(IPropertySet connectionProperties) throws java.io.IOException, AutomationException
setConnectionProperties in interface IWorkspaceNameconnectionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPropertySet getConnectionProperties() throws java.io.IOException, AutomationException
getConnectionProperties in interface IWorkspaceNamejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getType()
throws java.io.IOException,
AutomationException
getType in interface IWorkspaceNamejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getCategory()
throws java.io.IOException,
AutomationException
getCategory in interface IWorkspaceNamejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getConnectionString()
throws java.io.IOException,
AutomationException
getConnectionString in interface IWorkspaceName2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setConnectionString(java.lang.String connectionSting)
throws java.io.IOException,
AutomationException
setConnectionString in interface IWorkspaceName2connectionSting - The connectionSting (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void isDirty()
throws java.io.IOException,
AutomationException
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void compact()
throws java.io.IOException,
AutomationException
compact in interface IDatabaseCompactjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean canCompact()
throws java.io.IOException,
AutomationException
canCompact in interface IDatabaseCompactjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundException