public UpccAssociation(IUmlAssociation umlAssociation, ICctsElement associatingElement) { UmlAssociation = umlAssociation; _associatingElement = associatingElement; //set initial position int sequence; if (int.TryParse(this.SequencingKey, out sequence)) { this.position = sequence; } //zero means not ordered so it should appear last. if (position == 0) { position = int.MaxValue; } }
public static string GetBasicTypeName(ICctsElement element) { if (element == null) { return("Error_No_BasicType"); } var enumType = element as UpccEnum; //assembled types have a different naming convention if (enumType != null) { return(GetEnumName(enumType)); } var primType = element as UpccPrim; if (primType != null) { return(primType.xsdType); } return(element.Name + element.UniqueIdentifier); }
public BasicType(ICctsElement actualType) { this.actualType = actualType; }
public BieAggregator(ICctsElement actualType) { this.actualType = actualType; }