com.esri.core.internal.value
Class Layer

java.lang.Object
  extended by com.esri.core.internal.value.Layer
All Implemented Interfaces:
Serializable

public class Layer
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Layer()
           
Layer(String url)
           
 
Method Summary
 boolean equals(Object obj)
           
static Layer fromJson(org.codehaus.jackson.JsonParser parser)
           
static Layer fromJson(org.codehaus.jackson.JsonParser parser, Layer layer)
           
 String getCapabilities()
           
 double getDefaultZ()
           
 String getDefinitionExpression()
           
 String getDisplayField()
           
 DrawingInfo getDrawingInfo()
           
 EditFieldsInfo getEditFieldInfo()
           
 MapGeometry getExtent()
           
 Field getField(String fieldName)
           
 Field[] getFields()
          Gets the fields of the FeatureSet.
 Geometry.Type getGeometryType()
           
 String getGlobalIdField()
           
 int getId()
           
 double getMaxScale()
           
 double getMinScale()
           
 String getName()
           
 String getObjectIdField()
           
 OwnershipBasedAccessControlForFeatures getOwnershipBasedAccessControlForFeatures()
           
 int getParentLayerId()
           
 List<LayerRelationship> getRelationShips()
           
 Renderer<?> getRenderer()
           
 List<Integer> getSubLayerIds()
           
 FeatureType getSubType(String subtype)
           
 FeatureType[] getSubTypes()
           
 List<FeatureTemplate> getTemplates()
           
 TimeInfo getTimeInfo()
           
 String getType()
           
 String getTypeIdField()
           
 String getURL()
           
 int hashCode()
           
 boolean hasM()
           
 boolean hasZ()
           
 boolean isAllowGeometryUpdates()
           
 boolean isDataVersioned()
           
 boolean isDefaultVisibility()
           
 boolean isDefaultZEnabled()
           
 boolean isHasAttachments()
           
 boolean isSupportsAdvancedQueries()
           
 boolean isSupportsRollbackOnFailureParameter()
           
 boolean isSupportsStatistics()
           
 void setCapabilities(String capabilities)
           
 void setDefinitionExpression(String definitionExpression)
           
 void setDrawingInfo(DrawingInfo drawingInfo)
           
 void setEditFieldInfo(EditFieldsInfo editFieldInfo)
           
 void setExtent(MapGeometry extent)
           
 void setMaxScale(double maxScale)
           
 void setMinScale(double minScale)
           
 void setOwnershipBasedAccessControlForFeatures(OwnershipBasedAccessControlForFeatures ownershipBasedAccessControlForFeatures)
           
 void setRenderer(Renderer<?> renderer)
           
 void setSubTypes(FeatureType[] subTypes)
           
 void setTemplates(List<FeatureTemplate> templates)
           
 void setType(String type)
           
 void setURL(String uRL)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Layer

public Layer()

Layer

public Layer(String url)
Method Detail

getType

public String getType()

setType

public void setType(String type)

getCapabilities

public String getCapabilities()

setCapabilities

public void setCapabilities(String capabilities)

fromJson

public static Layer fromJson(org.codehaus.jackson.JsonParser parser)
                      throws Exception
Throws:
Exception

fromJson

public static Layer fromJson(org.codehaus.jackson.JsonParser parser,
                             Layer layer)
                      throws Exception
Throws:
Exception

getDisplayField

public String getDisplayField()

getExtent

public MapGeometry getExtent()

setExtent

public void setExtent(MapGeometry extent)

isAllowGeometryUpdates

public boolean isAllowGeometryUpdates()

isDataVersioned

public boolean isDataVersioned()

isSupportsRollbackOnFailureParameter

public boolean isSupportsRollbackOnFailureParameter()

isSupportsStatistics

public boolean isSupportsStatistics()

isSupportsAdvancedQueries

public boolean isSupportsAdvancedQueries()

getFields

public Field[] getFields()
Gets the fields of the FeatureSet.

Returns:
Returns the fields.

getField

public Field getField(String fieldName)

getGeometryType

public Geometry.Type getGeometryType()

getGlobalIdField

public String getGlobalIdField()

getTemplates

public List<FeatureTemplate> getTemplates()

setTemplates

public void setTemplates(List<FeatureTemplate> templates)

getSubTypes

public FeatureType[] getSubTypes()

getSubType

public FeatureType getSubType(String subtype)

setSubTypes

public void setSubTypes(FeatureType[] subTypes)

getId

public int getId()

getName

public String getName()

getMinScale

public double getMinScale()

getMaxScale

public double getMaxScale()

getObjectIdField

public String getObjectIdField()

getParentLayerId

public int getParentLayerId()

getRenderer

public Renderer<?> getRenderer()

getSubLayerIds

public List<Integer> getSubLayerIds()

hasZ

public boolean hasZ()

hasM

public boolean hasM()

getDefaultZ

public double getDefaultZ()

isDefaultZEnabled

public boolean isDefaultZEnabled()

getTypeIdField

public String getTypeIdField()

getURL

public String getURL()

getRelationShips

public List<LayerRelationship> getRelationShips()

getTimeInfo

public TimeInfo getTimeInfo()
Returns:
the timeInfo

isDefaultVisibility

public boolean isDefaultVisibility()

isHasAttachments

public boolean isHasAttachments()

getDrawingInfo

public DrawingInfo getDrawingInfo()

setDrawingInfo

public void setDrawingInfo(DrawingInfo drawingInfo)

setURL

public void setURL(String uRL)

getDefinitionExpression

public String getDefinitionExpression()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

setDefinitionExpression

public void setDefinitionExpression(String definitionExpression)

setRenderer

public void setRenderer(Renderer<?> renderer)

setMinScale

public void setMinScale(double minScale)

setMaxScale

public void setMaxScale(double maxScale)

getEditFieldInfo

public EditFieldsInfo getEditFieldInfo()
Returns:
the editFieldInfo

setEditFieldInfo

public void setEditFieldInfo(EditFieldsInfo editFieldInfo)
Parameters:
editFieldInfo - the editFieldInfo to set

getOwnershipBasedAccessControlForFeatures

public OwnershipBasedAccessControlForFeatures getOwnershipBasedAccessControlForFeatures()
Returns:
the ownershipBasedAccessControlForFeatures

setOwnershipBasedAccessControlForFeatures

public void setOwnershipBasedAccessControlForFeatures(OwnershipBasedAccessControlForFeatures ownershipBasedAccessControlForFeatures)
Parameters:
ownershipBasedAccessControlForFeatures - the ownershipBasedAccessControlForFeatures to set


Copyright © 2012. All Rights Reserved.