|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INAClassDefinition
Provides access to properties common to all network analyst class definitions.
INAClassDefinition has been superseded by INAClassDefinition2.
Method Summary | |
---|---|
IStringArray |
getCandidateFieldNames(String fieldName)
The field names that will be used by default for the network analyst class. |
IUID |
getClassCLSID()
The COM class id for the network analyst class. |
IFields |
getFields()
The fields for the network analyst class. |
int |
getFieldType(String fieldName)
The field type for a network analyst class field. |
int |
getLowerBound()
The minimum number of objects required in the class by the solver to perform analysis. |
String |
getName()
The name of the class. |
int |
getUpperBound()
The maximum number of objects allowed in the class by the solver to perform analysis. |
boolean |
isHasLocationFields()
Indicates if the class has location fields. |
boolean |
isInput()
Indicates if the class is used as an input to analysis. |
boolean |
isOutput()
Indicates if the class is used as an output from analysis. |
Method Detail |
---|
String getName() throws IOException, AutomationException
Name returns the name of the NAClass.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IUID getClassCLSID() throws IOException, AutomationException
ClassCLSID returns the CLSID of the row returned from the NAClass. By default this value is "{D4D5923C-EA31-4B8D-9050-6429CF17AB41}" which represents "esriNetworkAnalyst.NALocationFeature.1".
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IFields getFields() throws IOException, AutomationException
Fields returns the fields on the NAClass.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getFieldType(String fieldName) throws IOException, AutomationException
fieldName
- The fieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IStringArray getCandidateFieldNames(String fieldName) throws IOException, AutomationException
fieldName
- The fieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isHasLocationFields() throws IOException, AutomationException
HasLocationFields returns true if the NAClass has the 4 fields (SourceID, SourceOID, PosAlong, and SideOfEdge) that are necessary to represent network locations.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getLowerBound() throws IOException, AutomationException
LowerBound specifies the minimum number of NALocationObjects that are required by the solver to perform analysis.
For example, an NARouteSolver requires at least 2 stops. This means that the LowerBound property of the Stop's NAClassDefinition would be 2.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getUpperBound() throws IOException, AutomationException
UpperBound specifies the maximum number of NALocationObjects that are allowed by the solver to perform analysis.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isInput() throws IOException, AutomationException
IsInput specifies if the NAClass is used as input to the solver.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isOutput() throws IOException, AutomationException
IsOutput specifies if the NAClass is used as output by the solver.
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 |