public class LinearUnit extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IESRISpatialReferenceGEN, IESRISpatialReferenceGEN2, ILinearUnit, IUnit, ILinearUnitEdit, ISpatialReferenceInfo, IClone, IPersist, IPersistStream, IESRISpatialReference, ISupportErrorInfo, ISpatialReferenceAuthority, java.io.Externalizable
Description 'Creates a linear unit of measure.' 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 =
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
IID, IIDf90e304c_a0f7_4a7d_9f62_25fd2a5c96af, xxDummy
IID, IID3f9863b9_5477_4757_ac6f_63204de301ee, xxDummy
IID, IID74ad43f1_d31c_11d1_bc9b_0000f875bcce, xxDummy
IID0ae02580_1dd2_11b2_bf4a_08002022f573
IID4da0fe00_1dd2_11b2_bf49_08002022f573
IID, IID3b219f23_d3ff_11d1_bc9b_0000f875bcce, xxDummy
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
IID0000010c_0000_0000_c000_000000000046
IID, IIDbf8786d0_4fc5_487b_9e6a_53e5cb5619c1, xxDummy
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
IID, IIDd2f20dac_5ca7_4b58_bddb_309fdd0e364a, xxDummy
Constructor and Description |
---|
LinearUnit()
Constructs a LinearUnit using ArcGIS Engine.
|
LinearUnit(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
LinearUnit theLinearUnit = (LinearUnit) obj; |
Modifier and Type | Method and Description |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver.
|
void |
define(java.lang.Object name,
java.lang.Object alias,
java.lang.Object abbreviation,
java.lang.Object remarks,
java.lang.Object metersPerUnit)
Defines the properties of the linear unit.
|
void |
define(java.lang.String authorityName,
int authorityCode,
java.lang.String authorityVersion)
Defines the authority-related metadata properties for this spatial reference object.
|
void |
defineEx(java.lang.String name,
java.lang.String alias,
java.lang.String abbreviation,
java.lang.String remarks,
double[] metersPerUnit)
Defines the properties of the linear unit.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone.
|
void |
exportToESRISpatialReference(java.lang.String[] str,
int[] cBytesWrote)
Exports this spatial reference component to a buffer.
|
void |
exportToESRISpatialReference2(java.lang.String[] str,
int[] cBytesWrote)
Exports this spatial reference component to a buffer.
|
java.lang.String |
getAbbreviation()
The abbreviated name of this spatial reference component.
|
java.lang.String |
getAlias()
The alias of this spatial reference component.
|
java.lang.String |
getAuthorityName()
The name of the defining authority for this object.
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getCode()
The code identifying this object relative to its authority.
|
double |
getConversionFactor()
The conversion factor of the unit to the base.
|
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.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
double |
getMetersPerUnit()
The meters per unit for a coordinate system.
|
java.lang.String |
getName()
The name of this spatial reference component.
|
java.lang.String |
getRemarks()
The comment string of this spatial reference component.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
java.lang.String |
getVersion()
The version of this spatial reference object.
|
int |
hashCode()
the hashcode for this object
|
void |
importFromESRISpatialReference(java.lang.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(java.io.ObjectInput in) |
void |
release()
Release this COM object reference
|
void |
save(IStream pstm,
int fClearDirty)
save
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public LinearUnit() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic LinearUnit(java.lang.Object obj) throws java.io.IOException
LinearUnit theLinearUnit = (LinearUnit) obj;
obj
to LinearUnit
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public int getESRISpatialReferenceSize() throws java.io.IOException, AutomationException
getESRISpatialReferenceSize
in interface IESRISpatialReference
getESRISpatialReferenceSize
in interface IESRISpatialReferenceGEN
getESRISpatialReferenceSize
in interface IESRISpatialReferenceGEN2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void importFromESRISpatialReference(java.lang.String str, int[] cBytesRead) throws java.io.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)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void exportToESRISpatialReference(java.lang.String[] str, int[] cBytesWrote) throws java.io.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)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void exportToESRISpatialReference2(java.lang.String[] str, int[] cBytesWrote) throws java.io.IOException, AutomationException
exportToESRISpatialReference2
in interface IESRISpatialReferenceGEN2
str
- The str (out: use single element array)cBytesWrote
- The cBytesWrote (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getMetersPerUnit() throws java.io.IOException, AutomationException
getMetersPerUnit
in interface ILinearUnit
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getConversionFactor() throws java.io.IOException, AutomationException
getConversionFactor
in interface IUnit
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface ISpatialReferenceInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getAlias() throws java.io.IOException, AutomationException
getAlias
in interface ISpatialReferenceInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getAbbreviation() throws java.io.IOException, AutomationException
getAbbreviation
in interface ISpatialReferenceInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getRemarks() throws java.io.IOException, AutomationException
getRemarks
in interface ISpatialReferenceInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getFactoryCode() throws java.io.IOException, AutomationException
getFactoryCode
in interface ISpatialReferenceInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void defineEx(java.lang.String name, java.lang.String alias, java.lang.String abbreviation, java.lang.String remarks, double[] metersPerUnit) throws java.io.IOException, AutomationException
defineEx
in interface ILinearUnitEdit
name
- The name (in)alias
- The alias (in)abbreviation
- The abbreviation (in)remarks
- The remarks (in)metersPerUnit
- The metersPerUnit (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void define(java.lang.Object name, java.lang.Object alias, java.lang.Object abbreviation, java.lang.Object remarks, java.lang.Object metersPerUnit) throws java.io.IOException, AutomationException
define
in interface ILinearUnitEdit
name
- A Variant (in, optional, pass null if not required)alias
- A Variant (in, optional, pass null if not required)abbreviation
- A Variant (in, optional, pass null if not required)remarks
- A Variant (in, optional, pass null if not required)metersPerUnit
- A Variant (in, optional, pass null if not required)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws java.io.IOException, AutomationException
esri_clone
in interface IClone
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws java.io.IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws java.io.IOException, AutomationException
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws java.io.IOException, AutomationException
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getAuthorityName() throws java.io.IOException, AutomationException
getAuthorityName
in interface ISpatialReferenceAuthority
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getVersion() throws java.io.IOException, AutomationException
getVersion
in interface ISpatialReferenceAuthority
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getCode() throws java.io.IOException, AutomationException
getCode
in interface ISpatialReferenceAuthority
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void define(java.lang.String authorityName, int authorityCode, java.lang.String authorityVersion) throws java.io.IOException, AutomationException
define
in interface ISpatialReferenceAuthority
authorityName
- The authorityName (in)authorityCode
- The authorityCode (in)authorityVersion
- The authorityVersion (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException