|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INAClass
Provides access to properties/methods common to all network analysis classes.
INAClass is the interface provided on the NAClass object to access the NAClassDefinition and to quickly delete all the rows on the NAClass object.
Method Summary | |
---|---|
void |
deleteAllRows()
Remove all items added to the class (for example, stops or incidents). |
INAClassDefinition |
getClassDefinition()
The network analyst class definition. |
boolean |
isSaveRowsOnPersist()
Indicates if rows are stored with the map document. |
void |
setSaveRowsOnPersist(boolean pFlag)
Indicates if rows are stored with the map document. |
Method Detail |
---|
INAClassDefinition getClassDefinition() throws IOException, AutomationException
Returns the ClassDefinition object associated with this NAClass.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void deleteAllRows() throws IOException, AutomationException
DeleteAllRows quickly removes all of the rows from the NAClass. This is the quickest method to clear all of the NetworkLocationObjects from an NAClass.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSaveRowsOnPersist(boolean pFlag) throws IOException, AutomationException
SaveRowsOnPersist specifies if the rows in the NAClass should be saved in the stream when IPersistStream::Save is called.
pFlag
- The pFlag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isSaveRowsOnPersist() throws IOException, AutomationException
SaveRowsOnPersist specifies if the rows in the NAClass should be saved in the stream when IPersistStream::Save is called.
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 |