public class CodedValueDomain extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IDomain, ICodedValueDomain, ICodedValueDomain2, IClone, IPersist, IPersistStream, ISchemaLock, IXMLSerialize, java.io.Externalizable
Description 'Esri Attribute set constraint 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, IIDdf18fe0a_84ba_11d2_ab61_000000000000, xxDummy
IID, IID057e88c6_0e61_426e_b4bb_d192c481cf1f, xxDummy
IIDfcb6bf33_475d_11d2_9932_0000f80372b4
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
IID0000010c_0000_0000_c000_000000000046
IID, IIDdca648e5_0fbb_11d3_80a5_00c04f686238, xxDummy
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
Constructor and Description |
---|
CodedValueDomain()
Constructs a CodedValueDomain using ArcGIS Engine.
|
CodedValueDomain(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
CodedValueDomain theCodedValueDomain = (CodedValueDomain) obj; |
Modifier and Type | Method and Description |
---|---|
void |
addCode(java.lang.Object value,
java.lang.String name)
Adds a (value, name) code.
|
void |
assign(IClone src)
Assigns the properties of src to the receiver.
|
void |
changeSchemaLock(int schemaLock)
Changes a schema lock.
|
void |
deleteCode(java.lang.Object value)
Deletes a code with the specified value.
|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone.
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getCodeCount()
The number of codes for the associated attribute.
|
void |
getCurrentSchemaLocks(IEnumSchemaLockInfo[] schemaLockInfo)
The list of current locks.
|
java.lang.String |
getDescription()
The description of the domain.
|
int |
getDomainID()
The ID of the domain.
|
int |
getFieldType()
The field type of the field.
|
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 |
getMergePolicy()
The merge policy.
|
java.lang.String |
getName()
The name of the domain.
|
java.lang.String |
getName(int index)
The code name for the specified code index.
|
java.lang.String |
getOwner()
The owner of the domain.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
int |
getSplitPolicy()
The split policy.
|
int |
getType()
The domain type.
|
java.lang.Object |
getValue(int index)
The value for the specified code index.
|
int |
hashCode()
the hashcode for this object
|
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
|
boolean |
memberOf(java.lang.Object value)
Indicates whether the value is a valid member of the domain.
|
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 |
setDescription(java.lang.String description)
The description of the domain.
|
void |
setDomainID(int iD)
The ID of the domain.
|
void |
setFieldType(int fieldType)
The field type of the field.
|
void |
setMergePolicy(int policy)
The merge policy.
|
void |
setName(java.lang.String name)
The name of the domain.
|
void |
setOwner(java.lang.String owner)
The owner of the domain.
|
void |
setSplitPolicy(int policy)
The split policy.
|
void |
sortByName(boolean descending)
Sort the codes in the coded value domain by name.
|
void |
sortByValue(boolean descending)
Sort the codes in the coded value domain by value.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public CodedValueDomain() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic CodedValueDomain(java.lang.Object obj) throws java.io.IOException
CodedValueDomain theCodedValueDomain = (CodedValueDomain) obj;
obj
to CodedValueDomain
.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 getDomainID() throws java.io.IOException, AutomationException
getDomainID
in interface IDomain
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDomainID(int iD) throws java.io.IOException, AutomationException
setDomainID
in interface IDomain
iD
- The iD (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDescription() throws java.io.IOException, AutomationException
getDescription
in interface IDomain
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDescription(java.lang.String description) throws java.io.IOException, AutomationException
setDescription
in interface IDomain
description
- The description (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getFieldType() throws java.io.IOException, AutomationException
getFieldType
in interface IDomain
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setFieldType(int fieldType) throws java.io.IOException, AutomationException
setFieldType
in interface IDomain
fieldType
- 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 int getMergePolicy() throws java.io.IOException, AutomationException
getMergePolicy
in interface IDomain
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setMergePolicy(int policy) throws java.io.IOException, AutomationException
setMergePolicy
in interface IDomain
policy
- A com.esri.arcgis.geodatabase.esriMergePolicyType constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getSplitPolicy() throws java.io.IOException, AutomationException
getSplitPolicy
in interface IDomain
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setSplitPolicy(int policy) throws java.io.IOException, AutomationException
setSplitPolicy
in interface IDomain
policy
- A com.esri.arcgis.geodatabase.esriSplitPolicyType constant (in)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 IDomain
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 IDomain
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getOwner() throws java.io.IOException, AutomationException
getOwner
in interface IDomain
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setOwner(java.lang.String owner) throws java.io.IOException, AutomationException
setOwner
in interface IDomain
owner
- The owner (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 IDomain
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean memberOf(java.lang.Object value) throws java.io.IOException, AutomationException
memberOf
in interface IDomain
value
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getCodeCount() throws java.io.IOException, AutomationException
getCodeCount
in interface ICodedValueDomain
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getName(int index) throws java.io.IOException, AutomationException
getName
in interface ICodedValueDomain
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getValue(int index) throws java.io.IOException, AutomationException
getValue
in interface ICodedValueDomain
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addCode(java.lang.Object value, java.lang.String name) throws java.io.IOException, AutomationException
addCode
in interface ICodedValueDomain
value
- A Variant (in)name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deleteCode(java.lang.Object value) throws java.io.IOException, AutomationException
deleteCode
in interface ICodedValueDomain
value
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void sortByName(boolean descending) throws java.io.IOException, AutomationException
sortByName
in interface ICodedValueDomain2
descending
- The descending (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void sortByValue(boolean descending) throws java.io.IOException, AutomationException
sortByValue
in interface ICodedValueDomain2
descending
- The descending (in)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 changeSchemaLock(int schemaLock) throws java.io.IOException, AutomationException
changeSchemaLock
in interface ISchemaLock
schemaLock
- A com.esri.arcgis.geodatabase.esriSchemaLock constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getCurrentSchemaLocks(IEnumSchemaLockInfo[] schemaLockInfo) throws java.io.IOException, AutomationException
getCurrentSchemaLocks
in interface ISchemaLock
schemaLockInfo
- A reference to a com.esri.arcgis.geodatabase.IEnumSchemaLockInfo (out: use single element array)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 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