Class MdObjectAvailabilityDelegate

java.lang.Object
com._1c.g5.v8.dt.internal.md.availability.MdObjectAvailabilityDelegate
All Implemented Interfaces:
IMdObjectAvailabilityDelegate

public class MdObjectAvailabilityDelegate extends Object implements IMdObjectAvailabilityDelegate
Implementation of IMdObjectAvailabilityDelegate that checks whether objects are available in IV8Project with concrete IV8Project.getVersion()
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isAvailable(org.eclipse.emf.ecore.EClass eClass, IV8Project v8project)
    Returns whether the provided metadata class is currently available in the provided V8 project.
    boolean
    isAvailable(org.eclipse.emf.ecore.EObject eObject, IV8Project v8project)
    Returns whether the provided metadata class is currently available in the provided V8 project.
    boolean
    isAvailable(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature feature, IV8Project v8project)
    Returns whether the feature of the provided metadata class is currently available in the provided V8 project.

    Methods inherited from class java.lang.Object

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

    • MdObjectAvailabilityDelegate

      public MdObjectAvailabilityDelegate()
  • Method Details

    • isAvailable

      public boolean isAvailable(org.eclipse.emf.ecore.EClass eClass, IV8Project v8project)
      Description copied from interface: IMdObjectAvailabilityDelegate
      Returns whether the provided metadata class is currently available in the provided V8 project.
      Specified by:
      isAvailable in interface IMdObjectAvailabilityDelegate
      Parameters:
      eClass - the metadata class to check availability, cannot be null
      v8project - the V8 project to check in, cannot be null
      Returns:
      whether the provided metadata class is currently available in the provided V8 project
    • isAvailable

      public boolean isAvailable(org.eclipse.emf.ecore.EObject eObject, IV8Project v8project)
      Description copied from interface: IMdObjectAvailabilityDelegate
      Returns whether the provided metadata class is currently available in the provided V8 project.
      Specified by:
      isAvailable in interface IMdObjectAvailabilityDelegate
      Parameters:
      eObject - the metadata object to check availability, cannot be null
      v8project - the V8 project to check in, cannot be null
      Returns:
      whether the provided metadata class is currently available in the provided V8 project
    • isAvailable

      public boolean isAvailable(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature feature, IV8Project v8project)
      Description copied from interface: IMdObjectAvailabilityDelegate
      Returns whether the feature of the provided metadata class is currently available in the provided V8 project. Feature may be not available even if object itself is available.
      Specified by:
      isAvailable in interface IMdObjectAvailabilityDelegate
      Parameters:
      eObject - the metadata object to check feature availability in, cannot be null
      feature - the context feature to check availability, cannot be null
      v8project - the V8 project to check in, cannot be null
      Returns:
      whether the provided metadata class is currently available in the provided V8 project