Interface D2StructureDefinitionResolver



  • public interface D2StructureDefinitionResolver
    Interface for resolver that is capable of resolving HOBJ of structure name into structure definition.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      sk.ipesoft.d2000.datatable.Table<?,?,?> createTable​(int structHobj, int rowCount)
      Create new instance of AnonymousTable or registered table class.
      sk.ipesoft.d2000.datatable.Table<?,?,?> createTable​(java.lang.String structureName, int rowCount)
      Create new instance of AnonymousTable or registered table class.
      D2StructureDefinitionInfo getDefinition​(int hobj)
      Returns structure definition according to passed HOBJ.
      D2StructureDefinitionInfo getDefinition​(java.lang.String structureName)
      Returns structure definition according to passed structure definition name.
    • Method Detail

      • getDefinition

        D2StructureDefinitionInfo getDefinition​(int hobj)
        Returns structure definition according to passed HOBJ.
        Parameters:
        hobj - - HOBJ of requested definition in D2000
        Returns:
        instance of structure definition or null if no such HOBJ belongs to structure definition in D2000.
      • getDefinition

        D2StructureDefinitionInfo getDefinition​(java.lang.String structureName)
        Returns structure definition according to passed structure definition name.
        Parameters:
        structureName - - name of requested definition in D2000
        Returns:
        instance of structure definition or null if no such name belongs to structure definition in D2000.
      • createTable

        sk.ipesoft.d2000.datatable.Table<?,?,?> createTable​(java.lang.String structureName,
                                                            int rowCount)
        Create new instance of AnonymousTable or registered table class.
        Parameters:
        structureName - Name of D2000 structure definition
        rowCount - initial number of rows in the table
        Returns:
        new instance
      • createTable

        sk.ipesoft.d2000.datatable.Table<?,?,?> createTable​(int structHobj,
                                                            int rowCount)
        Create new instance of AnonymousTable or registered table class.
        Parameters:
        structHobj - HOBJ of D2000 structure definition
        rowCount - initial number of rows in the table
        Returns:
        new instance