|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.schematic.NgAttributeField
public class NgAttributeField
Attribute field object.
| Constructor Summary | |
|---|---|
NgAttributeField(Object obj)
Construct a NgAttributeField using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
void |
delete()
Deletes the attribute. |
boolean |
equals(Object o)
Compare this object with another |
INgNames |
getFieldNames()
List of the field names that build the attribute field. |
String |
getName()
Name of the attribute field. |
INgObjectType |
getObjectType()
Object type the attribute is related to. |
int |
getType()
Type of the attribute. |
int |
hashCode()
the hashcode for this object |
void |
setFieldNames(INgNames pVal)
List of the field names that build the attribute field. |
void |
setName(String pVal)
Name of the attribute field. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public NgAttributeField(Object obj)
throws IOException
obj to NgAttributeField. *
NgAttributeField o = (NgAttributeField)obj; // will not work
NgAttributeField o = new NgAttributeField(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
NgAttributeField theNgAttributeField = (NgAttributeField) obj;| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public String getName()
throws IOException,
AutomationException
This name is defined when the field attribute is created
- either by calling the INgObjectType CreateAttribute method in the program code,
- or through ArcGIS Schematics Designer, when the attribute has been created.
getName in interface INgAttributegetName in interface INgAttributeFieldIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setName(String pVal)
throws IOException,
AutomationException
setName in interface INgAttributesetName in interface INgAttributeFieldpVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgNames getFieldNames()
throws IOException,
AutomationException
getFieldNames in interface INgAttributeFieldIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFieldNames(INgNames pVal)
throws IOException,
AutomationException
setFieldNames in interface INgAttributeFieldpVal - A reference to a com.esri.arcgis.schematic.INgNames (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getType()
throws IOException,
AutomationException
The attribute type is defined when the attribute is created:
- either by calling the INgObjectType CreateAttribute method in the program code,
- or through ArcGIS Schematics Designer, when the attribute has been created.
Seven types of attributes are available:
Attributes of a given type have their own characteristics. You can specify these characteristics through their specific interface INgAttributeConstant, INgAttributeField, INgAttributeFormatted, INgAttributeFunction, INgAttributeGeometry, or INgAttributeQuery.
getType in interface INgAttributeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgObjectType getObjectType()
throws IOException,
AutomationException
getObjectType in interface INgAttributeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void delete()
throws IOException,
AutomationException
delete in interface INgAttributeIOException - 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 | ||||||||