Class AbstractMultiFeatureFieldModelFactory.FeaturePaths

    • Constructor Summary

      Constructors 
      Constructor Description
      FeaturePaths​(org.eclipse.emf.databinding.FeaturePath... featurePaths)  
    • Constructor Detail

      • FeaturePaths

        public FeaturePaths​(org.eclipse.emf.databinding.FeaturePath... featurePaths)
    • Method Detail

      • getFeaturePaths

        public org.eclipse.emf.databinding.FeaturePath[] getFeaturePaths()
        Returns the array of feature paths
        Returns:
        the feature paths
      • contain

        public boolean contain​(org.eclipse.emf.ecore.EStructuralFeature feature)
        Checks whether the feature paths contain a single-feature path defined by the specified feature.
        Parameters:
        feature - the feature defining the single-feature path, not null
        Returns:
        true if the specified single-feature path is contained in this object, false otherwise
      • toFeatures

        public org.eclipse.emf.ecore.EStructuralFeature[] toFeatures()
        If all feature paths are single-feature paths, returns an array of the corresponding features. Otherwise, returns null.
        Returns:
        an array of features or null