Class SimpleStructureDefinition

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<java.lang.String> fieldNames  
      protected java.util.List<java.lang.Class<?>> fieldTypes  
      protected java.lang.String id  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      StructureInstance createInstance()  
      java.lang.String getFieldNameAt​(int index)
      Obtains the name of the field in the index position
      int getFieldSize()
      Obtains the number of fields that this structure has
      java.lang.Class<?> getFieldTypeAt​(int index)
      Obtains the type of the field in the index position
      java.lang.String getId()
      Obtains the id of this structure
      void setFieldName​(int index, java.lang.String fieldName, java.lang.Class<?> type)  
      • Methods inherited from class java.lang.Object

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

      • id

        protected java.lang.String id
      • fieldNames

        protected java.util.List<java.lang.String> fieldNames
      • fieldTypes

        protected java.util.List<java.lang.Class<?>> fieldTypes
    • Constructor Detail

      • SimpleStructureDefinition

        public SimpleStructureDefinition​(java.lang.String id)