public override string ToString() { StringBuilder __sb = new StringBuilder("TDDIDesignArtifactUnion("); bool __first = true; if (System != null && __isset.System) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("System: "); __sb.Append(System == null ? "<null>" : System.ToString()); } if (Function != null && __isset.Function) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Function: "); __sb.Append(Function == null ? "<null>" : Function.ToString()); } if (Configuration != null && __isset.Configuration) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Configuration: "); __sb.Append(Configuration == null ? "<null>" : Configuration.ToString()); } if (Signal != null && __isset.Signal) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Signal: "); __sb.Append(Signal == null ? "<null>" : Signal.ToString()); } if (SystemBoundary != null && __isset.SystemBoundary) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("SystemBoundary: "); __sb.Append(SystemBoundary == null ? "<null>" : SystemBoundary.ToString()); } if (Context != null && __isset.Context) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Context: "); __sb.Append(Context == null ? "<null>" : Context.ToString()); } if (LifecycleCondition != null && __isset.LifecycleCondition) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("LifecycleCondition: "); __sb.Append(LifecycleCondition == null ? "<null>" : LifecycleCondition.ToString()); } if (Port != null && __isset.Port) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Port: "); __sb.Append(Port == null ? "<null>" : Port.ToString()); } if (PerfChars != null && __isset.PerfChars) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("PerfChars: "); __sb.Append(PerfChars == null ? "<null>" : PerfChars.ToString()); } if (ArchitecturePackage != null && __isset.ArchitecturePackage) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("ArchitecturePackage: "); __sb.Append(ArchitecturePackage == null ? "<null>" : ArchitecturePackage.ToString()); } __sb.Append(")"); return(__sb.ToString()); }
public override string ToString() { StringBuilder __sb = new StringBuilder("TDDIFunction("); bool __first = true; if (__isset.Id) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Id: "); __sb.Append(Id); } if (Name != null && __isset.Name) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Name: "); __sb.Append(Name); } if (Description != null && __isset.Description) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Description: "); __sb.Append(Description); } if (KeyValueMaps != null && __isset.KeyValueMaps) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("KeyValueMaps: "); __sb.Append(KeyValueMaps); } if (DependabilityRequirements != null && __isset.DependabilityRequirements) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("DependabilityRequirements: "); __sb.Append(DependabilityRequirements); } if (AssuranceLevel != null && __isset.AssuranceLevel) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("AssuranceLevel: "); __sb.Append(AssuranceLevel); } if (SubFunctions != null && __isset.SubFunctions) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("SubFunctions: "); __sb.Append(SubFunctions); } if (Ports != null && __isset.Ports) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Ports: "); __sb.Append(Ports); } if (Signals != null && __isset.Signals) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Signals: "); __sb.Append(Signals); } if (PerfChars != null && __isset.PerfChars) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("PerfChars: "); __sb.Append(PerfChars == null ? "<null>" : PerfChars.ToString()); } if (FailureModels != null && __isset.FailureModels) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("FailureModels: "); __sb.Append(FailureModels); } if (Malfunctions != null && __isset.Malfunctions) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Malfunctions: "); __sb.Append(Malfunctions); } if (AsAsset != null && __isset.AsAsset) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("AsAsset: "); __sb.Append(AsAsset); } __sb.Append(")"); return(__sb.ToString()); }
public override string ToString() { StringBuilder __sb = new StringBuilder("TDDISafetyFunction("); bool __first = true; if (__isset.Id) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Id: "); __sb.Append(Id); } if (Name != null && __isset.Name) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Name: "); __sb.Append(Name); } if (Description != null && __isset.Description) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Description: "); __sb.Append(Description); } if (__isset.IsCitation) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("IsCitation: "); __sb.Append(IsCitation); } if (__isset.IsAbstract) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("IsAbstract: "); __sb.Append(IsAbstract); } if (KeyValueMaps != null && __isset.KeyValueMaps) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("KeyValueMaps: "); __sb.Append(KeyValueMaps); } if (CitedElement != null && __isset.CitedElement) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("CitedElement: "); __sb.Append(CitedElement); } if (DependabilityRequirements != null && __isset.DependabilityRequirements) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("DependabilityRequirements: "); __sb.Append(DependabilityRequirements); } if (AssuranceLevel != null && __isset.AssuranceLevel) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("AssuranceLevel: "); __sb.Append(AssuranceLevel); } if (SubFunctions != null && __isset.SubFunctions) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("SubFunctions: "); __sb.Append(SubFunctions); } if (Ports != null && __isset.Ports) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Ports: "); __sb.Append(Ports); } if (PerfChars != null && __isset.PerfChars) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("PerfChars: "); __sb.Append(PerfChars == null ? "<null>" : PerfChars.ToString()); } if (FailureModels != null && __isset.FailureModels) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("FailureModels: "); __sb.Append(FailureModels); } if (Malfunctions != null && __isset.Malfunctions) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Malfunctions: "); __sb.Append(Malfunctions); } if (Object != null && __isset.@Object) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Object: "); __sb.Append(Object); } if (Behavior != null && __isset.Behavior) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Behavior: "); __sb.Append(Behavior); } if (SafeState != null && __isset.SafeState) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("SafeState: "); __sb.Append(SafeState); } __sb.Append(")"); return(__sb.ToString()); }