Revision 47431 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/DefaultFeatureAttributeDescriptor.java

View differences:

DefaultFeatureAttributeDescriptor.java
590 590
        if (this.readOnly) {
591 591
            return true;
592 592
        }
593
        return this.isComputed();
593
        return this.isAutomatic() || this.isComputed();
594 594
    }
595 595

  
596 596
    @Override
......
1350 1350

  
1351 1351
    @Override
1352 1352
    public boolean isMandatory() {
1353
        if( this.isAutomatic() ) {
1354
            return false;
1355
        }
1353 1356
        return !allowNull() || isPrimaryKey();
1354 1357
    }
1355 1358

  

Also available in: Unified diff