Class AbstractMultiFeatureFieldModelFactory.FeaturePaths

java.lang.Object
com._1c.g5.aef2.standard.definitions.models.AbstractMultiFeatureFieldModelFactory.FeaturePaths
Enclosing class:
AbstractMultiFeatureFieldModelFactory

public static final class AbstractMultiFeatureFieldModelFactory.FeaturePaths extends Object
A wrapper of an array of feature paths with convenience methods.
  • Constructor Summary

    Constructors
    Constructor
    Description
    FeaturePaths(org.eclipse.emf.databinding.FeaturePath... featurePaths)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    contain(org.eclipse.emf.ecore.EStructuralFeature feature)
    Checks whether the feature paths contain a single-feature path defined by the specified feature.
    org.eclipse.emf.databinding.FeaturePath[]
    Returns the array of feature paths
    org.eclipse.emf.ecore.EStructuralFeature[]
    If all feature paths are single-feature paths, returns an array of the corresponding features.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FeaturePaths

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

    • 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