public class RasterDatasetName extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IName, IDatasetName, IPersistStream, IRasterDatasetName, IMetadata, IMetadataEdit, INativeTypeInfo, IDatasetNameFileStat, IDatasetNameFileSize, IRasterDatasetContainerName, IDocumentVersionSupportGEN, java.io.Externalizable
Description 'A container for name information about a raster dataset.' 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, IID89e75917_c287_11d1_aa77_00c04fa33a15, xxDummy
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
IID0000010c_0000_0000_c000_000000000046
IID, IIDbc25e11e_168b_11d2_8d25_0000f8780535, xxDummy
IID, IID5de04a82_24e4_11d3_a641_0008c7d3ae50, xxDummy
IID, IID97fdb978_62a4_49c5_8252_b07837b33ee9, xxDummy
IID, IID906db24a_f0ad_4ca5_871b_5466e54fab80, xxDummy
IID, IID9db4594f_dc4b_457a_ae2e_ffea8bd8d72e, xxDummy
IID, IID62ae7f20_59e5_44af_8dba_fa4da33b6af7, xxDummy
IID, IIDedb00d1e_1e4e_4b1f_bb48_e09499137088, xxDummy
Constructor and Description |
---|
RasterDatasetName()
Constructs a RasterDatasetName using ArcGIS Engine.
|
RasterDatasetName(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
RasterDatasetName theRasterDatasetName = (RasterDatasetName) obj; |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
convertToSupportedObject(int docVersion)
Convert the object to another object that is supported.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
java.lang.String |
getCategory()
The category of the dataset.
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
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.
|
IPropertySet |
getMetadata()
The PropertySet containing metadata.
|
java.lang.String |
getName()
The name of the dataset.
|
java.lang.String |
getNameString()
The name string of the object.
|
INativeType |
getNativeType()
The native type.
|
IEnumDatasetName |
getRasterBandNames()
The band names in the RasterDataset.
|
long |
getSize64()
The size.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
int |
getStatMode()
The access mode.
|
int |
getStatSize()
The size.
|
int |
getStatTime(int dateMode)
The date modified/created/accessed.
|
IEnumDatasetName |
getSubsetNames()
Subset names contained within this dataset name.
|
int |
getType()
The type of the dataset.
|
IWorkspaceName |
getWorkspaceName()
The WorkspaceName of the DatasetName.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isCanEditMetadata()
Indicates if metadata can be edited.
|
void |
isDirty()
isDirty
|
boolean |
isSupportedAtVersion(int docVersion)
Is this object valid at the given document version.
|
void |
load(IStream pstm)
load
|
java.lang.Object |
open()
Opens the object referred to by this name.
|
void |
readExternal(java.io.ObjectInput in) |
void |
release()
Release this COM object reference
|
void |
save(IStream pstm,
int fClearDirty)
save
|
void |
setCategory(java.lang.String category)
The category of the dataset.
|
void |
setMetadata(IPropertySet propertySet)
The PropertySet containing metadata.
|
void |
setName(java.lang.String name)
The name of the dataset.
|
void |
setNameString(java.lang.String nameString)
The name string of the object.
|
void |
setStatMode(int pAccessMode)
The access mode.
|
void |
setStatSize(int pSize)
The size.
|
void |
setStatTime(int dateMode,
int pTime)
The date modified/created/accessed.
|
void |
setWorkspaceNameByRef(IWorkspaceName workspaceName)
The WorkspaceName of the DatasetName.
|
void |
synchronize(int action,
int interval)
Updates metadata with the current properties; may create metadata if it doesn't already exist.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public RasterDatasetName() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic RasterDatasetName(java.lang.Object obj) throws java.io.IOException
RasterDatasetName theRasterDatasetName = (RasterDatasetName) obj;
obj
to RasterDatasetName
.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 void setNameString(java.lang.String nameString) throws java.io.IOException, AutomationException
The NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.
setNameString
in interface IName
nameString
- The nameString (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getNameString() throws java.io.IOException, AutomationException
The NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.
getNameString
in interface IName
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object open() throws java.io.IOException, AutomationException
The Open method lets you instantiate the actual object given the name object.
Note: Opening a feature class that participates in a topology or geometric network will also open all other feature classes participating in the topology or geometric network in memory.
IName pName = pFeatureClassName;
pFeatureClass = new IFeatureClassProxy(pName.open());
open
in interface IName
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 IDatasetName
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setName(java.lang.String name) throws java.io.IOException, AutomationException
setName
in interface IDatasetName
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getType() throws java.io.IOException, AutomationException
getType
in interface IDatasetName
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getCategory() throws java.io.IOException, AutomationException
getCategory
in interface IDatasetName
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setCategory(java.lang.String category) throws java.io.IOException, AutomationException
setCategory
in interface IDatasetName
category
- The category (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IWorkspaceName getWorkspaceName() throws java.io.IOException, AutomationException
getWorkspaceName
in interface IDatasetName
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setWorkspaceNameByRef(IWorkspaceName workspaceName) throws java.io.IOException, AutomationException
setWorkspaceNameByRef
in interface IDatasetName
workspaceName
- A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IEnumDatasetName getSubsetNames() throws java.io.IOException, AutomationException
getSubsetNames
in interface IDatasetName
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 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 IEnumDatasetName getRasterBandNames() throws java.io.IOException, AutomationException
getRasterBandNames
in interface IRasterDatasetName
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IPropertySet getMetadata() throws java.io.IOException, AutomationException
getMetadata
in interface IMetadata
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setMetadata(IPropertySet propertySet) throws java.io.IOException, AutomationException
setMetadata
in interface IMetadata
propertySet
- A reference to a com.esri.arcgis.system.IPropertySet (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void synchronize(int action, int interval) throws java.io.IOException, AutomationException
synchronize
in interface IMetadata
action
- A com.esri.arcgis.geodatabase.esriMetadataSyncAction constant (in)interval
- The interval (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isCanEditMetadata() throws java.io.IOException, AutomationException
isCanEditMetadata
in interface IMetadataEdit
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public INativeType getNativeType() throws java.io.IOException, AutomationException
getNativeType
in interface INativeTypeInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setStatTime(int dateMode, int pTime) throws java.io.IOException, AutomationException
setStatTime
in interface IDatasetNameFileStat
dateMode
- A com.esri.arcgis.geodatabase.esriDatasetFileStatTimeMode constant (in)pTime
- The pTime (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getStatTime(int dateMode) throws java.io.IOException, AutomationException
getStatTime
in interface IDatasetNameFileStat
dateMode
- A com.esri.arcgis.geodatabase.esriDatasetFileStatTimeMode constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setStatSize(int pSize) throws java.io.IOException, AutomationException
setStatSize
in interface IDatasetNameFileStat
pSize
- The pSize (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getStatSize() throws java.io.IOException, AutomationException
getStatSize
in interface IDatasetNameFileStat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setStatMode(int pAccessMode) throws java.io.IOException, AutomationException
setStatMode
in interface IDatasetNameFileStat
pAccessMode
- A com.esri.arcgis.geodatabase.esriDatasetFileStatAccessMode constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getStatMode() throws java.io.IOException, AutomationException
getStatMode
in interface IDatasetNameFileStat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public long getSize64() throws java.io.IOException, AutomationException
getSize64
in interface IDatasetNameFileSize
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isSupportedAtVersion(int docVersion) throws java.io.IOException, AutomationException
Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream. This result is based on the esriArcGISVersion enumeration. In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.
isSupportedAtVersion
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object convertToSupportedObject(int docVersion) throws java.io.IOException, AutomationException
This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE. Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version. Not all objects will return a supported object; in these cases a null pointer will be returned.
convertToSupportedObject
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (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