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

View File

@@ -19,16 +19,13 @@ export class NormalizedRelationship extends NormalizedObject {
id: string; 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 @autoserialize
leftId: string; 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 @autoserialize
rightId: string; rightId: string;

View File

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

View File

@@ -26,14 +26,12 @@ export class Relationship implements CacheableObject {
id: string; 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; 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; rightId: string;