Package org.geotools.data.efeature

Examples of org.geotools.data.efeature.EFeatureInfo


    @Override
    public EFeatureInfo eAdapt(EFeature eFeature, boolean copy) {
        //
        // Forward to structure
        //
        EFeatureInfo eInfo = eStructure().eAdapt(eFeature.getStructure(), copy);
        //
        // Update structure
        //
        eFeature.setStructure(eInfo);
        //
View Full Code Here


            return getData();
        }
        //
        // 2) Then check structure mappings, replacing feature with mapped
        //
        EFeatureInfo eStructure = eInternal().eStructure;
        if(eStructure.eMappingExists(feature))  {
            feature = eStructure.eMappedTo((EAttribute)feature);
        }
        //
        // Forward to implementation
        //
        return eImpl().eGet(feature, resolve);
View Full Code Here

            return getData();
        }
        //
        // 2) Then check structure mappings, replacing feature with mapped
        //
        EFeatureInfo eStructure = eInternal().eStructure;
        if(eStructure.eMappingExists(feature))  {
            feature = eStructure.eMappedTo((EAttribute)feature);
        }
        //
        // Forward to implementation
        //
        return eImpl().eGet(feature, resolve, coreType);
View Full Code Here

            setStructure((EFeatureInfo)newValue);
        }
        //
        // 2) Then check structure mappings, replacing feature with mapped
        //
        EFeatureInfo eStructure = eInternal().eStructure;
        if(eStructure.eMappingExists(feature))  {
            feature = eStructure.eMappedTo((EAttribute)feature);
        }
        //
        // Forward to implementation
        //       
        eImpl().eSet(feature, newValue);
View Full Code Here

            return getStructure()!=null;
        }
        //
        // 2) Then check structure mappings, replacing feature with mapped
        //
        EFeatureInfo eStructure = eInternal().eStructure;
        if(eStructure.eMappingExists(feature))  {
            feature = eStructure.eMappedTo((EAttribute)feature);
        }
        //
        // Forward to implementation
        //
        return eImpl().eIsSet(feature);
View Full Code Here

            throw new IllegalStateException("'Structure' can not be unset");
        }
        //
        // 2) Then check structure mappings, replacing feature with mapped
        //
        EFeatureInfo eStructure = eInternal().eStructure;
        if(eStructure.eMappingExists(feature))  {
            feature = eStructure.eMappedTo((EAttribute)feature);
        }
        //
        // Forward to implementation
        //
        eImpl().eUnset(feature);
View Full Code Here

        //
        if(bFlag) {
            //
            // Cache reference to old structure
            //
            EFeatureInfo eOldStructure = this.eStructure;
            //
            // ------------------------------------------------------
            //  Validate implementation against structure?
            // ------------------------------------------------------
            //  This is an optimization exploiting the fact that
            //  structures are immutable once created, and that
            //  each structure can thus be uniquely identified
            //  by a unique ID. It is therefore only required to
            //  validate this implementation against each unique
            //  structure once.
            //
            if(!eNewStructure.eEqualTo(eOldStructure)) {
                validate(eNewStructure, eImpl());
            }
            //
            // Is valid, initialize this instance
            //
            this.eStructure = eNewStructure;
            //
            // Reset id information, forcing ID holder checks
            //
            eInitID();
            //
            // Reset property collections
            //
            this.eProperties = null;
            this.ePropertyMap = null;
            //
            // Tell listeners in old structure about the change?
            //
            if(eOldStructure!=null) {
                eOldStructure.eNotify(this,
                        EFeaturePackage.EFEATURE__STRUCTURE,
                        eOldStructure, eNewStructure);
            }           
        }
        //
View Full Code Here

        //
        String eNsURI = EFeatureUtils.eGetNsURI(eClass);
        //
        // Try to get cached structure
        //
        EFeatureInfo eInfo = get(eNsURI,eFolder,eClass.getName());
        if(eInfo!=null && EcoreUtil.equals(eInfo.eClass(),eClass)) {
            return eInfo;
        }
        //
        // Not found
        //
View Full Code Here

TOP

Related Classes of org.geotools.data.efeature.EFeatureInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.