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, xxDummyIID, IID057e88c6_0e61_426e_b4bb_d192c481cf1f, xxDummyIIDfcb6bf33_475d_11d2_9932_0000f80372b4IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummyIID, IID00000109_0000_0000_c000_000000000046, xxDummyIID0000010c_0000_0000_c000_000000000046IID, IIDdca648e5_0fbb_11d3_80a5_00c04f686238, xxDummyIID, 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.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic int getDomainID()
throws java.io.IOException,
AutomationException
getDomainID in interface IDomainjava.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 IDomainiD - 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 IDomainjava.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 IDomaindescription - 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 IDomainjava.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 IDomainfieldType - 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 IDomainjava.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 IDomainpolicy - 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 IDomainjava.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 IDomainpolicy - 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 IDomainjava.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 IDomainname - 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 IDomainjava.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 IDomainowner - 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 IDomainjava.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 IDomainvalue - 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 ICodedValueDomainjava.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 ICodedValueDomainindex - 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 ICodedValueDomainindex - 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 ICodedValueDomainvalue - 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 ICodedValueDomainvalue - 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 ICodedValueDomain2descending - 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 ICodedValueDomain2descending - 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 IClonejava.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 IClonesrc - 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 ICloneother - 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 ICloneother - 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 IPersistpClassID - 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 IPersistStreamjava.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 IPersistStreampstm - 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 IPersistStreampstm - 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 IPersistStreampcbSize - 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 ISchemaLockschemaLock - 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 ISchemaLockschemaLockInfo - 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 IXMLSerializedata - 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 IXMLSerializedata - 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.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundException