|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.schematic.SchematicInMemoryFeatureSubLink
public class SchematicInMemoryFeatureSubLink
Schematic in memory feature sublink object.
Constructor Summary | |
---|---|
SchematicInMemoryFeatureSubLink(Object obj)
Construct a SchematicInMemoryFeatureSubLink using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
associate(IObject object)
Associate the schematic in memory feature primary assocation to the object. |
IDisplayFeedback |
beginMoveSet(ISet features,
IPoint start)
Prepares the set of features for a move operation. |
void |
delete()
Deletes the row. |
void |
deleteSecondaryAssociations()
Deletes the secondary associations of the in memory feature. |
void |
deleteSet(ISet rows)
Deletes the set of rows. |
void |
draw(int drawPhase,
IDisplay display,
ISymbol symbol,
boolean symbolInstalled,
IGeometry geometry,
int drawStyle)
Draws the feature on the display. |
boolean |
equals(Object o)
Compare this object with another |
IObjectClass |
esri_getClass()
The Object Class for the row. |
IObject |
getAssociatedObject()
Associated object if exist. |
IObjectClass |
getAssociatedObjectClass()
Associated object class if exist. |
IWorkspace |
getAssociatedWorkspace()
Associated workspace if exist. |
IEnvelope |
getBoundingBox(ILayer layer)
Provides access to the bounding box of the in memory feature for the specified layer. |
int |
getDataSourceID()
Data source ID related to the schematic in memory feature primary assocation. |
IEnvelope |
getExtent()
The extent of the feature. |
void |
getExtremity(ISchematicInMemoryFeatureNode[] toNode,
int[] toPort)
Provides access to the extremity schematic in memory feature node and port number of the schematic in memory feature link. |
int |
getFeatureType()
The type of the feature. |
IFields |
getFields()
The fields Collection for this row buffer. |
int |
getFlowDirection()
Flow direction of the schematic in memory link. |
ISchematicInMemoryFeatureNode |
getFromNode()
Origin schematic in memory feature node of the schematic in memory feature link. |
IPoint |
getFromPoint(ILayer layer)
The 'from' point of the schematic in memory feature sublink geometry. |
int |
getFromPort()
Origin port number of the schematic in memory feature link. |
IPoint |
getInitialVertex(int i)
The position of the vertex at given index of the schematic in memory feature sublink initial geometry. |
int |
getInitialVerticesCount()
Number of vertices of the schematic in memory feature sublink initial geometry. |
IInvalidArea |
getInvalidArea()
The area to be drawn. |
IFields |
getInvalidFields()
Returns all invalid fields. |
IEnumRule |
getInvalidRules()
The set of all invalid rules. |
IEnumRule |
getInvalidRulesByField(String fieldName)
The set of all invalid rules for the specified field. |
String |
getName()
Name of the schematic object. |
int |
getObjectClassID()
Class ID related to the schematic in memory feature primary assocation. |
String |
getObjectGUID()
GUID related to the schematic in memory feature primary assocation. |
int |
getObjectID()
Object ID related to the schematic in memory feature primary assocation. |
int |
getObjectSubID()
SUBID related to the schematic in memory feature primary assocation. |
int |
getOID()
The OID for the row. |
void |
getOrigin(ISchematicInMemoryFeatureNode[] fromNode,
int[] fromPort)
Provides access to the origin schematic in memory feature node and port number of the schematic in memory feature link. |
IGeometry |
getOriginalShape()
The original shape for the feature. |
Object |
getOriginalValue(int index)
The value of the field at the specified index immediately after the last call to Store on the Row object. |
IPropertySet |
getPropertySet()
Schematic in memory feature property set. |
ISchematicInMemoryFeatureLink |
getReferenceLink()
Reference link of the schematic in memory feature sublink. |
ISchematicDiagram |
getSchematicDiagram()
Schematic diagram related to the schematic element. |
ISchematicElement |
getSchematicElement()
Schematic element associated to the schematic in memory feature. |
ISchematicElementClass |
getSchematicElementClass()
Schematic element class related to the schematic element. |
ISchematicInMemoryDiagram |
getSchematicInMemoryDiagram()
Schematic in memory diagram the schematic in memory feature belongs to. |
ISchematicObjectClass |
getSchematicObjectClass()
The schematic object class the schematic in memory object belongs to. |
ISchematicRelationManager |
getSchematicRelationManager()
Schematic relation manager of the schematic in memory feature. |
IEnumSchematicInMemoryFeatureAssociation |
getSecondaryAssociations()
The secondary associations of the in memory feature. |
IGeometry |
getShape()
A reference to the default shape for the feature. |
IGeometry |
getShapeCopy()
A cloned copy of the default shape for the feature. |
int |
getSubtype()
Subtype of the schematic in memory feature. |
int |
getSubtypeCode()
The subtype for the row. |
ITable |
getTable()
The Table for the row. |
ISchematicInMemoryFeatureNode |
getToNode()
Extremity schematic in memory feature node of the schematic in memory feature link. |
IPoint |
getToPoint(ILayer layer)
The 'to' point of the schematic in memory feature link geometry. |
int |
getToPort()
Extremity port number of the schematic in memory feature link. |
int |
getUpdateStatus()
Update status of the schematic in memory feature. |
Object |
getUserData(String userDataName)
Provides access to the value of the user data named 'UserDataName'. |
Object |
getValue(int index)
The value of the field with the specified index. |
IPoint |
getVertex(int i)
The position of the vertex at given index of the schematic in memory feature sublink geometry. |
int |
getVerticesCount()
Number of vertices of the schematic in memory feature sublink geometry. |
int |
hashCode()
the hashcode for this object |
void |
initDefaultValues()
The default values of the row. |
void |
initShape()
Initialize the shape. |
boolean |
isDisplayed()
Indicates whether or not the schematic in memory feature is displayed. |
boolean |
isEqual(IRow otherRow)
Indicates if the rows (which may be from two different versions) are the same (oid + values). |
boolean |
isHasOID()
Indicates if the row has an OID. |
boolean |
isInitial()
Indicates whether or not the schematic in memory feature is an initial feature. |
boolean |
isShapeChanged()
Indicates if the shape has changed. |
boolean |
isValueChanged(int index)
Indicates whether the value of the field at the specified index has changed since the last call to Store on the Row object. |
void |
moveSet(ISet features,
ILine moveVector)
Moves the set of features through a distance and direction specified by moveVector. |
void |
onChanged()
An after event that is fired when a custom object is changed. |
void |
onDelete()
An after event that is fired when a custom object is deleted. |
void |
onInitialize()
An after event that is fired when a custom object is initialized. |
void |
onMerge()
An after event that is fired when Features have been merged, on each deleted input Feature. |
void |
onNew()
An after event that is fired when a custom object is Stored for the first time. |
void |
onSplit()
An after event that is fired when a Feature is split, on the deleted input Feature. |
void |
onValidate()
An after event that is fired when a custom object is validated. |
void |
queryBoundingBoxCoords(ILayer layer,
double[] xMin,
double[] yMin,
double[] xMax,
double[] yMax)
Queries the bounding box coordinates of the in memory feature for the specified layer. |
void |
queryInitialVertex(int index,
IPoint point)
Queries the position of the vertex at given index of the schematic in memory feature sublink initial geometry. |
void |
queryVertex(int index,
IPoint point)
Queries the position of the vertex at given index of the schematic in memory feature sublink geometry. |
void |
refreshAttributes(IEnumSchematicAttribute attributes,
IRow associatedObject)
Refreshes a list of attributes of the in memory feature, or refreshes all the attributes if the list is null. |
void |
relatedObjectChanged(IRelationshipClass relationshipClass,
IObject objectThatChanged)
Notifies this object that a related object changed. |
void |
relatedObjectMoved(IRelationshipClass relationshipClass,
IObject objectThatChanged,
ILine moveVector)
Notifies this object that a related object moved. |
void |
relatedObjectRotated(IRelationshipClass relationshipClass,
IObject objectThatChanged,
IPoint origin,
double angle)
Notifies this object that a related object rotated. |
void |
relatedObjectSetMoved(IRelationshipClass relationshipClass,
ISet objectsThatNeedToChange,
ISet objectsThatChanged,
ILine moveVector)
Notifies this object that a set of objects with relationships to the input set of objects moved. |
void |
relatedObjectSetRotated(IRelationshipClass relationshipClass,
ISet objectsThatNeedToChange,
ISet objectsThatChanged,
IPoint origin,
double angle)
Notifies this object that a set of objects with relationships to the input set of objects rotated. |
void |
removeUserData(String userDataName)
Removes the user data named 'UserDataName'. |
void |
restoreInitialPosition()
Restores the initial position of the in memory feature. |
void |
restoreSavedLayout()
Restores the last saved layout of the in memory feature. |
void |
rotateSet(ISet features,
IPoint origin,
double angle)
Rotates the set of features according to the specified origin and angle. |
void |
setDisplayed(boolean displayed)
Indicates whether or not the schematic in memory feature is displayed. |
void |
setExtremity(ISchematicInMemoryFeatureNode toNode,
int toPort)
Changes the extremity schematic in memory feature node and port number of the schematic in memory feature link. |
void |
setFlowDirection(int flowDirection)
Flow direction of the schematic in memory link. |
void |
setFromNodeByRef(ISchematicInMemoryFeatureNode fromNode)
Origin schematic in memory feature node of the schematic in memory feature link. |
void |
setFromPort(int fromPort)
Origin port number of the schematic in memory feature link. |
void |
setInitial(boolean initial)
Indicates whether or not the schematic in memory feature is an initial feature. |
void |
setInvalidAreaByRef(IInvalidArea invalidArea)
The area to be drawn. |
void |
setOrigin(ISchematicInMemoryFeatureNode fromNode,
int fromPort)
Changes the origin schematic in memory feature node and port number of the schematic in memory feature link. |
void |
setPropertySetByRef(IPropertySet propertySet)
Schematic in memory feature property set. |
void |
setShapeByRef(IGeometry shape)
A reference to the default shape for the feature. |
void |
setSubtype(int subtype)
Subtype of the schematic in memory feature. |
void |
setSubtypeCode(int subtypeCode)
The subtype for the row. |
void |
setToNodeByRef(ISchematicInMemoryFeatureNode toNode)
Extremity schematic in memory feature node of the schematic in memory feature link. |
void |
setToPort(int pVal)
Extremity port number of the schematic in memory feature link. |
void |
setUpdateStatus(int status)
Update status of the schematic in memory feature. |
void |
setUserData(String userDataName,
Object value)
Changes the value of the user data named 'UserDataName'. |
void |
setValue(int index,
Object value)
The value of the field with the specified index. |
void |
simplifyGeometry(IGeometry geometry)
Simplifies the input geometry using the rules appropriate for this feature. |
ISet |
split(IGeometry point)
Split the feature. |
void |
splitAttributes(IFeature baseFeature)
Split the feature attributes. |
void |
store()
Stores the row. |
boolean |
validate(String[] errorMessage)
Validates the row. |
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 |
---|
public SchematicInMemoryFeatureSubLink(Object obj) throws IOException
obj
to SchematicInMemoryFeatureSubLink
. *
SchematicInMemoryFeatureSubLink o = (SchematicInMemoryFeatureSubLink)obj; // will not work
SchematicInMemoryFeatureSubLink o = new SchematicInMemoryFeatureSubLink(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
SchematicInMemoryFeatureSubLink theSchematicInMemoryFeatureSubLink = (SchematicInMemoryFeatureSubLink) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public ISchematicInMemoryFeatureLink getReferenceLink() throws IOException, AutomationException
getReferenceLink
in interface ISchematicInMemoryFeatureSubLink
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicElement getSchematicElement() throws IOException, AutomationException
getSchematicElement
in interface ISchematicInMemoryFeature
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicInMemoryDiagram getSchematicInMemoryDiagram() throws IOException, AutomationException
getSchematicInMemoryDiagram
in interface ISchematicInMemoryFeature
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicRelationManager getSchematicRelationManager() throws IOException, AutomationException
getSchematicRelationManager
in interface ISchematicInMemoryFeature
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getUserData(String userDataName) throws IOException, AutomationException
getUserData
in interface ISchematicInMemoryFeature
userDataName
- The userDataName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUserData(String userDataName, Object value) throws IOException, AutomationException
setUserData
in interface ISchematicInMemoryFeature
userDataName
- The userDataName (in)value
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeUserData(String userDataName) throws IOException, AutomationException
removeUserData
in interface ISchematicInMemoryFeature
userDataName
- The userDataName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getPropertySet() throws IOException, AutomationException
getPropertySet
in interface ISchematicInMemoryFeature
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPropertySetByRef(IPropertySet propertySet) throws IOException, AutomationException
setPropertySetByRef
in interface ISchematicInMemoryFeature
propertySet
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void restoreSavedLayout() throws IOException, AutomationException
restoreSavedLayout
in interface ISchematicInMemoryFeature
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void restoreInitialPosition() throws IOException, AutomationException
restoreInitialPosition
in interface ISchematicInMemoryFeature
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refreshAttributes(IEnumSchematicAttribute attributes, IRow associatedObject) throws IOException, AutomationException
refreshAttributes
in interface ISchematicInMemoryFeature
attributes
- A reference to a com.esri.arcgis.schematic.IEnumSchematicAttribute (in, optional, pass 0 if not required)associatedObject
- A reference to a com.esri.arcgis.geodatabase.IRow (in, optional, pass 0 if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumSchematicInMemoryFeatureAssociation getSecondaryAssociations() throws IOException, AutomationException
getSecondaryAssociations
in interface ISchematicInMemoryFeature
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteSecondaryAssociations() throws IOException, AutomationException
deleteSecondaryAssociations
in interface ISchematicInMemoryFeature
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSubtype() throws IOException, AutomationException
getSubtype
in interface ISchematicInMemoryFeature
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSubtype(int subtype) throws IOException, AutomationException
setSubtype
in interface ISchematicInMemoryFeature
subtype
- The subtype (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isInitial() throws IOException, AutomationException
isInitial
in interface ISchematicInMemoryFeature
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setInitial(boolean initial) throws IOException, AutomationException
setInitial
in interface ISchematicInMemoryFeature
initial
- The initial (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getUpdateStatus() throws IOException, AutomationException
getUpdateStatus
in interface ISchematicInMemoryFeature
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUpdateStatus(int status) throws IOException, AutomationException
setUpdateStatus
in interface ISchematicInMemoryFeature
status
- A com.esri.arcgis.schematic.esriSchematicUpdateStatus constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isDisplayed() throws IOException, AutomationException
isDisplayed
in interface ISchematicInMemoryFeature
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDisplayed(boolean displayed) throws IOException, AutomationException
setDisplayed
in interface ISchematicInMemoryFeature
displayed
- The displayed (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface ISchematicFeature
getName
in interface ISchematicInMemoryObject
getName
in interface ISchematicObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicElementClass getSchematicElementClass() throws IOException, AutomationException
getSchematicElementClass
in interface ISchematicFeature
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicDiagram getSchematicDiagram() throws IOException, AutomationException
getSchematicDiagram
in interface ISchematicFeature
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry getShapeCopy() throws IOException, AutomationException
The ShapeCopy property is a cloned copy of the feature’s Shape. When modifying the geometry of a feature or a set of features, use the ShapeCopy property to obtain a copy of the feature's geometry, perform the modification on the geometries, then apply the modifications by setting the geometry to the Shape property.
getShapeCopy
in interface IFeature
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry getShape() throws IOException, AutomationException
The basic process to change the shape of a feature is:
1) Get the feature's existing geometry through IFeature.ShapeCopy or create a new geometry
2) Modify the geometry
3) Set the feature's geometry using IFeature.Shape
4) Store the feature
All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
getShape
in interface IFeature
getShape
in interface IFeatureBuffer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShapeByRef(IGeometry shape) throws IOException, AutomationException
setShapeByRef
in interface IFeature
setShapeByRef
in interface IFeatureBuffer
shape
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getExtent() throws IOException, AutomationException
getExtent
in interface IFeature
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFeatureType() throws IOException, AutomationException
getFeatureType
in interface IFeature
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IObjectClass esri_getClass() throws IOException, AutomationException
esri_getClass
in interface IObject
esri_getClass
in interface ISchematicObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasOID() throws IOException, AutomationException
If the table has been registered with the geodatabase it will have unique Object ID, automatically created by the register tool, and the HasOID property will be set to True. Tables not registered with the geodatabase will not have an OID column and the HasOID property will be set to False. See the IClassSchemaEdit::RegisterAsObjectClass method for more information.
isHasOID
in interface IRow
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getOID() throws IOException, AutomationException
Gets the OID for a row in a table that has a unique Object ID, such as tables registered with the geodatabase.
if (pRow.isHasOID()) {
System.out.print(pRow.getOID());
}
getOID
in interface IRow
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITable getTable() throws IOException, AutomationException
Returns a pointer to the table the row belongs to.
ITable pTable; pTable = pRow.getTable();
getTable
in interface IRow
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void store() throws IOException, AutomationException
The Store method is called by an application once it has modified the values of a Row. Once Store is called on a Row object, all subsequent queries within the same edit session, using the Geodatabase API, will reflect the modified state of the Row object.
All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
Calling the Store method triggers the following actions:
- The IRowEvents::OnChanged is called for the row being stored. The OnNew is called if this is a newly created row being stored for the first time. A custom row object can implement the OnChanged method and take some special action when it is called - for example; update a special column in the row
- The IRelatedObjectEvents::RelatedObjectChanged method is called for related objects in a related object class if the table for this row is an object class that participates in relationship classes with notification
Store should not be used for batch operations, such as updates or inserts. For performing a number of inserts or updates using cursors, refer to the ITable::Insert, ITable::Update, ITable::UpdateSearchedRows , IFeatureClass::Update andIFeatureClass::Insert. If an insert or update cursor is used on non-simple features (such as network features), the cursor will revert to using Store.
It is not necessary to explicitly call Connect on network features, this is handled polymorphically when Store is called on the feature. This is also the case with features in a Topology, Dirty Area creation is handled internally when Store is called.
Store should not be called inside of edit events, such as OnCreateFeature, OnChangeFeature or OnDeleteFeature. Even if you are modifying the geometry or other field values, Store will be called once the event is complete.
store
in interface IRow
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void delete() throws IOException, AutomationException
All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
delete
in interface IRow
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getValue(int index) throws IOException, AutomationException
getValue
in interface IRowBuffer
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setValue(int index, Object value) throws IOException, AutomationException
setValue
in interface IRowBuffer
index
- The index (in)value
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFields getFields() throws IOException, AutomationException
getFields
in interface IRowBuffer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFromPort() throws IOException, AutomationException
getFromPort
in interface ISchematicInMemoryFeatureLink
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFromPort(int fromPort) throws IOException, AutomationException
setFromPort
in interface ISchematicInMemoryFeatureLink
fromPort
- The fromPort (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getToPort() throws IOException, AutomationException
getToPort
in interface ISchematicInMemoryFeatureLink
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setToPort(int pVal) throws IOException, AutomationException
setToPort
in interface ISchematicInMemoryFeatureLink
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicInMemoryFeatureNode getFromNode() throws IOException, AutomationException
getFromNode
in interface ISchematicInMemoryFeatureLink
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFromNodeByRef(ISchematicInMemoryFeatureNode fromNode) throws IOException, AutomationException
setFromNodeByRef
in interface ISchematicInMemoryFeatureLink
fromNode
- A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeatureNode (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicInMemoryFeatureNode getToNode() throws IOException, AutomationException
getToNode
in interface ISchematicInMemoryFeatureLink
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setToNodeByRef(ISchematicInMemoryFeatureNode toNode) throws IOException, AutomationException
setToNodeByRef
in interface ISchematicInMemoryFeatureLink
toNode
- A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeatureNode (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOrigin(ISchematicInMemoryFeatureNode fromNode, int fromPort) throws IOException, AutomationException
setOrigin
in interface ISchematicInMemoryFeatureLink
fromNode
- A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeatureNode (in)fromPort
- The fromPort (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExtremity(ISchematicInMemoryFeatureNode toNode, int toPort) throws IOException, AutomationException
setExtremity
in interface ISchematicInMemoryFeatureLink
toNode
- A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeatureNode (in)toPort
- The toPort (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getOrigin(ISchematicInMemoryFeatureNode[] fromNode, int[] fromPort) throws IOException, AutomationException
getOrigin
in interface ISchematicInMemoryFeatureLink
fromNode
- A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeatureNode (in/out: use single element array)fromPort
- The fromPort (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getExtremity(ISchematicInMemoryFeatureNode[] toNode, int[] toPort) throws IOException, AutomationException
getExtremity
in interface ISchematicInMemoryFeatureLink
toNode
- A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeatureNode (in/out: use single element array)toPort
- The toPort (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFlowDirection() throws IOException, AutomationException
getFlowDirection
in interface ISchematicInMemoryFeatureLink
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFlowDirection(int flowDirection) throws IOException, AutomationException
setFlowDirection
in interface ISchematicInMemoryFeatureLink
flowDirection
- A com.esri.arcgis.geodatabase.esriFlowDirection constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPoint getFromPoint(ILayer layer) throws IOException, AutomationException
getFromPoint
in interface ISchematicInMemoryFeatureSubLinkGeometry
layer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPoint getToPoint(ILayer layer) throws IOException, AutomationException
getToPoint
in interface ISchematicInMemoryFeatureSubLinkGeometry
layer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getVerticesCount() throws IOException, AutomationException
getVerticesCount
in interface ISchematicInMemoryFeatureSubLinkGeometry
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPoint getVertex(int i) throws IOException, AutomationException
getVertex
in interface ISchematicInMemoryFeatureSubLinkGeometry
i
- The i (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryVertex(int index, IPoint point) throws IOException, AutomationException
queryVertex
in interface ISchematicInMemoryFeatureSubLinkGeometry
index
- The index (in)point
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getInitialVerticesCount() throws IOException, AutomationException
getInitialVerticesCount
in interface ISchematicInMemoryFeatureSubLinkGeometry
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPoint getInitialVertex(int i) throws IOException, AutomationException
getInitialVertex
in interface ISchematicInMemoryFeatureSubLinkGeometry
i
- The i (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryInitialVertex(int index, IPoint point) throws IOException, AutomationException
queryInitialVertex
in interface ISchematicInMemoryFeatureSubLinkGeometry
index
- The index (in)point
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicObjectClass getSchematicObjectClass() throws IOException, AutomationException
getSchematicObjectClass
in interface ISchematicInMemoryObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getBoundingBox(ILayer layer) throws IOException, AutomationException
getBoundingBox
in interface ISchematicInMemoryFeatureBoundingBox
layer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryBoundingBoxCoords(ILayer layer, double[] xMin, double[] yMin, double[] xMax, double[] yMax) throws IOException, AutomationException
queryBoundingBoxCoords
in interface ISchematicInMemoryFeatureBoundingBox
layer
- A reference to a com.esri.arcgis.carto.ILayer (in)xMin
- The xMin (in/out: use single element array)yMin
- The yMin (in/out: use single element array)xMax
- The xMax (in/out: use single element array)yMax
- The yMax (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDataSourceID() throws IOException, AutomationException
getDataSourceID
in interface ISchematicInMemoryFeaturePrimaryAssociation
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getObjectClassID() throws IOException, AutomationException
getObjectClassID
in interface ISchematicInMemoryFeaturePrimaryAssociation
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getObjectID() throws IOException, AutomationException
getObjectID
in interface ISchematicInMemoryFeaturePrimaryAssociation
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getObjectSubID() throws IOException, AutomationException
getObjectSubID
in interface ISchematicInMemoryFeaturePrimaryAssociation
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getObjectGUID() throws IOException, AutomationException
getObjectGUID
in interface ISchematicInMemoryFeaturePrimaryAssociation
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IObject getAssociatedObject() throws IOException, AutomationException
getAssociatedObject
in interface ISchematicInMemoryFeaturePrimaryAssociation
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IObjectClass getAssociatedObjectClass() throws IOException, AutomationException
getAssociatedObjectClass
in interface ISchematicInMemoryFeaturePrimaryAssociation
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IWorkspace getAssociatedWorkspace() throws IOException, AutomationException
getAssociatedWorkspace
in interface ISchematicInMemoryFeaturePrimaryAssociation
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void associate(IObject object) throws IOException, AutomationException
associate
in interface ISchematicInMemoryFeaturePrimaryAssociation
object
- A reference to a com.esri.arcgis.geodatabase.IObject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void draw(int drawPhase, IDisplay display, ISymbol symbol, boolean symbolInstalled, IGeometry geometry, int drawStyle) throws IOException, AutomationException
draw
in interface IFeatureDraw
drawPhase
- A com.esri.arcgis.system.esriDrawPhase constant (in)display
- A reference to a com.esri.arcgis.display.IDisplay (in)symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)symbolInstalled
- The symbolInstalled (in)geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)drawStyle
- A com.esri.arcgis.geodatabase.esriDrawStyle constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setInvalidAreaByRef(IInvalidArea invalidArea) throws IOException, AutomationException
setInvalidAreaByRef
in interface IFeatureDraw
invalidArea
- A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IInvalidArea getInvalidArea() throws IOException, AutomationException
getInvalidArea
in interface IFeatureDraw
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onChanged() throws IOException, AutomationException
The OnChanged method is called by the geodatabase when an application program calls Store on an existing Row object.
onChanged
in interface IRowEvents
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onDelete() throws IOException, AutomationException
The OnDelete method is called by the geodatabase when an application program calls Delete on a Row object.
onDelete
in interface IRowEvents
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onInitialize() throws IOException, AutomationException
The OnInitialize method is called by the geodatabase after hydrating a cocreated Row object with its state (its set of field values) but before handing the Row to an application program. This is an opportunity for the Row object to initialize further state and derived member variables.
onInitialize
in interface IRowEvents
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onNew() throws IOException, AutomationException
The OnNew method is called by the geodatabase when an application program calls Store on a newly created Row object.
onNew
in interface IRowEvents
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onValidate() throws IOException, AutomationException
onValidate
in interface IRowEvents
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IRow otherRow) throws IOException, AutomationException
isEqual
in interface IRowCompare
otherRow
- A reference to a com.esri.arcgis.geodatabase.IRow (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void relatedObjectChanged(IRelationshipClass relationshipClass, IObject objectThatChanged) throws IOException, AutomationException
The RelatedObjectChanged method is called when a related object has changed.
relatedObjectChanged
in interface IRelatedObjectEvents
relationshipClass
- A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectThatChanged
- A reference to a com.esri.arcgis.geodatabase.IObject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void relatedObjectMoved(IRelationshipClass relationshipClass, IObject objectThatChanged, ILine moveVector) throws IOException, AutomationException
This method is currently reserved and implementations should not define any behavior.
relatedObjectMoved
in interface IRelatedObjectEvents
relationshipClass
- A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectThatChanged
- A reference to a com.esri.arcgis.geodatabase.IObject (in)moveVector
- A reference to a com.esri.arcgis.geometry.ILine (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void relatedObjectSetMoved(IRelationshipClass relationshipClass, ISet objectsThatNeedToChange, ISet objectsThatChanged, ILine moveVector) throws IOException, AutomationException
The RelatedObjectSetMoved method is called when a set of objects in the related object class has moved. The objectsThatChanged argument represents the set of objects in the related object classes that have moved.
The objectsThatNeedToChange argument is a set of objects in this object's class that are related to the objects that moved. The object executing this method will itself be a member of the objectsThatNeedToChange set.
relatedObjectSetMoved
in interface IRelatedObjectEvents
relationshipClass
- A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectsThatNeedToChange
- A reference to a com.esri.arcgis.system.ISet (in)objectsThatChanged
- A reference to a com.esri.arcgis.system.ISet (in)moveVector
- A reference to a com.esri.arcgis.geometry.ILine (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void relatedObjectRotated(IRelationshipClass relationshipClass, IObject objectThatChanged, IPoint origin, double angle) throws IOException, AutomationException
This method is currently reserved and implementations should not define any behavior.
relatedObjectRotated
in interface IRelatedObjectEvents
relationshipClass
- A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectThatChanged
- A reference to a com.esri.arcgis.geodatabase.IObject (in)origin
- A reference to a com.esri.arcgis.geometry.IPoint (in)angle
- The angle (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void relatedObjectSetRotated(IRelationshipClass relationshipClass, ISet objectsThatNeedToChange, ISet objectsThatChanged, IPoint origin, double angle) throws IOException, AutomationException
The RelatedObjectSetRotated method is called when a set of objects in the related object class has moved. Its arguments are similar to the arguments for RelatedObjectSetMoved.
relatedObjectSetRotated
in interface IRelatedObjectEvents
relationshipClass
- A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectsThatNeedToChange
- A reference to a com.esri.arcgis.system.ISet (in)objectsThatChanged
- A reference to a com.esri.arcgis.system.ISet (in)origin
- A reference to a com.esri.arcgis.geometry.IPoint (in)angle
- The angle (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isValueChanged(int index) throws IOException, AutomationException
isValueChanged
in interface IRowChanges
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getOriginalValue(int index) throws IOException, AutomationException
getOriginalValue
in interface IRowChanges
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSubtypeCode() throws IOException, AutomationException
When creating new objects within ArcMap, the default subtype and any default values are automatically set. When objects are created programmatically, the default subtype and default values are not automatically set. The subtype code of the feature can be specified with the SubtypeCode property.
All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
getSubtypeCode
in interface IRowSubtypes
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSubtypeCode(int subtypeCode) throws IOException, AutomationException
setSubtypeCode
in interface IRowSubtypes
subtypeCode
- The subtypeCode (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void initDefaultValues() throws IOException, AutomationException
When creating new objects within ArcMap, the default subtype and any default values are automatically set. When objects are created programmatically, the default subtype and default values are not automatically set. InitDefaultValues will populate fields with the specified default values.
All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation
initDefaultValues
in interface IRowSubtypes
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteSet(ISet rows) throws IOException, AutomationException
All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
deleteSet
in interface IRowEdit
rows
- A reference to a com.esri.arcgis.system.ISet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFields getInvalidFields() throws IOException, AutomationException
getInvalidFields
in interface IValidate
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumRule getInvalidRules() throws IOException, AutomationException
The GetInvalidRules method returns an enumerator of rules that are currently violated by the row.
getInvalidRules
in interface IValidate
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumRule getInvalidRulesByField(String fieldName) throws IOException, AutomationException
The GetInvalidRulesByField method returns an enumerator of rules violated by the specified field of the row.
getInvalidRulesByField
in interface IValidate
fieldName
- The fieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean validate(String[] errorMessage) throws IOException, AutomationException
The Validate method indicates whether the row is violating any of its class's rules. A return value of true indicates the row is valid, while a return value of false indicates the row is violating one or more rules.
Validate on a row occurs in five steps:
The validate process stops once a row is found invalid. For example, if a network feature violates an attribute rule, the validation process stops and the feature's network connectivity rules are not evaluated until the attribute rule violation is corrected.
validate
in interface IValidate
errorMessage
- The errorMessage (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShapeChanged() throws IOException, AutomationException
IFeatureChanges::ShapeChanged can be used to determine if a feature's geometry has changed. If the feature's geometry has been changed, but IRow::Store has not yet been called, ShapeChanged will return True. Once Store is called, ShapeChanged will return False. ShapeChanged can also be used in an event triggered by Store, such as IRowEvents::OnChanged. When used in this manner, ShapeChanged will return True if the feature's shape has changed. Once Store is complete, ShapeChanged will return false.
When working with Network Features, IFeatureChanges.ShapeChanged will return true in all instances where the geometry has changed and false for any attribute or connectivity update.
isShapeChanged
in interface IFeatureChanges
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry getOriginalShape() throws IOException, AutomationException
getOriginalShape
in interface IFeatureChanges
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void initShape() throws IOException, AutomationException
initShape
in interface IFeatureEvents
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onSplit() throws IOException, AutomationException
onSplit
in interface IFeatureEvents
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onMerge() throws IOException, AutomationException
onMerge
in interface IFeatureEvents
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDisplayFeedback beginMoveSet(ISet features, IPoint start) throws IOException, AutomationException
beginMoveSet
in interface IFeatureEdit
features
- A reference to a com.esri.arcgis.system.ISet (in)start
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void moveSet(ISet features, ILine moveVector) throws IOException, AutomationException
All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
moveSet
in interface IFeatureEdit
features
- A reference to a com.esri.arcgis.system.ISet (in)moveVector
- A reference to a com.esri.arcgis.geometry.ILine (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void rotateSet(ISet features, IPoint origin, double angle) throws IOException, AutomationException
All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
rotateSet
in interface IFeatureEdit
features
- A reference to a com.esri.arcgis.system.ISet (in)origin
- A reference to a com.esri.arcgis.geometry.IPoint (in)angle
- The angle (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISet split(IGeometry point) throws IOException, AutomationException
Split divides polylines by points or polygons by polylines, other kinds of split geometries are not supported (see IGeometry::GeometryType property for an enumeration of geometry types). The new features are automatically stored and the old features deleted. When a feature is split, the feature is deleted and two new features are created. The ObjectID of the deleted feature is not reused, the two new features will have new ObjectID values. You can define a policy on how the other attribute values of the new features are populated; this can be done with ArcCatalog or by using the Domain and Attribute Rule objects.
It is not necessary to call SplitAttributes after calling Split, this is done automatically.
All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
split
in interface IFeatureEdit
point
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void splitAttributes(IFeature baseFeature) throws IOException, AutomationException
This method is intended for internal use only.
splitAttributes
in interface IFeatureEdit
baseFeature
- A reference to a com.esri.arcgis.geodatabase.IFeature (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void simplifyGeometry(IGeometry geometry) throws IOException, AutomationException
simplifyGeometry
in interface IFeatureSimplify
geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
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 |