Revision 43978 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/feature/impl/DALFile.java

View differences:

DALFile.java
44 44
        PersistenceManager manager = ToolsLocator.getPersistenceManager();
45 45
        if (manager.getDefinition(DALFILE_PERSISTENCE_DEFINITION_NAME) == null) {
46 46
            DynStruct definition = manager.addDefinition(
47
                DefaultFeatureStore.class,
47
                DALFile.class,
48 48
                DALFILE_PERSISTENCE_DEFINITION_NAME, 
49 49
                DALFILE_PERSISTENCE_DEFINITION_NAME + " Persistent definition", 
50 50
                null, 
......
57 57
        }
58 58
        if (manager.getDefinition(CALCULATEDATTRIBUTE_PERSISTENCE_DEFINITION_NAME) == null) {
59 59
            DynStruct definition = manager.addDefinition(
60
                DefaultFeatureStore.class,
60
                CalculatedAttribute.class,
61 61
                CALCULATEDATTRIBUTE_PERSISTENCE_DEFINITION_NAME, 
62 62
                CALCULATEDATTRIBUTE_PERSISTENCE_DEFINITION_NAME + " Persistent definition", 
63 63
                null, 
......
80 80
    }
81 81

  
82 82
    
83
    private class CalculatedAttribute implements Persistent {
83
    public static class CalculatedAttribute implements Persistent {
84 84

  
85 85
        private String name;
86 86
        private int type;
......
119 119
    
120 120
    private final List<CalculatedAttribute> calculatedAttributes;
121 121
    
122
    private DALFile() {
122
    public DALFile() {
123 123
        this.calculatedAttributes = new ArrayList<>();
124 124
    }
125 125

  

Also available in: Unified diff