Exemple #1
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);
        }
Exemple #2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @SuppressWarnings("rawtypes") public <V extends org.camunda.bpm.model.xml.instance.ModelElementInstance> org.camunda.bpm.model.xml.type.reference.AttributeReferenceCollectionBuilder<V> idAttributeReferenceCollection(Class<V> referenceTargetElement, Class attributeReferenceCollection)
        public virtual AttributeReferenceCollectionBuilder <V> idAttributeReferenceCollection <V>(Type referenceTargetElement, Type attributeReferenceCollection) where V : org.camunda.bpm.model.xml.instance.ModelElementInstance
        {
            referenceTargetElement = typeof(V);
            AttributeImpl <string> attribute = (AttributeImpl <string>)build();
            AttributeReferenceCollectionBuilder <V> referenceBuilder = new AttributeReferenceCollectionBuilderImpl <V>(attribute, referenceTargetElement, attributeReferenceCollection);

            AttributeReference = referenceBuilder;
            return(referenceBuilder);
        }
Exemple #3
0
 internal AttributeBuilderImpl(string attributeName, ModelElementTypeImpl modelType, AttributeImpl <T> attribute)
 {
     this.modelType          = modelType;
     this.attribute          = attribute;
     attribute.AttributeName = attributeName;
 }