|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geometry.Parameter
public class Parameter
Creates a parameter.
The IClone::IsIdentical method is not implemented.
Constructor Summary | |
---|---|
Parameter()
Constructs a Parameter using ArcGIS Engine. |
|
Parameter(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. Parameter theParameter = (Parameter) obj; |
Method Summary | |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
define(String authorityName,
int authorityCode,
String authorityVersion)
Defines the authority-related metadata properties for this spatial reference object. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
void |
exportToESRISpatialReference(String[] str,
int[] cBytesWrote)
Exports this spatial reference component to a buffer. |
void |
exportToESRISpatialReference2(String[] str,
int[] cBytesWrote)
Exports this spatial reference component to a buffer. |
String |
getAbbreviation()
The abbreviated name of this spatial reference component. |
String |
getAlias()
The alias of this spatial reference component. |
String |
getAuthorityName()
The name of the defining authority for this object. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
int |
getCode()
The code identifying this object relative to its authority. |
int |
getESRISpatialReferenceSize()
The number of bytes required to hold the persistant representation of this spatial reference component. |
int |
getFactoryCode()
The factory code (WKID) of the spatial reference. |
int |
getIndex()
The index of a projection parameter within a projected coordinate system's parameter array. |
String |
getName()
The name of this spatial reference component. |
String |
getRemarks()
The comment string of this spatial reference component. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
double |
getValue()
The numerical value of a projection parameter. |
String |
getVersion()
The version of this spatial reference object. |
int |
hashCode()
the hashcode for this object |
void |
importFromESRISpatialReference(String str,
int[] cBytesRead)
Defines this spatial reference component from the specified ESRISpatialReference buffer. |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
void |
isDirty()
isDirty |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setIndex(int rhs1)
The index of a projection parameter within a projected coordinate system's parameter array. |
void |
setName(String rhs1)
The name of a projection parameter. |
void |
setValue(double value)
The numerical value of a projection parameter. |
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 Parameter() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic Parameter(Object obj) throws IOException
Parameter theParameter = (Parameter) obj;
obj
to Parameter
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int getESRISpatialReferenceSize() throws IOException, AutomationException
getESRISpatialReferenceSize
in interface IESRISpatialReference
getESRISpatialReferenceSize
in interface IESRISpatialReferenceGEN
getESRISpatialReferenceSize
in interface IESRISpatialReferenceGEN2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void importFromESRISpatialReference(String str, int[] cBytesRead) throws IOException, AutomationException
importFromESRISpatialReference
in interface IESRISpatialReference
importFromESRISpatialReference
in interface IESRISpatialReferenceGEN
importFromESRISpatialReference
in interface IESRISpatialReferenceGEN2
str
- The str (in)cBytesRead
- The cBytesRead (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void exportToESRISpatialReference(String[] str, int[] cBytesWrote) throws IOException, AutomationException
exportToESRISpatialReference
in interface IESRISpatialReference
exportToESRISpatialReference
in interface IESRISpatialReferenceGEN
str
- The str (out: use single element array)cBytesWrote
- The cBytesWrote (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void exportToESRISpatialReference2(String[] str, int[] cBytesWrote) throws IOException, AutomationException
exportToESRISpatialReference2
in interface IESRISpatialReferenceGEN2
str
- The str (out: use single element array)cBytesWrote
- The cBytesWrote (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setValue(double value) throws IOException, AutomationException
Sets the value of a particular parameter.
setValue
in interface IParameter
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getValue() throws IOException, AutomationException
Retrieves the value of a particular parameter.
getValue
in interface IParameter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getIndex() throws IOException, AutomationException
Returns the index value of a particular parameter.
getIndex
in interface IParameter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface ISpatialReferenceInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getAlias() throws IOException, AutomationException
getAlias
in interface ISpatialReferenceInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getAbbreviation() throws IOException, AutomationException
getAbbreviation
in interface ISpatialReferenceInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getRemarks() throws IOException, AutomationException
getRemarks
in interface ISpatialReferenceInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFactoryCode() throws IOException, AutomationException
The factory code is an integer identifier that is unique by projection engine object type, such as a projected coordinate system. You can use a factory code in the ISpatialReferenceFactory::CreateProjectedCoordinateSystem method for example. If you create a custom projected coordinate system, the factory code is zero.
getFactoryCode
in interface ISpatialReferenceInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String rhs1) throws IOException, AutomationException
setName
in interface IParameterEdit
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIndex(int rhs1) throws IOException, AutomationException
setIndex
in interface IParameterEdit
rhs1
- The rhs1 (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 IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- 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 IClone
other
- 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 IClone
other
- 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 isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- 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 IPersistStream
pstm
- 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 IPersistStream
pstm
- 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 IPersistStream
pcbSize
- 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 IPersist
pClassID
- 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 interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getAuthorityName() throws IOException, AutomationException
getAuthorityName
in interface ISpatialReferenceAuthority
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getVersion() throws IOException, AutomationException
getVersion
in interface ISpatialReferenceAuthority
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCode() throws IOException, AutomationException
getCode
in interface ISpatialReferenceAuthority
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void define(String authorityName, int authorityCode, String authorityVersion) throws IOException, AutomationException
define
in interface ISpatialReferenceAuthority
authorityName
- The authorityName (in)authorityCode
- The authorityCode (in)authorityVersion
- The authorityVersion (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |