Package ch.interlis.ili2fme
Class ViewableWrapper
- java.lang.Object
-
- ch.interlis.ili2fme.ViewableWrapper
-
public class ViewableWrapper extends java.lang.ObjectWrapper 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 tableViewableWrapper(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.IteratorgetAttrIterator()java.util.ListgetAttrv()the attributes and roles that this viewable and all it specializations have.java.lang.StringgetFmeFeatureType()ch.interlis.ili2c.metamodel.AttributeDefgetGeomAttr4FME()gets the geometry attribute of this viewable used for the FME feature type.ch.interlis.ili2c.metamodel.ViewablegetViewable()gets the viewable that this wrapper wraps.booleanisHelper()voidsetAttrv(java.util.List list)voidsetFmeFeatureType(java.lang.String string)voidsetGeomAttr4FME(ch.interlis.ili2c.metamodel.AttributeDef def)
-
-
-
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()
-
-