public class Field extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IField, IFieldEdit, IModelInfo, IPersist, IClone, IGPValue, IXMLSerialize, IPersistStream, IGPDescribe, java.io.Externalizable
Description 'Esri Field object.' 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, IID300aa631_b207_11d0_beca_00805f7c4268, xxDummy
IIDfcb01cb3_9f0b_11d0_bec7_00805f7c4268
IID, IID2d660904_1dbd_11d3_9f87_00c04f6bdd84, xxDummy
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy
IID, IID92ee08b6_c757_4178_803c_67cd665ac801, xxDummy
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
IID0000010c_0000_0000_c000_000000000046
Constructor and Description |
---|
Field()
Constructs a Field using ArcGIS Engine.
|
Field(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
Field theField = (Field) obj; |
Modifier and Type | Method and Description |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver.
|
boolean |
checkValue(java.lang.Object value)
Indicates if the value is valid given the field definition.
|
java.lang.Object |
describe(java.lang.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(java.lang.Object o)
Compare this object with another
|
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone.
|
java.lang.String |
getAliasName()
The alias name of the field.
|
java.lang.String |
getAsText()
Provides the value of the value object.
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
java.lang.Object |
getDefaultValue()
The default value of the field.
|
IDomain |
getDomain()
The default domain of the field.
|
IGeometryDef |
getGeometryDef()
The geometry definition for the field if IsGeometry is TRUE.
|
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.
|
int |
getLength()
The maximum length, in bytes, for values described by the field.
|
java.lang.String |
getModelName()
The model name of the field.
|
java.lang.String |
getName()
The name of the field.
|
int |
getPrecision()
The precision for field values.
|
IRasterDef |
getRasterDef()
The raster column definition.
|
int |
getScale()
The scale for field values.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
int |
getType()
The type of the field.
|
int |
getVarType()
The VARTYPE of the field (e.g.
|
int |
hashCode()
the hashcode for this object
|
IGPDataType |
IGPValue_getDataType()
The data type of the value object.
|
void |
isDirty()
isDirty
|
boolean |
isDomainFixed()
Indicates if the field's domain is fixed.
|
boolean |
isEditable()
Indicates if the field is editable.
|
boolean |
isEmpty()
Indicates if the value object is empty.
|
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.
|
boolean |
isNullable()
Indicates if the field can contain null values.
|
boolean |
isRequired()
Indicates if the field is required.
|
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 |
serialize(IXMLSerializeData data)
Serializes an object to XML.
|
void |
setAliasName(java.lang.String rhs1)
The alias name of the field.
|
IGPMessage |
setAsText(java.lang.String text)
Provides the value of the value object with the given string value.
|
void |
setDefaultValue(java.lang.Object rhs1)
The default value of the field.
|
void |
setDomainByRef(IDomain rhs1)
The default domain of the field.
|
void |
setDomainFixed(boolean rhs1)
Indicates if the field's domain cannot be modified.
|
void |
setEditable(boolean rhs1)
Indicates if the field can be edited.
|
void |
setGeometryDefByRef(IGeometryDef rhs1)
The geometry definition if IsGeometry is TRUE.
|
void |
setIsNullable(boolean rhs1)
Indicates if field values can be null.
|
void |
setLength(int rhs1)
The maximum length, in bytes, for field values.
|
void |
setModelName(java.lang.String name)
The model name of the field.
|
void |
setName(java.lang.String rhs1)
The name of the field.
|
void |
setPrecision(int rhs1)
The precision for field values.
|
void |
setRasterDefByRef(IRasterDef rhs1)
The raster column definition.
|
void |
setRequired(boolean rhs1)
Indicates if the field is required.
|
void |
setScale(int rhs1)
The scale for field values.
|
void |
setType(int rhs1)
The type for the field.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public Field() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic Field(java.lang.Object obj) throws java.io.IOException
Field theField = (Field) obj;
obj
to Field
.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 java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IField
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getAliasName() throws java.io.IOException, AutomationException
getAliasName
in interface IField
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 IField
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IDomain getDomain() throws java.io.IOException, AutomationException
getDomain
in interface IField
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getDefaultValue() throws java.io.IOException, AutomationException
getDefaultValue
in interface IField
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getLength() throws java.io.IOException, AutomationException
getLength
in interface IField
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getPrecision() throws java.io.IOException, AutomationException
getPrecision
in interface IField
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getScale() throws java.io.IOException, AutomationException
getScale
in interface IField
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isNullable() throws java.io.IOException, AutomationException
isNullable
in interface IField
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IGeometryDef getGeometryDef() throws java.io.IOException, AutomationException
getGeometryDef
in interface IField
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getVarType() throws java.io.IOException, AutomationException
getVarType
in interface IField
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isDomainFixed() throws java.io.IOException, AutomationException
isDomainFixed
in interface IField
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isRequired() throws java.io.IOException, AutomationException
isRequired
in interface IField
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isEditable() throws java.io.IOException, AutomationException
isEditable
in interface IField
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean checkValue(java.lang.Object value) throws java.io.IOException, AutomationException
checkValue
in interface IField
value
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IRasterDef getRasterDef() throws java.io.IOException, AutomationException
getRasterDef
in interface IField
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setName(java.lang.String rhs1) throws java.io.IOException, AutomationException
setName
in interface IFieldEdit
rhs1
- The rhs1 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setAliasName(java.lang.String rhs1) throws java.io.IOException, AutomationException
setAliasName
in interface IFieldEdit
rhs1
- The rhs1 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDomainByRef(IDomain rhs1) throws java.io.IOException, AutomationException
setDomainByRef
in interface IFieldEdit
rhs1
- A reference to a com.esri.arcgis.geodatabase.IDomain (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDefaultValue(java.lang.Object rhs1) throws java.io.IOException, AutomationException
setDefaultValue
in interface IFieldEdit
rhs1
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setType(int rhs1) throws java.io.IOException, AutomationException
setType
in interface IFieldEdit
rhs1
- A com.esri.arcgis.geodatabase.esriFieldType constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setLength(int rhs1) throws java.io.IOException, AutomationException
setLength
in interface IFieldEdit
rhs1
- The rhs1 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setPrecision(int rhs1) throws java.io.IOException, AutomationException
setPrecision
in interface IFieldEdit
rhs1
- The rhs1 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setScale(int rhs1) throws java.io.IOException, AutomationException
setScale
in interface IFieldEdit
rhs1
- The rhs1 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setIsNullable(boolean rhs1) throws java.io.IOException, AutomationException
setIsNullable
in interface IFieldEdit
rhs1
- The rhs1 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setGeometryDefByRef(IGeometryDef rhs1) throws java.io.IOException, AutomationException
setGeometryDefByRef
in interface IFieldEdit
rhs1
- A reference to a com.esri.arcgis.geodatabase.IGeometryDef (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDomainFixed(boolean rhs1) throws java.io.IOException, AutomationException
setDomainFixed
in interface IFieldEdit
rhs1
- The rhs1 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setRequired(boolean rhs1) throws java.io.IOException, AutomationException
setRequired
in interface IFieldEdit
rhs1
- The rhs1 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setEditable(boolean rhs1) throws java.io.IOException, AutomationException
setEditable
in interface IFieldEdit
rhs1
- The rhs1 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setRasterDefByRef(IRasterDef rhs1) throws java.io.IOException, AutomationException
setRasterDefByRef
in interface IFieldEdit
rhs1
- A reference to a com.esri.arcgis.geodatabase.IRasterDef (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getModelName() throws java.io.IOException, AutomationException
getModelName
in interface IModelInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setModelName(java.lang.String name) throws java.io.IOException, AutomationException
setModelName
in interface IModelInfo
name
- The name (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 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 IGPDataType IGPValue_getDataType() throws java.io.IOException, AutomationException
IGPValue_getDataType
in interface IGPValue
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isEmpty() throws java.io.IOException, AutomationException
isEmpty
in interface IGPValue
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void empty() throws java.io.IOException, AutomationException
empty
in interface IGPValue
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getAsText() throws java.io.IOException, AutomationException
getAsText
in interface IGPValue
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IGPMessage setAsText(java.lang.String text) throws java.io.IOException, AutomationException
setAsText
in interface IGPValue
text
- The text (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)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 java.lang.Object describe(java.lang.String name) throws java.io.IOException, AutomationException
describe
in interface IGPDescribe
name
- The name (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