Class IModelProcessorContribution.ModelElement

  • Enclosing interface:
    IModelProcessorContribution

    public static class IModelProcessorContribution.ModelElement
    extends java.lang.Object
    A model element to be added to the context used to invoke the processor.
    • Constructor Summary

      Constructors 
      Constructor Description
      ModelElement​(java.lang.String id)  
      ModelElement​(java.lang.String id, java.lang.String contextKey)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getContextKey()  
      java.lang.String getId()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ModelElement

        public ModelElement​(java.lang.String id)
        Parameters:
        id - Identifier of a model element to be added to the context.
      • ModelElement

        public ModelElement​(java.lang.String id,
                            java.lang.String contextKey)
        Parameters:
        id - Identifier of a model element to be added to the context.
        contextKey - An optional key under which to store the model element in the context. The value of "id" is used if this value is not specified.
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns:
        Identifier of a model element to be added to the context.
      • getContextKey

        public java.lang.String getContextKey()
        Returns:
        An optional key under which to store the model element in the context. The value of "id" is used if this value is not specified.