public class TopologyRule extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IRule, ITopologyRule, IXMLSerialize, IClone, IPersistStream, java.io.Externalizable
Description 'Esri Topology Rule 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, IID236f4de4_4761_11d2_9932_0000f80372b4, xxDummy
IID, IIDa53b59a5_2efc_41c4_9769_c0faa13e62e9, xxDummy
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
IID0000010c_0000_0000_c000_000000000046
Constructor and Description |
---|
TopologyRule()
Constructs a TopologyRule using ArcGIS Engine.
|
TopologyRule(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
TopologyRule theTopologyRule = (TopologyRule) obj; |
Modifier and Type | Method and Description |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver.
|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
void |
errorShapeTypes(boolean[] multipoints,
boolean[] polylines,
boolean[] polygons)
Indicates the shape types of errors for the topology rule.
|
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone.
|
int |
getCategory()
The name associated with the validation rule.
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getDestinationClassID()
Destination ClassID of the topology rule.
|
int |
getDestinationSubtype()
Destination subtype of the topology rule.
|
java.lang.String |
getGUID()
GUID of the topology rule.
|
java.lang.String |
getHelpstring()
The helpstring associated with the validation rule.
|
int |
getID()
The ID of the validation rule.
|
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 |
getName()
Name of the topology rule.
|
int |
getOriginClassID()
Origin ClassID of the topology rule.
|
int |
getOriginSubtype()
Origin subtype of the topology rule.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
int |
getTopologyRuleType()
Topology rule type of the topology rule.
|
int |
getType()
The type associated with the validation rule.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isAllDestinationSubtypes()
Indicates if all destination subtypes are specified for the topology rule.
|
boolean |
isAllOriginSubtypes()
Indicates if all origin subtypes are specified for the topology rule.
|
boolean |
isDestinationSubtypeSpecified()
Indicates if a destination subtype has been specified.
|
void |
isDirty()
isDirty
|
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties.
|
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object.
|
boolean |
isOriginSubtypeSpecified()
Indicates if an origin subtype has been specified.
|
boolean |
isTriggerErrorEvents()
Indicates if error events are triggered for the topology rule.
|
void |
load(IStream pstm)
load
|
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 |
setAllDestinationSubtypes(boolean allSubtypes)
Indicates if all destination subtypes are specified for the topology rule.
|
void |
setAllOriginSubtypes(boolean allSubtypes)
Indicates if all origin subtypes are specified for the topology rule.
|
void |
setCategory(int groupBitmap)
The name associated with the validation rule.
|
void |
setDestinationClassID(int classID)
Destination ClassID of the topology rule.
|
void |
setDestinationSubtype(int subType)
Destination subtype of the topology rule.
|
void |
setHelpstring(java.lang.String helpstring)
The helpstring associated with the validation rule.
|
void |
setID(int iD)
The ID of the validation rule.
|
void |
setName(java.lang.String name)
Name of the topology rule.
|
void |
setOriginClassID(int classID)
Origin ClassID of the topology rule.
|
void |
setOriginSubtype(int subType)
Origin subtype of the topology rule.
|
void |
setTopologyRuleType(int ruleType)
Topology rule type of the topology rule.
|
void |
setTriggerErrorEvents(boolean errorEvents)
Indicates if error events are triggered for the topology rule.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public TopologyRule() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic TopologyRule(java.lang.Object obj) throws java.io.IOException
TopologyRule theTopologyRule = (TopologyRule) obj;
obj
to TopologyRule
.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.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public int getCategory() throws java.io.IOException, AutomationException
getCategory
in interface IRule
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setCategory(int groupBitmap) throws java.io.IOException, AutomationException
setCategory
in interface IRule
groupBitmap
- The groupBitmap (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getHelpstring() throws java.io.IOException, AutomationException
getHelpstring
in interface IRule
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setHelpstring(java.lang.String helpstring) throws java.io.IOException, AutomationException
setHelpstring
in interface IRule
helpstring
- The helpstring (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getID() throws java.io.IOException, AutomationException
getID
in interface IRule
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setID(int iD) throws java.io.IOException, AutomationException
setID
in interface IRule
iD
- The iD (in)java.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 IRule
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface ITopologyRule
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setName(java.lang.String name) throws java.io.IOException, AutomationException
setName
in interface ITopologyRule
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getGUID() throws java.io.IOException, AutomationException
getGUID
in interface ITopologyRule
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getOriginClassID() throws java.io.IOException, AutomationException
getOriginClassID
in interface ITopologyRule
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setOriginClassID(int classID) throws java.io.IOException, AutomationException
setOriginClassID
in interface ITopologyRule
classID
- The classID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getOriginSubtype() throws java.io.IOException, AutomationException
getOriginSubtype
in interface ITopologyRule
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setOriginSubtype(int subType) throws java.io.IOException, AutomationException
setOriginSubtype
in interface ITopologyRule
subType
- The subType (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getDestinationClassID() throws java.io.IOException, AutomationException
getDestinationClassID
in interface ITopologyRule
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDestinationClassID(int classID) throws java.io.IOException, AutomationException
setDestinationClassID
in interface ITopologyRule
classID
- The classID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getDestinationSubtype() throws java.io.IOException, AutomationException
getDestinationSubtype
in interface ITopologyRule
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDestinationSubtype(int subType) throws java.io.IOException, AutomationException
setDestinationSubtype
in interface ITopologyRule
subType
- The subType (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getTopologyRuleType() throws java.io.IOException, AutomationException
getTopologyRuleType
in interface ITopologyRule
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setTopologyRuleType(int ruleType) throws java.io.IOException, AutomationException
setTopologyRuleType
in interface ITopologyRule
ruleType
- A com.esri.arcgis.geodatabase.esriTopologyRuleType constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isTriggerErrorEvents() throws java.io.IOException, AutomationException
isTriggerErrorEvents
in interface ITopologyRule
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setTriggerErrorEvents(boolean errorEvents) throws java.io.IOException, AutomationException
setTriggerErrorEvents
in interface ITopologyRule
errorEvents
- The errorEvents (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void errorShapeTypes(boolean[] multipoints, boolean[] polylines, boolean[] polygons) throws java.io.IOException, AutomationException
errorShapeTypes
in interface ITopologyRule
multipoints
- The multipoints (out: use single element array)polylines
- The polylines (out: use single element array)polygons
- The polygons (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isAllOriginSubtypes() throws java.io.IOException, AutomationException
isAllOriginSubtypes
in interface ITopologyRule
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setAllOriginSubtypes(boolean allSubtypes) throws java.io.IOException, AutomationException
setAllOriginSubtypes
in interface ITopologyRule
allSubtypes
- The allSubtypes (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isAllDestinationSubtypes() throws java.io.IOException, AutomationException
isAllDestinationSubtypes
in interface ITopologyRule
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setAllDestinationSubtypes(boolean allSubtypes) throws java.io.IOException, AutomationException
setAllDestinationSubtypes
in interface ITopologyRule
allSubtypes
- The allSubtypes (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isOriginSubtypeSpecified() throws java.io.IOException, AutomationException
isOriginSubtypeSpecified
in interface ITopologyRule
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isDestinationSubtypeSpecified() throws java.io.IOException, AutomationException
isDestinationSubtypeSpecified
in interface ITopologyRule
java.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 IXMLSerialize
data
- 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 IXMLSerialize
data
- 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 IClone esri_clone() throws java.io.IOException, AutomationException
esri_clone
in interface IClone
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws java.io.IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws java.io.IOException, AutomationException
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws java.io.IOException, AutomationException
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)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 IPersistStream
java.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 IPersistStream
pstm
- 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 IPersistStream
pstm
- 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 IPersistStream
pcbSize
- 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 getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- 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 writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException