Class StructWrapper


  • public class StructWrapper
    extends java.lang.Object
    Wrapper around a struct element, used to make a struct element aware of its parent.
    • Constructor Summary

      Constructors 
      Constructor Description
      StructWrapper​(int parentId1, java.lang.String parentType1, java.lang.String parentAttr1, ch.interlis.iom.IomObject struct1, int structi1)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getParentAttr()
      the name of the parent attribute.
      int getParentId()
      the id of the parent object.
      java.lang.String getParentType()
      the type of the parent object.
      ch.interlis.iom.IomObject getStruct()
      the wrapped struct element.
      int getStructi()
      the index of the struct element in the parent attribute.
      • Methods inherited from class java.lang.Object

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

      • StructWrapper

        public StructWrapper​(int parentId1,
                             java.lang.String parentType1,
                             java.lang.String parentAttr1,
                             ch.interlis.iom.IomObject struct1,
                             int structi1)
    • Method Detail

      • getParentId

        public int getParentId()
        the id of the parent object.
      • getParentType

        public java.lang.String getParentType()
        the type of the parent object.
      • getParentAttr

        public java.lang.String getParentAttr()
        the name of the parent attribute.
      • getStruct

        public ch.interlis.iom.IomObject getStruct()
        the wrapped struct element.
      • getStructi

        public int getStructi()
        the index of the struct element in the parent attribute.