com.esri.arcgis.geodatabasedistributed
Class SchemaChangeInfo

java.lang.Object
  extended by com.esri.arcgis.geodatabasedistributed.SchemaChangeInfo
All Implemented Interfaces:
ISchemaChangeInfo, com.esri.arcgis.interop.RemoteObjRef, IXMLSerialize, IXMLVersionSupport, Serializable

public class SchemaChangeInfo
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ISchemaChangeInfo, IXMLSerialize, IXMLVersionSupport

ESRI Schema Change Info object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
SchemaChangeInfo()
          Constructs a SchemaChangeInfo using ArcGIS Engine.
SchemaChangeInfo(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SchemaChangeInfo theSchemaChangeInfo = (SchemaChangeInfo) obj;
 
Method Summary
 void deserialize(IXMLSerializeData data)
          Deserializes an object from XML.
 boolean equals(Object o)
          Compare this object with another
 IEnumSchemaChange getChanges()
          The schema changes.
static String getClsid()
          getClsid.
 IPropertySet getExtendedProperties()
          Properties associated with the schema change object.
 Object getFromObject()
          The source replicas representation of the schema.
 String getMinNamespaceSupported()
          The minimum namespace the class can serialize to (eg the 90 namespace).
 int getSchemaChangeType()
          Type of schema change.
 Object getToObject()
          The target replicas representation of the schema.
 Object getToParent()
          The parent container of the schema change object.
 int hashCode()
          the hashcode for this object
 boolean isApplySchemaChange()
          Indicates if schema changes will be applied.
 void serialize(IXMLSerializeData data)
          Serializes an object to XML.
 void setApplySchemaChange(boolean applySchemaChange)
          Indicates if schema changes will be applied.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

SchemaChangeInfo

public SchemaChangeInfo()
                 throws IOException,
                        UnknownHostException
Constructs a SchemaChangeInfo using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

SchemaChangeInfo

public SchemaChangeInfo(Object obj)
                 throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SchemaChangeInfo theSchemaChangeInfo = (SchemaChangeInfo) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getSchemaChangeType

public int getSchemaChangeType()
                        throws IOException,
                               AutomationException
Type of schema change.

Remarks

This property returns the type of schema changes. This is returned as a value of the esriSchemaChangeConstant. See the esriSchemaChangeConstant for more information.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getSchemaChangeType in interface ISchemaChangeInfo
Returns:
A com.esri.arcgis.geodatabasedistributed.esriSchemaChangeType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFromObject

public Object getFromObject()
                     throws IOException,
                            AutomationException
The source replicas representation of the schema.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getFromObject in interface ISchemaChangeInfo
Returns:
A reference to another Object (IUnknown)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getToObject

public Object getToObject()
                   throws IOException,
                          AutomationException
The target replicas representation of the schema.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getToObject in interface ISchemaChangeInfo
Returns:
A reference to another Object (IUnknown)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getToParent

public Object getToParent()
                   throws IOException,
                          AutomationException
The parent container of the schema change object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getToParent in interface ISchemaChangeInfo
Returns:
A reference to another Object (IUnknown)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isApplySchemaChange

public boolean isApplySchemaChange()
                            throws IOException,
                                   AutomationException
Indicates if schema changes will be applied.

Remarks

Returns TRUE if the schema change will be applied. Returns FALSE if the schema change will not be applied.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isApplySchemaChange in interface ISchemaChangeInfo
Returns:
The applySchemaChange
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setApplySchemaChange

public void setApplySchemaChange(boolean applySchemaChange)
                          throws IOException,
                                 AutomationException
Indicates if schema changes will be applied.

Remarks

Set this property to TRUE to apply the schema change. Set this property to FALSE if you don't want to apply this schema change.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setApplySchemaChange in interface ISchemaChangeInfo
Parameters:
applySchemaChange - The applySchemaChange (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getChanges

public IEnumSchemaChange getChanges()
                             throws IOException,
                                    AutomationException
The schema changes.

Remarks

This method returns the schema changes as a reference to IEnumSchemaChangeInfo.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getChanges in interface ISchemaChangeInfo
Returns:
A reference to a com.esri.arcgis.geodatabasedistributed.IEnumSchemaChange
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtendedProperties

public IPropertySet getExtendedProperties()
                                   throws IOException,
                                          AutomationException
Properties associated with the schema change object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

serialize

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

deserialize

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

getMinNamespaceSupported

public String getMinNamespaceSupported()
                                throws IOException,
                                       AutomationException
The minimum namespace the class can serialize to (eg the 90 namespace).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getMinNamespaceSupported in interface IXMLVersionSupport
Returns:
The namespaceURI
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.