|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.networkanalyst.GPNALayer
public class GPNALayer
Geoprocessing network analyst layer value.
| Constructor Summary | |
|---|---|
GPNALayer()
Constructs a GPNALayer using ArcGIS Engine. |
|
GPNALayer(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GPNALayer theGPNALayer = (GPNALayer) obj; |
|
| Method Summary | |
|---|---|
void |
add(IGPLayer pGPLayer)
Add a layer. |
void |
addClassDefinition(INAClassDefinition classDef)
Adds class definition for sublayer. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
clear()
Remove all layers. |
Object |
describe(String name)
The description of the named object. |
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
void |
empty()
Clears the value object. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
IEnvelope |
getAreaOfInterest()
The default area of interest for the layer. |
String |
getAsText()
Provides the value of the value object. |
IArray |
getChildren()
Returns the array of layers. |
INAClassDefinition |
getClassDefinition(int index)
The class definition for a sublayer. |
IArray |
getClassDefinitions()
The array of class definitions. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
int |
getCount()
Gets the number of layers. |
IDataElement |
getDataElement()
The data element of the layer. |
IDENetworkDataset |
getDENetworkDataset()
The network dataset data element. |
IEnvelope |
getExtent()
The extent of the coverage. |
IGPLayer |
getLayer(int index)
Returns a given layer. |
IArray |
getLocatorFeatureAgents()
The array of locator feature agents. |
String |
getNameString()
The name string. |
IGPLinearUnit |
getSearchRadius()
The search radius used for loading points. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
ISpatialReference |
getSpatialReference()
The spatial reference of the geodataset. |
int |
hashCode()
the hashcode for this object |
IGPDataType |
IGPValue_getDataType()
The data type of the value object. |
void |
isDirty()
isDirty |
boolean |
isEmpty()
Indicates if the value object is empty. |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isExcludeRestrictedElements()
Indicates whether to exclude restricted portions of the network when loading points. |
boolean |
isFindClosestAmongAllAgents()
Indicates whether to search all agents when loading points. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
remove(int index)
Remove a layer. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setAOICoords(double xMin,
double yMin,
double xMax,
double yMax)
The set Extent of the feature layer. |
void |
setAreaOfInterestByRef(IEnvelope ppExtent)
The default area of interest for the layer. |
IGPMessage |
setAsText(String text)
Provides the value of the value object with the given string value. |
void |
setDataElementByRef(IDataElement ppDataElement)
The data element of the layer. |
void |
setDENetworkDatasetByRef(IDENetworkDataset dataelement)
The network dataset data element. |
void |
setExcludeRestrictedElements(boolean bExcludeRestrictedElements)
Indicates whether to exclude restricted portions of the network when loading points. |
void |
setExtentByRef(IEnvelope extent)
The extent of the coverage. |
void |
setFindClosestAmongAllAgents(boolean bFindClosest)
Indicates whether to search all agents when loading points. |
void |
setLocatorFeatureAgentsByRef(IArray ppAgents)
The array of locator feature agents. |
void |
setNameString(String pNamestring)
The name string. |
void |
setSearchRadiusByRef(IGPLinearUnit ppLinearUnit)
The search radius used for loading points. |
void |
setSpatialReferenceByRef(ISpatialReference spatialReference)
The spatial reference of the geodataset. |
void |
writeExternal(ObjectOutput out)
|
| 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 GPNALayer()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public GPNALayer(Object obj)
throws IOException
GPNALayer theGPNALayer = (GPNALayer) obj;
obj to GPNALayer.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public IGPDataType IGPValue_getDataType()
throws IOException,
AutomationException
IGPValue_getDataType in interface IGPValueIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEmpty()
throws IOException,
AutomationException
The IsEmpty method returns if this Value object has been set or not.
isEmpty in interface IGPValueIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void empty()
throws IOException,
AutomationException
The Empty method clears this Value object and releases any associated objects.
empty in interface IGPValueIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getAsText()
throws IOException,
AutomationException
The GetAsText method returns this Value object as a text string. For DataElement value objects it is the NameString. For simple value objects it is the text string for the scalar value.
getAsText in interface IGPValueIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGPMessage setAsText(String text)
throws IOException,
AutomationException
The SetAsText method sets the value of this Value object as a text string. For DataElement value objects it is the NameString. For simple value objects it is the text string representing the scalar value.
setAsText in interface IGPValuetext - The text (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDENetworkDataset getDENetworkDataset()
throws IOException,
AutomationException
getDENetworkDataset in interface IGPNALayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDENetworkDatasetByRef(IDENetworkDataset dataelement)
throws IOException,
AutomationException
setDENetworkDatasetByRef in interface IGPNALayerdataelement - A reference to a com.esri.arcgis.geodatabase.IDENetworkDataset (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INAClassDefinition getClassDefinition(int index)
throws IOException,
AutomationException
getClassDefinition in interface IGPNALayerindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addClassDefinition(INAClassDefinition classDef)
throws IOException,
AutomationException
addClassDefinition in interface IGPNALayerclassDef - A reference to a com.esri.arcgis.networkanalyst.INAClassDefinition (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArray getClassDefinitions()
throws IOException,
AutomationException
getClassDefinitions in interface IGPNALayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSearchRadiusByRef(IGPLinearUnit ppLinearUnit)
throws IOException,
AutomationException
setSearchRadiusByRef in interface IGPNALayerppLinearUnit - A reference to a com.esri.arcgis.geoprocessing.IGPLinearUnit (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGPLinearUnit getSearchRadius()
throws IOException,
AutomationException
getSearchRadius in interface IGPNALayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLocatorFeatureAgentsByRef(IArray ppAgents)
throws IOException,
AutomationException
setLocatorFeatureAgentsByRef in interface IGPNALayerppAgents - A reference to a com.esri.arcgis.system.IArray (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArray getLocatorFeatureAgents()
throws IOException,
AutomationException
getLocatorFeatureAgents in interface IGPNALayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFindClosestAmongAllAgents(boolean bFindClosest)
throws IOException,
AutomationException
setFindClosestAmongAllAgents in interface IGPNALayerbFindClosest - The bFindClosest (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isFindClosestAmongAllAgents()
throws IOException,
AutomationException
isFindClosestAmongAllAgents in interface IGPNALayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExcludeRestrictedElements(boolean bExcludeRestrictedElements)
throws IOException,
AutomationException
setExcludeRestrictedElements in interface IGPNALayer2bExcludeRestrictedElements - The bExcludeRestrictedElements (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isExcludeRestrictedElements()
throws IOException,
AutomationException
isExcludeRestrictedElements in interface IGPNALayer2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getNameString()
throws IOException,
AutomationException
getNameString in interface IGPLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNameString(String pNamestring)
throws IOException,
AutomationException
setNameString in interface IGPLayerpNamestring - The pNamestring (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getAreaOfInterest()
throws IOException,
AutomationException
getAreaOfInterest in interface IGPLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAreaOfInterestByRef(IEnvelope ppExtent)
throws IOException,
AutomationException
setAreaOfInterestByRef in interface IGPLayerppExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAOICoords(double xMin,
double yMin,
double xMax,
double yMax)
throws IOException,
AutomationException
setAOICoords in interface IGPLayerxMin - The xMin (in)yMin - The yMin (in)xMax - The xMax (in)yMax - The yMax (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDataElement getDataElement()
throws IOException,
AutomationException
getDataElement in interface IGPLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDataElementByRef(IDataElement ppDataElement)
throws IOException,
AutomationException
setDataElementByRef in interface IGPLayerppDataElement - A reference to a com.esri.arcgis.geodatabase.IDataElement (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getExtent()
throws IOException,
AutomationException
getExtent in interface IDEGeoDatasetIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExtentByRef(IEnvelope extent)
throws IOException,
AutomationException
setExtentByRef in interface IDEGeoDatasetextent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISpatialReference getSpatialReference()
throws IOException,
AutomationException
getSpatialReference in interface IDEGeoDatasetIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSpatialReferenceByRef(ISpatialReference spatialReference)
throws IOException,
AutomationException
setSpatialReferenceByRef in interface IDEGeoDatasetspatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCount()
throws IOException,
AutomationException
getCount in interface IGPCompositeLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGPLayer getLayer(int index)
throws IOException,
AutomationException
getLayer in interface IGPCompositeLayerindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void add(IGPLayer pGPLayer)
throws IOException,
AutomationException
add in interface IGPCompositeLayerpGPLayer - A reference to a com.esri.arcgis.datasourcesfile.IGPLayer (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void remove(int index)
throws IOException,
AutomationException
remove in interface IGPCompositeLayerindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void clear()
throws IOException,
AutomationException
clear in interface IGPCompositeLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArray getChildren()
throws IOException,
AutomationException
getChildren in interface IGPCompositeLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object describe(String name)
throws IOException,
AutomationException
describe in interface IGPDescribename - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IClone esri_clone()
throws IOException,
AutomationException
esri_clone in interface ICloneIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
throws IOException,
AutomationException
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEqual(IClone other)
throws IOException,
AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isIdentical(IClone other)
throws IOException,
AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void serialize(IXMLSerializeData data)
throws IOException,
AutomationException
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deserialize(IXMLSerializeData data)
throws IOException,
AutomationException
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||