Interface IMdPropertyTypeProvider


  • public interface IMdPropertyTypeProvider
    Provider of metadata property types. Provides metadata properties extension type defining whether property may be extended or be marked as checked. This type is version-dependent. Properties may have single property type for the specified versions or have multiple types.
    See Also:
    MdPropertyType
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      MdPropertyType getPropertyType​(org.eclipse.emf.ecore.EStructuralFeature feature, Version version)
      Returns metadata property type of the given metadata property feature for the given 1C:Enterprise runtime version.
      Collection<MdPropertyType> getPropertyTypes​(org.eclipse.emf.ecore.EStructuralFeature feature, Version version)
      Returns all metadata property types of the given metadata property feature for the given 1C:Enterprise runtime version.
      boolean hasPropertyType​(org.eclipse.emf.ecore.EStructuralFeature feature, Version version, MdPropertyType propertyType)
      Returns whether the given metadata property has the given metadata property type for the given 1C:Enterprise runtime version.
    • Method Detail

      • getPropertyType

        MdPropertyType getPropertyType​(org.eclipse.emf.ecore.EStructuralFeature feature,
                                       Version version)
        Returns metadata property type of the given metadata property feature for the given 1C:Enterprise runtime version.
        Parameters:
        feature - the metadata property feature, cannot be null
        version - the 1C:Enterprise runtime version, cannot be null
        Returns:
        metadata property type of the given metadata property feature for the given 1C:Enterprise runtime version or null if this property cannot be extended, checked or notify
      • getPropertyTypes

        Collection<MdPropertyType> getPropertyTypes​(org.eclipse.emf.ecore.EStructuralFeature feature,
                                                    Version version)
        Returns all metadata property types of the given metadata property feature for the given 1C:Enterprise runtime version.
        Parameters:
        feature - the metadata property feature, cannot be null
        version - the 1C:Enterprise runtime version, cannot be null
        Returns:
        metadata property types of the given metadata property feature for the given 1C:Enterprise runtime version, never null, may be empty if this property cannot be extended or checked
      • hasPropertyType

        boolean hasPropertyType​(org.eclipse.emf.ecore.EStructuralFeature feature,
                                Version version,
                                MdPropertyType propertyType)
        Returns whether the given metadata property has the given metadata property type for the given 1C:Enterprise runtime version.
        Parameters:
        feature - the metadata property feature, cannot be null
        version - the 1C:Enterprise runtime version, cannot be null
        propertyType - the metadata property type to check, cannot be null
        Returns:
        whether the given metadata property has the given metadata property type for the given 1C:Enterprise runtime version