Ejemplo n.º 1
0
		public override void ReadProcessData(XmlElement xmlElement, ProcessDefinitionBuildContext creationContext)
		{
			DefinitionObjectImpl parent = creationContext.DefinitionObject;
			creationContext.DefinitionObject = this;
			base.ReadProcessData(xmlElement, creationContext);
			creationContext.DefinitionObject = parent;
			this._from = creationContext.Node;

			creationContext.AddUnresolvedReference(this, xmlElement.GetProperty("to"), creationContext.TransitionDestinationScope, "to", typeof (INode));
		}
Ejemplo n.º 2
0
        public override void ReadProcessData(XmlElement xmlElement, ProcessDefinitionBuildContext creationContext)
        {
            DefinitionObjectImpl parent = creationContext.DefinitionObject;

            creationContext.DefinitionObject = this;
            base.ReadProcessData(xmlElement, creationContext);
            creationContext.DefinitionObject = parent;
            this._from = creationContext.Node;

            creationContext.AddUnresolvedReference(this, xmlElement.GetProperty("to"), creationContext.TransitionDestinationScope, "to", typeof(INode));
        }
Ejemplo n.º 3
0
        public virtual void ReadProcessData(XmlElement xmlElement, ProcessDefinitionBuildContext creationContext)
		{
			String attributeName = xmlElement.GetProperty("attribute");
			creationContext.Check(((Object) attributeName != null), "attribute is a required property in element field : " + xmlElement);

			log.Debug("parsing field for attribute '" + attributeName);

			creationContext.AddUnresolvedReference(this, attributeName, creationContext.ProcessBlock, "attribute", typeof (IAttribute));

			this._state = creationContext.State;

			String accessText = xmlElement.GetProperty("access");
			creationContext.Check(((Object) accessText != null), "access is a required property in element field : " + xmlElement);
			this._access = FieldAccessHelper.fromText(accessText);
		}
Ejemplo n.º 4
0
        public virtual void ReadProcessData(XmlElement xmlElement, ProcessDefinitionBuildContext creationContext)
        {
            String attributeName = xmlElement.GetProperty("attribute");

            creationContext.Check(((Object)attributeName != null), "attribute is a required property in element field : " + xmlElement);

            log.Debug("parsing field for attribute '" + attributeName);

            creationContext.AddUnresolvedReference(this, attributeName, creationContext.ProcessBlock, "attribute", typeof(IAttribute));

            this._state = creationContext.State;

            String accessText = xmlElement.GetProperty("access");

            creationContext.Check(((Object)accessText != null), "access is a required property in element field : " + xmlElement);
            this._access = FieldAccessHelper.fromText(accessText);
        }