Package com._1c.g5.v8.dt.md.extension
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.EObject context, 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.EObject context, 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.EObject context, 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.EObject context, 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:
context
- the underlyingEObject
, cannot benull
feature
- the metadata property feature, cannot benull
version
- the 1C:Enterprise runtime version, cannot benull
- 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.EObject context, 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:
context
- the underlyingEObject
, cannot benull
feature
- the metadata property feature, cannot benull
version
- the 1C:Enterprise runtime version, cannot benull
- 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.EObject context, 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:
context
- the underlyingEObject
, cannot benull
feature
- the metadata property feature, cannot benull
version
- the 1C:Enterprise runtime version, cannot benull
propertyType
- the metadata property type to check, cannot benull
- Returns:
- whether the given metadata property has the given metadata property type for the given 1C:Enterprise runtime version
-
-