Interface IUnmarshallAction
The public interface for UnmarshallAction
[DefaultImplementationType(typeof(UnmarshallAction))]
[XmlDefaultImplementationType(typeof(UnmarshallAction))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//UnmarshallAction")]
public interface IUnmarshallAction : IAction, IExecutableNode, IActivityNode, IActivityContent, IRedefinableElement, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inherited Members
Properties
Object
The InputPin that gives the object to be unmarshalled. <p>From package UML::Actions.</p>
[Browsable(false)]
[XmlElementName("object")]
[XmlAttribute(false)]
[Containment]
IInputPin Object { get; set; }
Property Value
Result
The OutputPins on which are placed the values of the StructuralFeatures of the input object. <p>From package UML::Actions.</p>
[LowerBound(1)]
[Browsable(false)]
[XmlElementName("result")]
[XmlAttribute(false)]
[Containment]
IOrderedSetExpression<IOutputPin> Result { get; }
Property Value
UnmarshallType
The type of the object to be unmarshalled. <p>From package UML::Actions.</p>
[XmlElementName("unmarshallType")]
[XmlAttribute(true)]
IClassifier UnmarshallType { get; set; }
Property Value
Methods
Multiplicity_of_object(object, object)
The multiplicity of the object InputPin is 1..1 object.is(1,1)
bool Multiplicity_of_object(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
Number_of_result(object, object)
The number of result outputPins must be the same as the number of attributes of the unmarshallType. unmarshallType.allAttributes()->size() = result->size()
bool Number_of_result(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
Object_type(object, object)
The type of the object InputPin conform to the unmarshallType. object.type.conformsTo(unmarshallType)
bool Object_type(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
Structural_feature(object, object)
The unmarshallType must have at least one StructuralFeature. unmarshallType.allAttributes()->size() >= 1
bool Structural_feature(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
Type_ordering_and_multiplicity(object, object)
The type, ordering and multiplicity of each attribute of the unmarshallType must be compatible with the type, ordering and multiplicity of the corresponding result OutputPin. let attribute:OrderedSet(Property) = unmarshallType.allAttributes() in Sequence{1..result->size()}->forAll(i | attribute->at(i).type.conformsTo(result->at(i).type) and attribute->at(i).isOrdered=result->at(i).isOrdered and attribute->at(i).compatibleWith(result->at(i)))
bool Type_ordering_and_multiplicity(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.