@Override public void addLockedFeature(FeatureId fid) { net.opengis.wfs20.LockFeatureResponseType lfr = (net.opengis.wfs20.LockFeatureResponseType) adaptee; if (lfr.getFeaturesLocked() == null) { lfr.setFeaturesLocked(((Wfs20Factory) getFactory()).createFeaturesLockedType()); } lfr.getFeaturesLocked().getResourceId().add(fid); }