com.esri.arcgis.geodatabase
Class WorkspaceDefinition

java.lang.Object
  extended by com.esri.arcgis.geodatabase.WorkspaceDefinition
All Implemented Interfaces:
IMetadata, IWorkspaceDefinition, IWorkspaceDefinition2, com.esri.arcgis.interop.RemoteObjRef, IXMLSerialize, java.io.Serializable

public class WorkspaceDefinition
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IWorkspaceDefinition, IWorkspaceDefinition2, IXMLSerialize, IMetadata

COM Class 'WorkspaceDefinition'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description 'The Workspace Definition 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceDefinition2
IID, IIDfb6b7e43_30f9_4c2f_9920_d145ce9f92db, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceDefinition
IID4f1d89ce_c93a_4733_9926_7022a7576d2a
 
Fields inherited from interface com.esri.arcgis.system.IXMLSerialize
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IMetadata
IID, IID5de04a82_24e4_11d3_a641_0008c7d3ae50, xxDummy
 
Constructor Summary
WorkspaceDefinition()
          Constructs a WorkspaceDefinition using ArcGIS Engine.
WorkspaceDefinition(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
WorkspaceDefinition theWorkspaceDefinition = (WorkspaceDefinition) obj;
 
Method Summary
 void deserialize(IXMLSerializeData data)
          Deserializes an object from XML.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IArray getChildren()
          The list of sub-elements.
static java.lang.String getClsid()
          getClsid.
 IArray getDomains()
          The list of Domains.
 IGPReplica getGPReplica()
          The replica.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IPropertySet getMetadata()
          The PropertySet containing metadata.
 java.lang.String getVersion()
          The workspace version.
 int getWorkspaceType()
          The workspace type.
 int hashCode()
          the hashcode for this object
 void release()
          Release a WorkspaceDefinition.
 void serialize(IXMLSerializeData data)
          Serializes an object to XML.
 void setChildrenByRef(IArray dataElements)
          The list of sub-elements.
 void setDomainsByRef(IArray domains)
          The list of Domains.
 void setGPReplicaByRef(IGPReplica replica)
          The replica.
 void setMetadata(IPropertySet propertySet)
          The PropertySet containing metadata.
 void setVersion(java.lang.String workspaceVersion)
          The workspace version.
 void setWorkspaceType(int workspaceType)
          The workspace type.
 void synchronize(int action, int interval)
          Updates metadata with the current properties; may create metadata if it doesn't already exist.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkspaceDefinition

public WorkspaceDefinition()
                    throws java.io.IOException,
                           java.net.UnknownHostException
Constructs a WorkspaceDefinition using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

WorkspaceDefinition

public WorkspaceDefinition(java.lang.Object obj)
                    throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
WorkspaceDefinition theWorkspaceDefinition = (WorkspaceDefinition) obj;

Construct a WorkspaceDefinition using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to WorkspaceDefinition.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a WorkspaceDefinition.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getWorkspaceType

public int getWorkspaceType()
                     throws java.io.IOException,
                            AutomationException
The workspace type.

Specified by:
getWorkspaceType in interface IWorkspaceDefinition
Returns:
A com.esri.arcgis.geodatabase.esriWorkspaceType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWorkspaceType

public void setWorkspaceType(int workspaceType)
                      throws java.io.IOException,
                             AutomationException
The workspace type.

Specified by:
setWorkspaceType in interface IWorkspaceDefinition
Parameters:
workspaceType - A com.esri.arcgis.geodatabase.esriWorkspaceType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVersion

public java.lang.String getVersion()
                            throws java.io.IOException,
                                   AutomationException
The workspace version.

Specified by:
getVersion in interface IWorkspaceDefinition
Returns:
The workspaceVersion
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVersion

public void setVersion(java.lang.String workspaceVersion)
                throws java.io.IOException,
                       AutomationException
The workspace version.

Specified by:
setVersion in interface IWorkspaceDefinition
Parameters:
workspaceVersion - The workspaceVersion (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDomains

public IArray getDomains()
                  throws java.io.IOException,
                         AutomationException
The list of Domains.

Specified by:
getDomains in interface IWorkspaceDefinition
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDomainsByRef

public void setDomainsByRef(IArray domains)
                     throws java.io.IOException,
                            AutomationException
The list of Domains.

Specified by:
setDomainsByRef in interface IWorkspaceDefinition
Parameters:
domains - A reference to a com.esri.arcgis.system.IArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getChildren

public IArray getChildren()
                   throws java.io.IOException,
                          AutomationException
The list of sub-elements.

Specified by:
getChildren in interface IWorkspaceDefinition
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setChildrenByRef

public void setChildrenByRef(IArray dataElements)
                      throws java.io.IOException,
                             AutomationException
The list of sub-elements.

Specified by:
setChildrenByRef in interface IWorkspaceDefinition
Parameters:
dataElements - A reference to a com.esri.arcgis.system.IArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGPReplicaByRef

public void setGPReplicaByRef(IGPReplica replica)
                       throws java.io.IOException,
                              AutomationException
The replica.

Specified by:
setGPReplicaByRef in interface IWorkspaceDefinition2
Parameters:
replica - A reference to a com.esri.arcgis.geodatabase.IGPReplica (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGPReplica

public IGPReplica getGPReplica()
                        throws java.io.IOException,
                               AutomationException
The replica.

Specified by:
getGPReplica in interface IWorkspaceDefinition2
Returns:
A reference to a com.esri.arcgis.geodatabase.IGPReplica
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

serialize

public void serialize(IXMLSerializeData data)
               throws java.io.IOException,
                      AutomationException
Serializes an object to XML.

Specified by:
serialize in interface IXMLSerialize
Parameters:
data - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deserialize

public void deserialize(IXMLSerializeData data)
                 throws java.io.IOException,
                        AutomationException
Deserializes an object from XML.

Specified by:
deserialize in interface IXMLSerialize
Parameters:
data - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMetadata

public IPropertySet getMetadata()
                         throws java.io.IOException,
                                AutomationException
The PropertySet containing metadata.

Specified by:
getMetadata in interface IMetadata
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMetadata

public void setMetadata(IPropertySet propertySet)
                 throws java.io.IOException,
                        AutomationException
The PropertySet containing metadata.

Specified by:
setMetadata in interface IMetadata
Parameters:
propertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

synchronize

public void synchronize(int action,
                        int interval)
                 throws java.io.IOException,
                        AutomationException
Updates metadata with the current properties; may create metadata if it doesn't already exist.

Specified by:
synchronize in interface IMetadata
Parameters:
action - A com.esri.arcgis.geodatabase.esriMetadataSyncAction constant (in)
interval - The interval (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.