Class WFSStatus

java.lang.Object
org.gvsig.remoteclient.RemoteClientStatus
org.gvsig.remoteclient.wfs.WFSStatus

public class WFSStatus extends org.gvsig.remoteclient.RemoteClientStatus
The status of the current WFS connection
Author:
Jorge Piera LlodrĂ¡ (piera_jor@gva.es)
See Also:
  • Field Details

    • RESULTYPE_RESULTS

      public static final int RESULTYPE_RESULTS
      The default value results indicates that a web feature service should generate a complete response that contains all the features that satisfy the request.
      See Also:
    • RESULTYPE_HITS

      public static final int RESULTYPE_HITS
      The value hits indicates that a web feature service should process the GetFeature request and rather than return the entire result set, it should simply indicate the number of feature instance of the requested feature type(s) that satisfy the request.
      See Also:
  • Constructor Details

    • WFSStatus

      public WFSStatus(String featureName)
    • WFSStatus

      public WFSStatus(String featureName, String namespace)
  • Method Details

    • getMaxFeatures

      public Integer getMaxFeatures()
      Returns:
      Returns the buffer.
    • setMaxFeatures

      public void setMaxFeatures(Integer buffer)
      Parameters:
      buffer - The buffer to set.
    • getFeatureName

      public String getFeatureName()
      Returns:
      Returns the featureName.
    • getFeatureFullName

      public String getFeatureFullName()
    • setFeatureName

      public void setFeatureName(String featureName)
      Parameters:
      featureName - The featureName to set.
    • getFields

      public String[] getFields()
      Returns:
      Returns the fields.
    • setFields

      public void setFields(String[] fields)
      Parameters:
      fields - The fields to set.
    • setFields

      public void setFields(String fields)
    • getPassword

      public String getPassword()
      Returns:
      Returns the password.
    • setPassword

      public void setPassword(String password)
      Parameters:
      password - The password to set.
    • getTimeout

      public Integer getTimeout()
      Returns:
      Returns the timeout.
    • setTimeout

      public void setTimeout(Integer timeout)
      Parameters:
      timeout - The timeout to set.
    • getUserName

      public String getUserName()
      Returns:
      Returns the userName.
    • setUserName

      public void setUserName(String userName)
      Parameters:
      userName - The userName to set.
    • getOnlineResource

      public String getOnlineResource()
    • setOnlineResource

      public void setOnlineResource(String url)
    • getFilterByAttribute

      public String getFilterByAttribute()
      Returns:
      Returns the filterQuery.
    • setFilterByAttribute

      public void setFilterByAttribute(String filterQuery)
      Parameters:
      filterQuery - The filterQuery to set.
    • setFilterByArea

      public void setFilterByArea(org.gvsig.fmap.geom.Geometry geometry, String attributeName, String srs, Integer operation)
      Parameters:
      operation - The geometric operation to apply. It has to be a value from AbstractFilter
      filterByArea - the filterByArea to set
    • removeFilterByArea

      public void removeFilterByArea()
    • removeFilterByAttribute

      public void removeFilterByAttribute()
    • removeAllFilters

      public void removeAllFilters()
    • setFilterByArea

      public void setFilterByArea(org.gvsig.fmap.geom.primitive.Envelope envelope, String attributeName, String srs, Integer operation)
      Parameters:
      operation - The geometric operation to apply. It has to be a value from AbstractFilter
      filterByArea - the filterByArea to set
    • getFilterByArea

      public WFSSpatialFilterOperation getFilterByArea()
      Returns:
      the filterByArea
    • getFilterQueryLocked

      public String getFilterQueryLocked()
      Returns:
      the filterQueryLocked
    • getFilterQueryLockedPost

      public String getFilterQueryLockedPost()
      Returns:
      the filterQueryLocked
    • getExpiry

      public int getExpiry()
      Returns:
      the expiry
    • setExpiry

      public void setExpiry(int expiry)
      Parameters:
      expiry - the expiry to set
    • getLockAction

      public String getLockAction()
      Returns:
      the lockAction
    • setLockActionToAll

      public void setLockActionToAll()
      Set the lock action to all
    • setLockActionToSome

      public void setLockActionToSome()
      Set teh lock action to some
    • createNewTransaction

      public WFSTTransaction createNewTransaction()
    • getTransaction

      public WFSTTransaction getTransaction()
    • getFeaturesToLockSize

      public int getFeaturesToLockSize()
      Returns:
      the neumber of features blocked
    • getFeatureToLockAt

      public String getFeatureToLockAt(int i)
      Gets an identifier of a feature that is blocked
      Parameters:
      i - The id position
      Returns:
      The Id
    • removeFeaturesToLock

      public void removeFeaturesToLock()
      Remove all the features to lock
    • addFeatureToLock

      public void addFeatureToLock(String idFeature)
      Adds a new feature locked
      Parameters:
      idFeature - the feature id
    • addFeatureToLock

      public void addFeatureToLock(String propertyName, String propertyValue)
      Adds a new feature locked
      Parameters:
      idFeature - the feature id
    • getFeaturesLocked

      public int getFeaturesLocked()
      Returns:
      the idsLocked size
    • getFeatureLockedAt

      public String getFeatureLockedAt(int i)
      Gets an identifier tha is blocked
      Parameters:
      i - The id position
      Returns:
      The Id
    • addFeatureLocked

      public void addFeatureLocked(String lockId)
      Adds a new Id
      Parameters:
      idLocked - the idLocked to add
    • getLockedArea

      public Rectangle2D getLockedArea()
      Returns:
      the lockedArea
    • setLockedArea

      public void setLockedArea(Rectangle2D lockedArea, String lockedAreaProperty)
      Parameters:
      lockedArea - the lockedArea to set
    • getNamespacePrefix

      public String getNamespacePrefix()
      Returns:
      the namespace prefix
    • getNamespaceLocation

      public String getNamespaceLocation()
      Returns:
      the namespace URL
    • setNamespacePrefix

      public void setNamespacePrefix(String namespacePrefix)
      Parameters:
      namespaceprefix - the namespaceprefix to set
    • setNamespaceLocation

      public void setNamespaceLocation(String namespaceLocation)
      Parameters:
      namespace - the namespace to set
    • getResultType

      public int getResultType()
      Returns:
      the resultType
    • setResultType

      public void setResultType(int resultType)
      Parameters:
      resultType - the resultType to set