|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.util.dataset.AGSFields
public class AGSFields
This object contains a collection of field names, field lengths, field type, and field precision properties.
| Constructor Summary | |
|---|---|
AGSFields()
Constructs an instance of a AGSFields object. |
|
| Method Summary | |
|---|---|
int |
getCount()
Returns a count of described fields in AGSFields. |
long |
getFieldLength(int index)
Returns the length of the field at given index. |
String |
getFieldName(int index)
Returns the name of a field at given index. |
long |
getFieldPrecision(int index)
Returns the precision of the field at given index. |
String |
getFieldType(int index)
Returns the type of field at given index. |
void |
setFieldLength(long fieldLength)
Sets the length of the field with given value. |
void |
setFieldName(String fieldName)
Sets the fields name with given string. |
void |
setFieldPrecision(int fieldPrecision)
Sets the precision of a field with given value. |
void |
setFieldType(String fieldType)
Sets the field type with given string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AGSFields()
AGSFields object.
AGSFields Field = new AGSFields();
| Method Detail |
|---|
public int getCount()
AGSFields.
int count = AGSFields.getCount();
public String getFieldName(int index)
String fieldName = AGSFields.getFieldName(0);
index - the index number of the field in collection.
AGSFields.setFieldName(java.lang.String)public long getFieldLength(int index)
long length = AGSFields.getFieldLength(0);
index - the index number of the field in collection.
AGSFields.setFieldLength(long)public long getFieldPrecision(int index)
long precision = AGSFields.getFieldPrecision(0);
index - item in collection.
AGSFields.setFieldLength(long)public String getFieldType(int index)
long fieldType = AGSFields.getFieldType(0);
index - the index number of the field in collection.
AGSFields.setFieldType(java.lang.String)public void setFieldLength(long fieldLength)
AGSFields.setFieldLength(2);
fieldLength - the field length.AGSFields.getFieldLength(int)public void setFieldName(String fieldName)
AGSFields.setFieldName("Name");
fieldName - the name of the field.AGSFields.getFieldName(int)public void setFieldPrecision(int fieldPrecision)
AGSFields.setFieldPrecision(
fieldPrecision - the fields precision value.AGSFields.getFieldPrecision(int)public void setFieldType(String fieldType)
AGSFields.setFieldType("9");
fieldType - the fields type definition string.AGSFields.getFieldType(int)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||