Class ViewableWrapper


  • public class ViewableWrapper
    extends java.lang.Object
    Wrapper around a Viewable or a SurfaceOrArea attribute to give it an FME name and make it aware of all attributes of all specializations.
    • Constructor Summary

      Constructors 
      Constructor Description
      ViewableWrapper​(java.lang.String fmeFeatureType)
      create a wrapper around a helper table
      ViewableWrapper​(java.lang.String fmeFeatureType, ch.interlis.ili2c.metamodel.Viewable viewable)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator getAttrIterator()  
      java.util.List getAttrv()
      the attributes and roles that this viewable and all it specializations have.
      java.lang.String getFmeFeatureType()  
      ch.interlis.ili2c.metamodel.AttributeDef getGeomAttr4FME()
      gets the geometry attribute of this viewable used for the FME feature type.
      ch.interlis.ili2c.metamodel.Viewable getViewable()
      gets the viewable that this wrapper wraps.
      boolean isHelper()  
      void setAttrv​(java.util.List list)  
      void setFmeFeatureType​(java.lang.String string)  
      void setGeomAttr4FME​(ch.interlis.ili2c.metamodel.AttributeDef def)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ViewableWrapper

        public ViewableWrapper​(java.lang.String fmeFeatureType,
                               ch.interlis.ili2c.metamodel.Viewable viewable)
      • ViewableWrapper

        public ViewableWrapper​(java.lang.String fmeFeatureType)
        create a wrapper around a helper table
    • Method Detail

      • getAttrv

        public java.util.List getAttrv()
        the attributes and roles that this viewable and all it specializations have.
        Returns:
        list
      • setAttrv

        public void setAttrv​(java.util.List list)
      • getAttrIterator

        public java.util.Iterator getAttrIterator()
      • getViewable

        public ch.interlis.ili2c.metamodel.Viewable getViewable()
        gets the viewable that this wrapper wraps.
      • getGeomAttr4FME

        public ch.interlis.ili2c.metamodel.AttributeDef getGeomAttr4FME()
        gets the geometry attribute of this viewable used for the FME feature type.
      • setGeomAttr4FME

        public void setGeomAttr4FME​(ch.interlis.ili2c.metamodel.AttributeDef def)
      • getFmeFeatureType

        public java.lang.String getFmeFeatureType()
      • setFmeFeatureType

        public void setFmeFeatureType​(java.lang.String string)
      • isHelper

        public boolean isHelper()