Class DynObjectFeatureFacade

java.lang.Object
org.gvsig.fmap.dal.feature.impl.dynobjectutils.DynObjectFeatureFacade
All Implemented Interfaces:
Cloneable, org.gvsig.fmap.dal.feature.FacadeOfAFeature, org.gvsig.tools.dynobject.DynObject, org.gvsig.tools.lang.Cloneable

public class DynObjectFeatureFacade extends Object implements org.gvsig.tools.dynobject.DynObject, org.gvsig.tools.lang.Cloneable, org.gvsig.fmap.dal.feature.FacadeOfAFeature
DynObject implementation to facade a Feature and allow to be used as a DynObject. This implementation may be reused to be used with many Feature objects, but not at the same time.
Version:
$Id$
Author:
gvSIG Team
  • Constructor Details

    • DynObjectFeatureFacade

      public DynObjectFeatureFacade()
      Empty constructor.
    • DynObjectFeatureFacade

      public DynObjectFeatureFacade(org.gvsig.fmap.dal.feature.Feature feature)
      Creates a facade over a Feature.
      Parameters:
      feature -
  • Method Details

    • getDynClass

      public org.gvsig.tools.dynobject.DynClass getDynClass()
      Specified by:
      getDynClass in interface org.gvsig.tools.dynobject.DynObject
    • getDynValue

      public Object getDynValue(String name) throws org.gvsig.tools.dynobject.exception.DynFieldNotFoundException
      Specified by:
      getDynValue in interface org.gvsig.tools.dynobject.DynObject
      Throws:
      org.gvsig.tools.dynobject.exception.DynFieldNotFoundException
    • setDynValue

      public void setDynValue(String name, Object value) throws org.gvsig.tools.dynobject.exception.DynFieldNotFoundException
      Specified by:
      setDynValue in interface org.gvsig.tools.dynobject.DynObject
      Throws:
      org.gvsig.tools.dynobject.exception.DynFieldNotFoundException
    • hasDynValue

      public boolean hasDynValue(String name)
      Specified by:
      hasDynValue in interface org.gvsig.tools.dynobject.DynObject
    • invokeDynMethod

      public Object invokeDynMethod(String name, Object[] args) throws org.gvsig.tools.dynobject.exception.DynMethodException
      Specified by:
      invokeDynMethod in interface org.gvsig.tools.dynobject.DynObject
      Throws:
      org.gvsig.tools.dynobject.exception.DynMethodException
    • invokeDynMethod

      public Object invokeDynMethod(int code, Object[] args) throws org.gvsig.tools.dynobject.exception.DynMethodException
      Specified by:
      invokeDynMethod in interface org.gvsig.tools.dynobject.DynObject
      Throws:
      org.gvsig.tools.dynobject.exception.DynMethodException
    • implement

      public void implement(org.gvsig.tools.dynobject.DynClass dynClass)
      Specified by:
      implement in interface org.gvsig.tools.dynobject.DynObject
    • delegate

      public void delegate(org.gvsig.tools.dynobject.DynObject dynObject)
      Specified by:
      delegate in interface org.gvsig.tools.dynobject.DynObject
    • clear

      public void clear()
      Specified by:
      clear in interface org.gvsig.tools.dynobject.DynObject
    • getFeature

      public org.gvsig.fmap.dal.feature.Feature getFeature()
      Specified by:
      getFeature in interface org.gvsig.fmap.dal.feature.FacadeOfAFeature
    • setFeature

      public void setFeature(org.gvsig.fmap.dal.feature.Feature feature)
    • getEditableFeature

      public org.gvsig.fmap.dal.feature.EditableFeature getEditableFeature()
      Specified by:
      getEditableFeature in interface org.gvsig.fmap.dal.feature.FacadeOfAFeature
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • clone

      public Object clone() throws CloneNotSupportedException
      Specified by:
      clone in interface org.gvsig.tools.lang.Cloneable
      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException