Ejemplo n.º 1
0
        public IAttributeReferenceBuilder QNameAttributeReference <T>() where T : IModelElementInstance
        {
            AttributeImpl attribute = (AttributeImpl)Build();
            AttributeReferenceBuilderImpl <T> referenceBuilder = new QNameAttributeReferenceBuilderImpl <T>(attribute);

            _referenceBuilder = referenceBuilder;
            return(referenceBuilder);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Create a new <seealso cref="AttributeReferenceBuilder"/> for the reference source element instance
        /// </summary>
        /// <param name="referenceTargetElement"> the reference target model element instance </param>
        /// <returns> the new attribute reference builder </returns>
        public virtual AttributeReferenceBuilder <V> qNameAttributeReference <V>(Type referenceTargetElement) where V : org.camunda.bpm.model.xml.instance.ModelElementInstance
        {
            referenceTargetElement = typeof(V);
            AttributeImpl <string>            attribute        = (AttributeImpl <string>)build();
            AttributeReferenceBuilderImpl <V> referenceBuilder = new QNameAttributeReferenceBuilderImpl <V>(attribute, referenceTargetElement);

            AttributeReference = referenceBuilder;
            return(referenceBuilder);
        }