Revision 44448 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
34 34
import org.apache.commons.lang3.ArrayUtils;
35 35
import org.apache.commons.lang3.StringUtils;
36 36
import org.cresques.cts.IProjection;
37
import org.gvsig.fmap.dal.DALLocator;
37 38
import org.gvsig.fmap.dal.DataStore;
38 39
import org.gvsig.fmap.dal.DataTypes;
40
import org.gvsig.fmap.dal.feature.DataProfile;
39 41
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor;
40 42
import org.gvsig.fmap.dal.feature.FeatureAttributeEmulator;
41 43
import org.gvsig.fmap.dal.feature.FeatureAttributeGetter;
......
952 954
    }
953 955

  
954 956
    @Override
957
    public DataProfile getDataProfile() {
958
        if( StringUtils.isBlank(dataProfile) ) {
959
            return null;
960
        }
961
        DataProfile profile = DALLocator.getDataManager().getDataProfile(dataProfile);
962
        return profile;
963
    }
964
    
965
    @Override
955 966
    public void validate(Object value) throws DynFieldValidateException {
956 967

  
957 968
        if (value == null && !this.allowNull()) {

Also available in: Unified diff