Skip to content

Commit

Permalink
Next Step Mandatory and UniqueConstraints
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander van Delft committed Dec 4, 2023
1 parent b5495ef commit d444bb3
Show file tree
Hide file tree
Showing 22 changed files with 12,419 additions and 136 deletions.
16 changes: 8 additions & 8 deletions Kalliope.DTO/AutoGenDto/ConstraintRoleSequenceWithJoin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ namespace Kalliope.DTO
/// A Data Transfer Object that represents a ConstraintRoleSequenceWithJoin
/// </summary>
[Container(typeName: "SetConstraintWithJoin", propertyName: "RoleSequence")]
public partial class ConstraintRoleSequenceWithJoin : OrmNamedElement
public abstract partial class ConstraintRoleSequenceWithJoin : OrmNamedElement
{
/// <summary>
/// Initializes a new instance of the <see cref="ConstraintRoleSequenceWithJoin"/> class.
/// </summary>
public ConstraintRoleSequenceWithJoin()
protected ConstraintRoleSequenceWithJoin()
{
this.Roles = new List<string>();
}
Expand All @@ -50,18 +50,18 @@ public ConstraintRoleSequenceWithJoin()


/// <summary>
/// Gets or sets the unique identifier of the contained <see cref="ConstraintRoleSequenceJoinPath"/>
/// Gets or sets the unique identifier of the contained <see cref="JoinPathRequiredError"/>
/// </summary>
[Description("")]
[Property(name: "JoinPath", aggregation: AggregationKind.Composite, multiplicity: "0..1", typeKind: TypeKind.Object, defaultValue: "", typeName: "ConstraintRoleSequenceJoinPath", allowOverride: false, isOverride: false, isDerived: false)]
public string JoinPath { get; set; }
[Property(name: "JoinPathRequiredError", aggregation: AggregationKind.Composite, multiplicity: "0..1", typeKind: TypeKind.Object, defaultValue: "", typeName: "JoinPathRequiredError", allowOverride: false, isOverride: false, isDerived: false)]
public string JoinPathRequiredError { get; set; }

/// <summary>
/// Gets or sets the unique identifier of the contained <see cref="JoinPathRequiredError"/>
/// Gets or sets the unique identifier of the contained <see cref="JoinRule"/>
/// </summary>
[Description("")]
[Property(name: "JoinPathRequiredError", aggregation: AggregationKind.Composite, multiplicity: "0..1", typeKind: TypeKind.Object, defaultValue: "", typeName: "JoinPathRequiredError", allowOverride: false, isOverride: false, isDerived: false)]
public string JoinPathRequiredError { get; set; }
[Property(name: "JoinRule", aggregation: AggregationKind.Composite, multiplicity: "0..1", typeKind: TypeKind.Object, defaultValue: "", typeName: "JoinRule", allowOverride: false, isOverride: false, isDerived: false)]
public string JoinRule { get; set; }

/// <summary>
/// Gets or sets a list unique identifiers of the contained <see cref="RoleBase"/> instances
Expand Down
50 changes: 50 additions & 0 deletions Kalliope.DTO/AutoGenDto/ConstraintRoleSequenceWithJoinAndId.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="ConstraintRoleSequenceWithJoinAndId.cs" company="RHEA System S.A.">
//
// Copyright 2022-2023 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// </copyright>
// ------------------------------------------------------------------------------------------------

// ------------------------------------------------------------------------------------------------
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
// ------------------------------------------------------------------------------------------------

namespace Kalliope.DTO
{
using System;
using System.Collections.Generic;

using Kalliope.Common;

/// <summary>
/// A Data Transfer Object that represents a ConstraintRoleSequenceWithJoinAndId
/// </summary>
[Container(typeName: "ConstraintRoleSequences", propertyName: "RoleSequence")]
public partial class ConstraintRoleSequenceWithJoinAndId : ConstraintRoleSequenceWithJoin
{
/// <summary>
/// Initializes a new instance of the <see cref="ConstraintRoleSequenceWithJoinAndId"/> class.
/// </summary>
public ConstraintRoleSequenceWithJoinAndId()
{
}

}
}

// ------------------------------------------------------------------------------------------------
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
// ------------------------------------------------------------------------------------------------
64 changes: 64 additions & 0 deletions Kalliope.DTO/AutoGenDto/ConstraintRoleSequences.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="ConstraintRoleSequences.cs" company="RHEA System S.A.">
//
// Copyright 2022-2023 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// </copyright>
// ------------------------------------------------------------------------------------------------

// ------------------------------------------------------------------------------------------------
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
// ------------------------------------------------------------------------------------------------

namespace Kalliope.DTO
{
using System;
using System.Collections.Generic;

using Kalliope.Common;

/// <summary>
/// A Data Transfer Object that represents a ConstraintRoleSequences
/// </summary>
[Container(typeName: "SetConstraint", propertyName: "RoleSequences")]
public partial class ConstraintRoleSequences : OrmNamedElement
{
/// <summary>
/// Initializes a new instance of the <see cref="ConstraintRoleSequences"/> class.
/// </summary>
public ConstraintRoleSequences()
{
this.RoleSequence = new List<string>();
}

/// <summary>
/// Gets or sets the unique identifier of the container
/// </summary>
public string Container {get; set;}


/// <summary>
/// Gets or sets a list unique identifiers of the contained <see cref="ConstraintRoleSequenceWithJoinAndId"/> instances
/// </summary>
[Description("")]
[Property(name: "RoleSequence", aggregation: AggregationKind.Composite, multiplicity: "0..*", typeKind: TypeKind.Object, defaultValue: "", typeName: "ConstraintRoleSequenceWithJoinAndId", allowOverride: false, isOverride: false, isDerived: false)]
public List<string> RoleSequence { get; set; }

}
}

// ------------------------------------------------------------------------------------------------
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
// ------------------------------------------------------------------------------------------------
70 changes: 70 additions & 0 deletions Kalliope.DTO/AutoGenDto/JoinRule.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="JoinRule.cs" company="RHEA System S.A.">
//
// Copyright 2022-2023 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// </copyright>
// ------------------------------------------------------------------------------------------------

// ------------------------------------------------------------------------------------------------
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
// ------------------------------------------------------------------------------------------------

namespace Kalliope.DTO
{
using System;
using System.Collections.Generic;

using Kalliope.Common;

/// <summary>
/// A Data Transfer Object that represents a JoinRule
/// </summary>
[Container(typeName: "ConstraintRoleSequenceWithJoin", propertyName: "JoinRule")]
public partial class JoinRule : ModelThing
{
/// <summary>
/// Initializes a new instance of the <see cref="JoinRule"/> class.
/// </summary>
public JoinRule()
{
}

/// <summary>
/// Gets or sets the unique identifier of the container
/// </summary>
public string Container {get; set;}


/// <summary>
/// Gets or sets the unique identifier of the contained <see cref="ConstraintRoleSequenceJoinPath"/>
/// </summary>
[Description("")]
[Property(name: "JoinPath", aggregation: AggregationKind.Composite, multiplicity: "0..1", typeKind: TypeKind.Object, defaultValue: "", typeName: "ConstraintRoleSequenceJoinPath", allowOverride: false, isOverride: false, isDerived: false)]
public string JoinPath { get; set; }

/// <summary>
/// Gets or sets the unique identifier of the contained <see cref="JoinPathRequiredError"/>
/// </summary>
[Description("")]
[Property(name: "JoinPathRequiredError", aggregation: AggregationKind.Composite, multiplicity: "0..1", typeKind: TypeKind.Object, defaultValue: "", typeName: "JoinPathRequiredError", allowOverride: false, isOverride: false, isDerived: false)]
public string JoinPathRequiredError { get; set; }

}
}

// ------------------------------------------------------------------------------------------------
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
// ------------------------------------------------------------------------------------------------
Loading

0 comments on commit d444bb3

Please sign in to comment.