Class AbstractAttributeDescriptor<T extends Attribute>

    • Constructor Detail

      • AbstractAttributeDescriptor

        public AbstractAttributeDescriptor()
    • Method Detail

      • isValid

        public boolean isValid()
      • getAnnotatedElement

        public java.lang.reflect.AnnotatedElement getAnnotatedElement()
      • setAnnotatedElement

        public void setAnnotatedElement​(java.lang.reflect.AnnotatedElement annotatedElement)
      • getSetterMethod

        public java.lang.reflect.Method getSetterMethod()
      • setSetterMethod

        public void setSetterMethod​(java.lang.reflect.Method setterMethod)
      • create

        public T create​(ModelElement parentElement)
        Description copied from class: PartDescriptor
        Is called by the collector to create a part of type T using the previously collected information.
        Specified by:
        create in class PartDescriptor<T extends Attribute>
        Parameters:
        parentElement - The parent of the part that should be created
        Returns:
        The newly created part
      • createValid

        protected abstract T createValid​(Type type)