Class TypeDescriptionProviderUtil

  • public class TypeDescriptionProviderUtil
    extends Object
    Util class to provide TypeDescription from metadata objects in model
    • Constructor Detail

      • TypeDescriptionProviderUtil

        protected TypeDescriptionProviderUtil()
    • Method Detail

      • getTypeCodeFeature

        public org.eclipse.emf.ecore.EStructuralFeature getTypeCodeFeature​(org.eclipse.emf.ecore.EClass eClass)
        Gets type feature annotated as "code" from specified eClass
        eClass - target feature eClass container, cannot be null
        feature annotated as "code" from specified eClass, or null if given eClass has not contains it
      • getTypeDescription

        public TypeDescription getTypeDescription​(org.eclipse.emf.ecore.EObject eObject)
        Gets TypeDescription from given object
        eObject - source object to search type in, cannot be null
        instance of type description of given object, or null if given object has not contains it