com.esri.arcgisws
Class Field

java.lang.Object
  extended by com.esri.arcgisws.Field
All Implemented Interfaces:
Serializable

public class Field
extends Object
implements Serializable

ESRI Field Object.

Java class for Field complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Field">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="Type" type="{http://www.esri.com/schemas/ArcGIS/10.0}esriFieldType"/>
         <element name="IsNullable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="Length" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="Precision" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="Scale" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="Required" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="Editable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="DomainFixed" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="GeometryDef" type="{http://www.esri.com/schemas/ArcGIS/10.0}GeometryDef" minOccurs="0"/>
         <element name="AliasName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ModelName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="DefaultValue" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
         <element name="Domain" type="{http://www.esri.com/schemas/ArcGIS/10.0}Domain" minOccurs="0"/>
         <element name="RasterDef" type="{http://www.esri.com/schemas/ArcGIS/10.0}RasterDef" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
ESRI Field Object.

See Also:
Serialized Form

Constructor Summary
Field()
          Field default constructor.
Field(String name, EsriFieldType type, boolean isNullable, int length, int precision, int scale, Boolean required, Boolean editable, Boolean domainFixed, GeometryDef geometryDef, String aliasName, String modelName, Object defaultValue, Domain domain, RasterDef rasterDef)
          Deprecated. 
 
Method Summary
 String getAliasName()
          The alias name of the field.
 Object getDefaultValue()
          The default value of the field.
 Domain getDomain()
          The default domain of the field.
 Boolean getDomainFixed()
          Indicates if the field's domain is fixed.
 Boolean getEditable()
          Indicates if the field is editable.
 GeometryDef getGeometryDef()
          The geometry definition for the field if IsGeometry is TRUE.
 int getLength()
          The maximum length, in bytes, for values described by the field.
 String getModelName()
          The model name of the field.
 String getName()
          The name of the field.
 int getPrecision()
          The precision for field values.
 RasterDef getRasterDef()
          The raster column definition.
 Boolean getRequired()
          Indicates if the field is required.
 int getScale()
          The scale for field values.
 EsriFieldType getType()
          The type of the field.
 Boolean isDomainFixed()
          Indicates if the field's domain is fixed.
 Boolean isEditable()
          Indicates if the field is editable.
 boolean isIsNullable()
          Indicates if the field can contain null values.
 Boolean isRequired()
          Indicates if the field is required.
 void setAliasName(String value)
          The alias name of the field.
 void setDefaultValue(Object value)
          The default value of the field.
 void setDomain(Domain value)
          The default domain of the field.
 void setDomainFixed(Boolean value)
          Indicates if the field's domain is fixed.
 void setEditable(Boolean value)
          Indicates if the field is editable.
 void setGeometryDef(GeometryDef value)
          The geometry definition for the field if IsGeometry is TRUE.
 void setIsNullable(boolean value)
          Indicates if the field can contain null values.
 void setLength(int value)
          The maximum length, in bytes, for values described by the field.
 void setModelName(String value)
          The model name of the field.
 void setName(String value)
          The name of the field.
 void setPrecision(int value)
          The precision for field values.
 void setRasterDef(RasterDef value)
          The raster column definition.
 void setRequired(Boolean value)
          Indicates if the field is required.
 void setScale(int value)
          The scale for field values.
 void setType(EsriFieldType value)
          The type of the field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Field

@Deprecated
public Field(String name,
                        EsriFieldType type,
                        boolean isNullable,
                        int length,
                        int precision,
                        int scale,
                        Boolean required,
                        Boolean editable,
                        Boolean domainFixed,
                        GeometryDef geometryDef,
                        String aliasName,
                        String modelName,
                        Object defaultValue,
                        Domain domain,
                        RasterDef rasterDef)
Deprecated. 

Field constructor.


Field

public Field()
Field default constructor.

Method Detail

getName

public String getName()
The name of the field. Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
The name of the field. Sets the value of the name property.

Parameters:
value - allowed object is String

getType

public EsriFieldType getType()
The type of the field. Gets the value of the type property.

Returns:
possible object is EsriFieldType

setType

public void setType(EsriFieldType value)
The type of the field. Sets the value of the type property.

Parameters:
value - allowed object is EsriFieldType

isIsNullable

public boolean isIsNullable()
Indicates if the field can contain null values. Gets the value of the isNullable property.


setIsNullable

public void setIsNullable(boolean value)
Indicates if the field can contain null values. Sets the value of the isNullable property.


getLength

public int getLength()
The maximum length, in bytes, for values described by the field. Gets the value of the length property.


setLength

public void setLength(int value)
The maximum length, in bytes, for values described by the field. Sets the value of the length property.


getPrecision

public int getPrecision()
The precision for field values. Gets the value of the precision property.


setPrecision

public void setPrecision(int value)
The precision for field values. Sets the value of the precision property.


getScale

public int getScale()
The scale for field values. Gets the value of the scale property.


setScale

public void setScale(int value)
The scale for field values. Sets the value of the scale property.


getRequired

public Boolean getRequired()
Indicates if the field is required. Gets the value of the required property.

Returns:
possible object is Boolean

isRequired

public Boolean isRequired()
Indicates if the field is required.


setRequired

public void setRequired(Boolean value)
Indicates if the field is required. Sets the value of the required property.

Parameters:
value - allowed object is Boolean

getEditable

public Boolean getEditable()
Indicates if the field is editable. Gets the value of the editable property.

Returns:
possible object is Boolean

isEditable

public Boolean isEditable()
Indicates if the field is editable.


setEditable

public void setEditable(Boolean value)
Indicates if the field is editable. Sets the value of the editable property.

Parameters:
value - allowed object is Boolean

getDomainFixed

public Boolean getDomainFixed()
Indicates if the field's domain is fixed. Gets the value of the domainFixed property.

Returns:
possible object is Boolean

isDomainFixed

public Boolean isDomainFixed()
Indicates if the field's domain is fixed.


setDomainFixed

public void setDomainFixed(Boolean value)
Indicates if the field's domain is fixed. Sets the value of the domainFixed property.

Parameters:
value - allowed object is Boolean

getGeometryDef

public GeometryDef getGeometryDef()
The geometry definition for the field if IsGeometry is TRUE. Gets the value of the geometryDef property.

Returns:
possible object is GeometryDef

setGeometryDef

public void setGeometryDef(GeometryDef value)
The geometry definition for the field if IsGeometry is TRUE. Sets the value of the geometryDef property.

Parameters:
value - allowed object is GeometryDef

getAliasName

public String getAliasName()
The alias name of the field. Gets the value of the aliasName property.

Returns:
possible object is String

setAliasName

public void setAliasName(String value)
The alias name of the field. Sets the value of the aliasName property.

Parameters:
value - allowed object is String

getModelName

public String getModelName()
The model name of the field. Gets the value of the modelName property.

Returns:
possible object is String

setModelName

public void setModelName(String value)
The model name of the field. Sets the value of the modelName property.

Parameters:
value - allowed object is String

getDefaultValue

public Object getDefaultValue()
The default value of the field. Gets the value of the defaultValue property.

Returns:
possible object is Object

setDefaultValue

public void setDefaultValue(Object value)
The default value of the field. Sets the value of the defaultValue property.

Parameters:
value - allowed object is Object

getDomain

public Domain getDomain()
The default domain of the field. Gets the value of the domain property.

Returns:
possible object is Domain

setDomain

public void setDomain(Domain value)
The default domain of the field. Sets the value of the domain property.

Parameters:
value - allowed object is Domain

getRasterDef

public RasterDef getRasterDef()
The raster column definition. Gets the value of the rasterDef property.

Returns:
possible object is RasterDef

setRasterDef

public void setRasterDef(RasterDef value)
The raster column definition. Sets the value of the rasterDef property.

Parameters:
value - allowed object is RasterDef