|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.geodatabase.CodedValueDomain
ESRI Attribute set constraint object.
| Constructor Summary | |
CodedValueDomain()
Constructs a CodedValueDomain using ArcGIS Engine. |
|
CodedValueDomain(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. |
|
| Method Summary | |
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. |
IClone |
getAsIClone()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ICodedValueDomain |
getAsICodedValueDomain()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IDomain |
getAsIDomain()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IPersist |
getAsIPersist()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IPersistStream |
getAsIPersistStream()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ISchemaLock |
getAsISchemaLock()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IXMLSerialize |
getAsIXMLSerialize()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
void |
getClassID(GUID[] pClassID)
Supported Platforms |
static java.lang.String |
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. |
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)
Supported Platforms |
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()
Supported Platforms |
boolean |
isEqual(IClone other)
Returns TRUE when the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Returns TRUE when the receiver and other are the same object. |
void |
load(IStream pstm)
Supported Platforms |
boolean |
memberOf(java.lang.Object value)
Indicates whether the value is a valid member of the domain. |
void |
save(IStream pstm,
int fClearDirty)
Supported Platforms |
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. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CodedValueDomain()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public CodedValueDomain(java.lang.Object obj)
throws java.io.IOException
obj to CodedValueDomain. CodedValueDomain theCodedValueDomain = (CodedValueDomain) obj;
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
public static java.lang.String getClsid()
public IDomain getAsIDomain()
public ICodedValueDomain getAsICodedValueDomain()
public IClone getAsIClone()
public IPersist getAsIPersist()
public IPersistStream getAsIPersistStream()
public ISchemaLock getAsISchemaLock()
public IXMLSerialize getAsIXMLSerialize()
public boolean equals(java.lang.Object o)
public int hashCode()
public int getDomainID()
throws java.io.IOException,
AutomationException
IDomain
getDomainID in interface IDomainAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setDomainID(int iD)
throws java.io.IOException,
AutomationException
IDomain
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
IDomain
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
IDomain
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
IDomain
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
IDomain
setFieldType in interface IDomainfieldType - A com.esri.arcgis.geodatabase.esriFieldType constant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getMergePolicy()
throws java.io.IOException,
AutomationException
IDomainThis property sets or returns the merge policy for the domain object. The merge policy describes what happens to the values of the field that the domain is applied to when two objects are merged into a single object. The merge policy is an esriMergePolicyType enumeration.
getMergePolicy in interface IDomainAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setMergePolicy(int policy)
throws java.io.IOException,
AutomationException
IDomain
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
IDomain
getSplitPolicy in interface IDomainAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setSplitPolicy(int policy)
throws java.io.IOException,
AutomationException
IDomain
setSplitPolicy in interface IDomainpolicy - A com.esri.arcgis.geodatabase.esriSplitPolicyType constant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getName()
throws java.io.IOException,
AutomationException
IDomain
getName in interface IDomainAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setName(java.lang.String name)
throws java.io.IOException,
AutomationException
IDomain
setName in interface IDomainname - The name (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getOwner()
throws java.io.IOException,
AutomationException
IDomain
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
IDomain
setOwner in interface IDomainowner - The owner (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getType()
throws java.io.IOException,
AutomationException
IDomain
getType in interface IDomainAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean memberOf(java.lang.Object value)
throws java.io.IOException,
AutomationException
IDomain
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
ICodedValueDomain
getCodeCount in interface ICodedValueDomainAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getName(int index)
throws java.io.IOException,
AutomationException
ICodedValueDomain
getName in interface ICodedValueDomainindex - The index (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.Object getValue(int index)
throws java.io.IOException,
AutomationException
ICodedValueDomainThe Object type returned depends on the field type which can be determined by calling IDomain::FieldType.
getValue in interface ICodedValueDomainindex - The index (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void addCode(java.lang.Object value,
java.lang.String name)
throws java.io.IOException,
AutomationException
ICodedValueDomain
addCode in interface ICodedValueDomainvalue - A Variant (in)name - The name (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void deleteCode(java.lang.Object value)
throws java.io.IOException,
AutomationException
ICodedValueDomain
deleteCode in interface ICodedValueDomainvalue - A Variant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IClone esri_clone()
throws java.io.IOException,
AutomationException
IClone
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
IClone
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isEqual(IClone other)
throws java.io.IOException,
AutomationException
IClone
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isIdentical(IClone other)
throws java.io.IOException,
AutomationException
IClone
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void getClassID(GUID[] pClassID)
throws java.io.IOException,
AutomationException
IPersistIPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void isDirty()
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
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
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void save(IStream pstm,
int fClearDirty)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
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
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void changeSchemaLock(int schemaLock)
throws java.io.IOException,
AutomationException
ISchemaLock
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
ISchemaLockReturns an enumeration of the schema locks currently on the dataset. Not that there will always be at least one schema lock on the dataset. By checking the schema locks on a dataset a shared schema lock is applied to the data.
getCurrentSchemaLocks in interface ISchemaLockschemaLockInfo - A reference to a com.esri.arcgis.geodatabase.IEnumSchemaLockInfo (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void serialize(IXMLSerializeData data)
throws java.io.IOException,
AutomationException
IXMLSerialize
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
IXMLSerialize
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||