Package model

Class LoadRegion

java.lang.Object
model.LoadRegion

public class LoadRegion
extends java.lang.Object
LoadRegion uses Java reflections to get the region type and instantiate an object of it.
  • Constructor Summary

    Constructors 
    Constructor Description
    LoadRegion​(java.lang.String name)  
  • Method Summary

    Modifier and Type Method Description
    Region getRegion()
    getRegion() - Gets a Region class object of the type specified as the name.

    Methods inherited from class java.lang.Object

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

    • LoadRegion

      public LoadRegion​(java.lang.String name)
  • Method Details

    • getRegion

      public Region getRegion() throws java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.reflect.InvocationTargetException
      getRegion() - Gets a Region class object of the type specified as the name.
      Returns:
      - Region of specific type.
      Throws:
      java.lang.NoSuchMethodException
      java.lang.IllegalAccessException
      java.lang.InstantiationException
      java.lang.reflect.InvocationTargetException