Revision 44114 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
DALFile.java | ||
---|---|---|
79 | 79 |
.setClassOfValue(FeatureAttributeEmulator.class) |
80 | 80 |
.setMandatory(true) |
81 | 81 |
.setPersistent(true); |
82 |
definition.addDynFieldLong("IntervalStart") |
|
83 |
.setMandatory(false) |
|
84 |
.setPersistent(true); |
|
85 |
definition.addDynFieldLong("IntervalEnd") |
|
86 |
.setMandatory(false) |
|
87 |
.setPersistent(true); |
|
82 | 88 |
} |
83 | 89 |
} |
84 | 90 |
|
... | ... | |
100 | 106 |
this.name = attrdesc.getName(); |
101 | 107 |
this.type = attrdesc.getType(); |
102 | 108 |
this.emulator = attrdesc.getFeatureAttributeEmulator(); |
103 |
if( attrdesc.getInterval().isRelative() ) { |
|
109 |
if( attrdesc.getInterval()!=null && attrdesc.getInterval().isRelative() ) {
|
|
104 | 110 |
this.interval = (RelativeInterval) attrdesc.getInterval(); |
105 | 111 |
} else { |
106 | 112 |
this.interval = null; |
Also available in: Unified diff