/** * Instantiates a new DDF of the type specified in ddf.ini as "DDF", passing in this DDFManager as the sole argument * * @return the newly instantiated DDF * @throws DDFException */ public DDF newDDF() throws DDFException { DDF ddf = this.newDDF(new Class<?>[] { DDFManager.class }, new Object[] { this }); ddf.getPersistenceHandler().setPersistable(false); return ddf; }
/** * Instantiates a new DDF of the type specified in ddf.ini as "DDF", using the constructor that requires only * {@link DDFManager} as an argument. * * @param manager the {@link DDFManager} to assign * @return the newly instantiated DDF * @throws DDFException */ public DDF newDDF(DDFManager manager) throws DDFException { DDF ddf = this.newDDF(new Class<?>[] { DDFManager.class }, new Object[] { manager }); ddf.getPersistenceHandler().setPersistable(false); return ddf; }
@Override public DDF copy() throws DDFException { DDF newDDF = this.sql2ddf("select * from @this"); newDDF.getMetaDataHandler().copy(this.getMetaDataHandler()); newDDF.getPersistenceHandler().setPersistable(this.getPersistenceHandler().isPersistable()); return newDDF; }