protected static void registerDynClass() { DynObjectManager dynman = ToolsLocator.getDynObjectManager(); DynClass dynClass; DynField field; if (DYNCLASS == null) { DynClass dbfDynClass = DBFStoreProvider.DYNCLASS; dynClass = dynman.add(DYNCLASS_NAME); field = dynClass.addDynField(DYNFIELD_SRSORIGINALPARAMETERS_NAME); field.setType(DataTypes.STRING); field.setDescription("SRS original parameters"); // The SHP store parameters extend the DBF store parameters dynClass.extend(dbfDynClass); DYNCLASS = dynClass; } }
public SHPStoreProvider(SHPStoreParameters params, DataStoreProviderServices storeServices) throws InitializeException { super(params, storeServices, ToolsLocator.getDynObjectManager().createDynObject(DYNCLASS)); }