Class AbstractAssociationDescriptor<P extends Association>

    • Constructor Detail

      • AbstractAssociationDescriptor

        public AbstractAssociationDescriptor()
    • Method Detail

      • isValid

        public boolean isValid()
      • getAnnotatedElement

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

        public void setAnnotatedElement​(java.lang.reflect.Method annotatedElement)
      • setAddMethod

        public void setAddMethod​(java.lang.reflect.Method adderMethod)
      • getAddMethod

        public java.lang.reflect.Method getAddMethod()
      • getRemoveMethod

        public java.lang.reflect.Method getRemoveMethod()
      • setRemoveMethod

        public void setRemoveMethod​(java.lang.reflect.Method removeMethod)
      • create

        public P 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<P extends Association>
        Parameters:
        parentElement - The parent of the part that should be created
        Returns:
        The newly created part
      • createValid

        protected abstract P createValid​(Type type)