private TSF_EA.AttributeWrapper getSubsetAttributeWrapper(TSF_EA.AttributeWrapper sourceAttribute) { foreach (var schemaElement in this.schemaElements) { foreach (var schemaAttribute in schemaElement.schemaProperties) { if (schemaAttribute.sourceProperty.Equals(sourceAttribute) && schemaAttribute.subSetProperty != null) { return((TSF_EA.AttributeWrapper)schemaAttribute.subSetProperty); } } foreach (var schemaLiteral in schemaElement.schemaLiterals) { if (schemaLiteral.sourceLiteral.Equals(sourceAttribute) && schemaLiteral.subSetLiteral != null) { return((TSF_EA.AttributeWrapper)schemaLiteral.subSetLiteral); } } } //nothing found, return null return(null); }
public AttributeMappingNode(TSF_EA.AttributeWrapper sourceAttribute, ElementMappingNode parent, MappingSettings settings, MP.ModelStructure structure) : this(sourceAttribute, parent, settings, structure, null) { }
public AttributeMappingNode(TSF_EA.AttributeWrapper sourceAttribute, ElementMappingNode parent, MappingSettings settings, MP.ModelStructure structure, UML.Classes.Kernel.NamedElement virtualOwner) : base((UML.Classes.Kernel.NamedElement)sourceAttribute, parent, settings, structure, virtualOwner) { }
public AttributeMappingNode(TSF_EA.AttributeWrapper sourceAttribute, MappingSettings settings, MP.ModelStructure structure) : this(sourceAttribute, null, settings, structure) { }