-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First step implementing PathComponents
- Loading branch information
1 parent
20f13b2
commit c3a59a6
Showing
33 changed files
with
1,721 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 66 additions & 0 deletions
66
Kalliope.DTO/AutoGenDto/PathConditionRoleValueRestriction.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
// ------------------------------------------------------------------------------------------------- | ||
// <copyright file="PathConditionRoleValueRestriction.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 PathConditionRoleValueRestriction | ||
/// </summary> | ||
/// <remarks> | ||
/// Restrict the values required by a pathed role to satisfy the role path. | ||
/// </remarks> | ||
[Container(typeName: "PathedRole", propertyName: "ValueRestriction")] | ||
public partial class PathConditionRoleValueRestriction : ModelThing | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="PathConditionRoleValueRestriction"/> class. | ||
/// </summary> | ||
public PathConditionRoleValueRestriction() | ||
{ | ||
} | ||
|
||
/// <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 referenced <see cref="ValueConstraint"/> | ||
/// </summary> | ||
[Description("The ValueConstraint")] | ||
[Property(name: "PathedRoleConditionValueConstraint", aggregation: AggregationKind.None, multiplicity: "1..1", typeKind: TypeKind.Object, defaultValue: "", typeName: "ValueConstraint", allowOverride: false, isOverride: false, isDerived: false)] | ||
public string PathedRoleConditionValueConstraint { get; set; } | ||
|
||
} | ||
} | ||
|
||
// ------------------------------------------------------------------------------------------------ | ||
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- | ||
// ------------------------------------------------------------------------------------------------ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
// ------------------------------------------------------------------------------------------------- | ||
// <copyright file="PathedRole.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 PathedRole | ||
/// </summary> | ||
/// <remarks> | ||
/// A role in connected path. | ||
/// </remarks> | ||
[Container(typeName: "RolePath", propertyName: "PathedRole")] | ||
public partial class PathedRole : ModelThing | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="PathedRole"/> class. | ||
/// </summary> | ||
public PathedRole() | ||
{ | ||
this.Purpose = PathedRolePurpose.SameFactType; | ||
} | ||
|
||
/// <summary> | ||
/// Gets or sets the unique identifier of the container | ||
/// </summary> | ||
public string Container {get; set;} | ||
|
||
|
||
/// <summary> | ||
/// Gets or sets a IsNegated | ||
/// </summary> | ||
[Description("Is this PathedRole Negated")] | ||
[Property(name: "IsNegated", aggregation: AggregationKind.None, multiplicity: "1..1", typeKind: TypeKind.Boolean, defaultValue: "false", typeName: "", allowOverride: false, isOverride: false, isDerived: false)] | ||
public bool IsNegated { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets a Purpose | ||
/// </summary> | ||
[Description("The Purpose specification for a PathedRole.")] | ||
[Property(name: "Purpose", aggregation: AggregationKind.None, multiplicity: "1..1", typeKind: TypeKind.Enumeration, defaultValue: "SameFactType", typeName: "PathedRolePurpose", allowOverride: false, isOverride: false, isDerived: false)] | ||
public PathedRolePurpose Purpose { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the unique identifier of the referenced <see cref="RoleBase"/> | ||
/// </summary> | ||
[Description("")] | ||
[Property(name: "Role", aggregation: AggregationKind.None, multiplicity: "1..1", typeKind: TypeKind.Object, defaultValue: "", typeName: "RoleBase", allowOverride: false, isOverride: false, isDerived: false)] | ||
public string Role { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the unique identifier of the referenced <see cref="PathConditionRoleValueRestriction"/> | ||
/// </summary> | ||
[Description("The PathConditionRoleValueRestriction")] | ||
[Property(name: "ValueRestriction", aggregation: AggregationKind.None, multiplicity: "1..1", typeKind: TypeKind.Object, defaultValue: "", typeName: "PathConditionRoleValueRestriction", allowOverride: false, isOverride: false, isDerived: false)] | ||
public string ValueRestriction { get; set; } | ||
|
||
} | ||
} | ||
|
||
// ------------------------------------------------------------------------------------------------ | ||
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- | ||
// ------------------------------------------------------------------------------------------------ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
// ------------------------------------------------------------------------------------------------- | ||
// <copyright file="RootObjectType.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 RootObjectType | ||
/// </summary> | ||
/// <remarks> | ||
/// A reference to the object type that establishes the start point object type for a role path. | ||
/// </remarks> | ||
[Container(typeName: "RolePath", propertyName: "RootObjectType")] | ||
public partial class RootObjectType : ModelThing | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="RootObjectType"/> class. | ||
/// </summary> | ||
public RootObjectType() | ||
{ | ||
} | ||
|
||
/// <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 referenced <see cref="ObjectType"/> | ||
/// </summary> | ||
[Description("")] | ||
[Property(name: "ObjectType", aggregation: AggregationKind.None, multiplicity: "1..1", typeKind: TypeKind.Object, defaultValue: "", typeName: "ObjectType", allowOverride: false, isOverride: false, isDerived: false)] | ||
public string ObjectType { get; set; } | ||
|
||
} | ||
} | ||
|
||
// ------------------------------------------------------------------------------------------------ | ||
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- | ||
// ------------------------------------------------------------------------------------------------ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.