57557: Fixed/Added some more JSDocs

This commit is contained in:
Kristof De Langhe
2018-11-26 10:48:51 +01:00
parent 3f98fed050
commit 19033e638a
4 changed files with 28 additions and 9 deletions

View File

@@ -25,9 +25,15 @@ export class NormalizedRelationshipType extends NormalizedObject {
@autoserialize
leftLabel: string;
/**
* The maximum amount of Relationships allowed to the left of this RelationshipType
*/
@autoserialize
leftMaxCardinality: number;
/**
* The minimum amount of Relationships allowed to the left of this RelationshipType
*/
@autoserialize
leftMinCardinality: number;
@@ -37,9 +43,15 @@ export class NormalizedRelationshipType extends NormalizedObject {
@autoserialize
rightLabel: string;
/**
* The maximum amount of Relationships allowed to the right of this RelationshipType
*/
@autoserialize
rightMaxCardinality: number;
/**
* The minimum amount of Relationships allowed to the right of this RelationshipType
*/
@autoserialize
rightMinCardinality: number;

View File

@@ -19,16 +19,13 @@ export class NormalizedRelationship extends NormalizedObject {
id: string;
/**
* The identifier of the Relationship to the left side of this Relationship
* The identifier of the Entity to the left side of this Relationship
*/
@autoserialize
leftId: string;
@autoserialize
place: number;
/**
* The identifier of the Relationship to the right side of this Relationship
* The identifier of the Entity to the right side of this Relationship
*/
@autoserialize
rightId: string;

View File

@@ -35,8 +35,14 @@ export class RelationshipType implements CacheableObject {
*/
leftLabel: string;
/**
* The maximum amount of Relationships allowed to the left of this RelationshipType
*/
leftMaxCardinality: number;
/**
* The minimum amount of Relationships allowed to the left of this RelationshipType
*/
leftMinCardinality: number;
/**
@@ -44,8 +50,14 @@ export class RelationshipType implements CacheableObject {
*/
rightLabel: string;
/**
* The maximum amount of Relationships allowed to the right of this RelationshipType
*/
rightMaxCardinality: number;
/**
* The minimum amount of Relationships allowed to the right of this RelationshipType
*/
rightMinCardinality: number;
/**

View File

@@ -26,14 +26,12 @@ export class Relationship implements CacheableObject {
id: string;
/**
* The identifier of the Relationship to the left side of this Relationship
* The identifier of the Entity to the left side of this Relationship
*/
leftId: string;
place: string;
/**
* The identifier of the Relationship to the right side of this Relationship
* The identifier of the Entity to the right side of this Relationship
*/
rightId: string;