com.esri.arcgis.networkanalyst
Class NALocationRangesObject

java.lang.Object
  extended by com.esri.arcgis.networkanalyst.NALocationRangesObject
All Implemented Interfaces:
IObject, IRelatedObjectEvents, IRow, IRowBuffer, IRowChanges, IRowCompare, IRowEdit, IRowEvents, IRowSubtypes, IValidate, com.esri.arcgis.interop.RemoteObjRef, INALocationRangesObject, ISupportErrorInfo, java.io.Serializable

public class NALocationRangesObject
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, INALocationRangesObject, IRow, IObject, ISupportErrorInfo, IRelatedObjectEvents, IRowChanges, IRowCompare, IRowEdit, IRowEvents, IRowSubtypes, IValidate

COM Class 'NALocationRangesObject'. Generated 3/19/2015 1:20:45 PM from 'C:\ArcGIS\COM\esriNetworkAnalyst.olb'

Description 'A container of NALocationRanges which can be used like a row.' 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.networkanalyst.INALocationRangesObject
IID, IID8b98eda5_a568_4e34_96cb_f1f8301b69b7, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IObject
IID, IID1afcdb34_ac09_11d2_8a1e_006097aff44e, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRow
IIDfcb01cb4_9f0b_11d0_bec7_00805f7c4268
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRowBuffer
IID93684651_1a83_11d1_8802_0000f877762d
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRelatedObjectEvents
IID, IID22b0069a_8895_11d2_8a0d_006097aff44e, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRowChanges
IID, IID022f7462_69fa_11d3_9fd0_00c04f6bdd84, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRowCompare
IID, IID7d3e2831_6c5a_11d3_8a98_000000000000, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRowEdit
IID, IID192ada11_33f1_11d3_9f6a_00c04f6bdf0c, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRowEvents
IID, IID8c387320_12c6_11d2_aad1_00c04fa37b81, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRowSubtypes
IID, IIDd3f18540_bf77_11d2_aaf2_00c04fa37b82, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IValidate
IID, IID80e4ff2c_475d_11d2_9932_0000f80372b4, xxDummy
 
Constructor Summary
NALocationRangesObject()
          Constructs a NALocationRangesObject using ArcGIS Engine.
NALocationRangesObject(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NALocationRangesObject theNALocationRangesObject = (NALocationRangesObject) obj;
 
Method Summary
 void delete()
          Deletes the row.
 void deleteSet(ISet rows)
          Deletes the set of rows.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IObjectClass esri_getClass()
          The Object Class for the row.
static java.lang.String getClsid()
          getClsid.
 IFields getFields()
          The fields Collection for this row buffer.
 IFields getInvalidFields()
          Returns all invalid fields.
 IEnumRule getInvalidRules()
          The set of all invalid rules.
 IEnumRule getInvalidRulesByField(java.lang.String fieldName)
          The set of all invalid rules for the specified field.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 INALocationRanges getNALocationRanges()
          The NALocationRanges object associated with this NALocationRangesObject instance.
 int getOID()
          The OID for the row.
 java.lang.Object getOriginalValue(int index)
          The value of the field at the specified index immediately after the last call to Store on the Row object.
 int getSubtypeCode()
          The subtype for the row.
 ITable getTable()
          The Table for the row.
 java.lang.Object getValue(int index)
          The value of the field with the specified index.
 int hashCode()
          the hashcode for this object
 void initDefaultValues()
          The default values of the row.
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 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 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 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 onNew()
          An after event that is fired when a custom object is Stored for the first time.
 void onValidate()
          An after event that is fired when a custom object is validated.
 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 release()
          Release a NALocationRangesObject.
 void setNALocationRanges(INALocationRanges locationRanges)
          The NALocationRanges object associated with this NALocationRangesObject instance.
 void setSubtypeCode(int subtypeCode)
          The subtype for the row.
 void setValue(int index, java.lang.Object value)
          The value of the field with the specified index.
 void store()
          Stores the row.
 boolean validate(java.lang.String[] errorMessage)
          Validates the row.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NALocationRangesObject

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

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

NALocationRangesObject

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

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

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 NALocationRangesObject.

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

setNALocationRanges

public void setNALocationRanges(INALocationRanges locationRanges)
                         throws java.io.IOException,
                                AutomationException
The NALocationRanges object associated with this NALocationRangesObject instance.

Specified by:
setNALocationRanges in interface INALocationRangesObject
Parameters:
locationRanges - A reference to a com.esri.arcgis.networkanalyst.INALocationRanges (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNALocationRanges

public INALocationRanges getNALocationRanges()
                                      throws java.io.IOException,
                                             AutomationException
The NALocationRanges object associated with this NALocationRangesObject instance.

Specified by:
getNALocationRanges in interface INALocationRangesObject
Returns:
A reference to a com.esri.arcgis.networkanalyst.INALocationRanges
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasOID

public boolean isHasOID()
                 throws java.io.IOException,
                        AutomationException
Indicates if the row has an OID.

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

getOID

public int getOID()
           throws java.io.IOException,
                  AutomationException
The OID for the row.

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

getTable

public ITable getTable()
                throws java.io.IOException,
                       AutomationException
The Table for the row.

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

store

public void store()
           throws java.io.IOException,
                  AutomationException
Stores the row.

Specified by:
store in interface IRow
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delete

public void delete()
            throws java.io.IOException,
                   AutomationException
Deletes the row.

Specified by:
delete in interface IRow
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getValue

public java.lang.Object getValue(int index)
                          throws java.io.IOException,
                                 AutomationException
The value of the field with the specified index.

Specified by:
getValue in interface IRowBuffer
Parameters:
index - The index (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setValue

public void setValue(int index,
                     java.lang.Object value)
              throws java.io.IOException,
                     AutomationException
The value of the field with the specified index.

Specified by:
setValue in interface IRowBuffer
Parameters:
index - The index (in)
value - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFields

public IFields getFields()
                  throws java.io.IOException,
                         AutomationException
The fields Collection for this row buffer.

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

esri_getClass

public IObjectClass esri_getClass()
                           throws java.io.IOException,
                                  AutomationException
The Object Class for the row.

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

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

relatedObjectChanged

public void relatedObjectChanged(IRelationshipClass relationshipClass,
                                 IObject objectThatChanged)
                          throws java.io.IOException,
                                 AutomationException
Notifies this object that a related object changed.

Specified by:
relatedObjectChanged in interface IRelatedObjectEvents
Parameters:
relationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
objectThatChanged - A reference to a com.esri.arcgis.geodatabase.IObject (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

relatedObjectMoved

public void relatedObjectMoved(IRelationshipClass relationshipClass,
                               IObject objectThatChanged,
                               ILine moveVector)
                        throws java.io.IOException,
                               AutomationException
Notifies this object that a related object moved.

Specified by:
relatedObjectMoved in interface IRelatedObjectEvents
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

relatedObjectSetMoved

public void relatedObjectSetMoved(IRelationshipClass relationshipClass,
                                  ISet objectsThatNeedToChange,
                                  ISet objectsThatChanged,
                                  ILine moveVector)
                           throws java.io.IOException,
                                  AutomationException
Notifies this object that a set of objects with relationships to the input set of objects moved.

Specified by:
relatedObjectSetMoved in interface IRelatedObjectEvents
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

relatedObjectRotated

public void relatedObjectRotated(IRelationshipClass relationshipClass,
                                 IObject objectThatChanged,
                                 IPoint origin,
                                 double angle)
                          throws java.io.IOException,
                                 AutomationException
Notifies this object that a related object rotated.

Specified by:
relatedObjectRotated in interface IRelatedObjectEvents
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

relatedObjectSetRotated

public void relatedObjectSetRotated(IRelationshipClass relationshipClass,
                                    ISet objectsThatNeedToChange,
                                    ISet objectsThatChanged,
                                    IPoint origin,
                                    double angle)
                             throws java.io.IOException,
                                    AutomationException
Notifies this object that a set of objects with relationships to the input set of objects rotated.

Specified by:
relatedObjectSetRotated in interface IRelatedObjectEvents
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isValueChanged

public boolean isValueChanged(int index)
                       throws java.io.IOException,
                              AutomationException
Indicates whether the value of the field at the specified index has changed since the last call to Store on the Row object.

Specified by:
isValueChanged in interface IRowChanges
Parameters:
index - The index (in)
Returns:
The changed
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOriginalValue

public java.lang.Object getOriginalValue(int index)
                                  throws java.io.IOException,
                                         AutomationException
The value of the field at the specified index immediately after the last call to Store on the Row object.

Specified by:
getOriginalValue in interface IRowChanges
Parameters:
index - The index (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEqual

public boolean isEqual(IRow otherRow)
                throws java.io.IOException,
                       AutomationException
Indicates if the rows (which may be from two different versions) are the same (oid + values).

Specified by:
isEqual in interface IRowCompare
Parameters:
otherRow - A reference to a com.esri.arcgis.geodatabase.IRow (in)
Returns:
The isEqual
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteSet

public void deleteSet(ISet rows)
               throws java.io.IOException,
                      AutomationException
Deletes the set of rows.

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

onChanged

public void onChanged()
               throws java.io.IOException,
                      AutomationException
An after event that is fired when a custom object is changed.

Specified by:
onChanged in interface IRowEvents
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onDelete

public void onDelete()
              throws java.io.IOException,
                     AutomationException
An after event that is fired when a custom object is deleted.

Specified by:
onDelete in interface IRowEvents
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onInitialize

public void onInitialize()
                  throws java.io.IOException,
                         AutomationException
An after event that is fired when a custom object is initialized.

Specified by:
onInitialize in interface IRowEvents
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onNew

public void onNew()
           throws java.io.IOException,
                  AutomationException
An after event that is fired when a custom object is Stored for the first time.

Specified by:
onNew in interface IRowEvents
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onValidate

public void onValidate()
                throws java.io.IOException,
                       AutomationException
An after event that is fired when a custom object is validated.

Specified by:
onValidate in interface IRowEvents
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSubtypeCode

public int getSubtypeCode()
                   throws java.io.IOException,
                          AutomationException
The subtype for the row.

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

setSubtypeCode

public void setSubtypeCode(int subtypeCode)
                    throws java.io.IOException,
                           AutomationException
The subtype for the row.

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

initDefaultValues

public void initDefaultValues()
                       throws java.io.IOException,
                              AutomationException
The default values of the row.

Specified by:
initDefaultValues in interface IRowSubtypes
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInvalidFields

public IFields getInvalidFields()
                         throws java.io.IOException,
                                AutomationException
Returns all invalid fields.

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

getInvalidRules

public IEnumRule getInvalidRules()
                          throws java.io.IOException,
                                 AutomationException
The set of all invalid rules.

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

getInvalidRulesByField

public IEnumRule getInvalidRulesByField(java.lang.String fieldName)
                                 throws java.io.IOException,
                                        AutomationException
The set of all invalid rules for the specified field.

Specified by:
getInvalidRulesByField in interface IValidate
Parameters:
fieldName - The fieldName (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumRule
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

validate

public boolean validate(java.lang.String[] errorMessage)
                 throws java.io.IOException,
                        AutomationException
Validates the row.

Specified by:
validate in interface IValidate
Parameters:
errorMessage - The errorMessage (out: use single element array)
Returns:
The isValid
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.