Skip to content

Commit 3ae34ad

Browse files
author
Bob Garner
committed
Fixed compiler test
Since adding some new classes.
1 parent 3b89fac commit 3ae34ad

File tree

1 file changed

+36
-21
lines changed

1 file changed

+36
-21
lines changed

test/resources/compiler/main/CompilerDocs/CompilerDocsExpected.txt

Lines changed: 36 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,7 @@ Model classes of this type are directly related to the entities in your model. T
518518
|[`MTAttribute`](#class_MTAttribute)|Represents an attribute of an entity.|
519519
|[`MTAttributeConstraint`](#class_MTAttributeConstraint)|Represents some type of constraint placed upon an attribute. Constraints can help prevent attributes from receiving values that are not valid for a specific application.|
520520
|[`MTBitField`](#class_MTBitField)|Represents a bit field of an attribute.|
521+
|[`MTCompositeEntity`](#class_MTCompositeEntity)|Represents a composite entity in your model.|
521522
|[`MTEntity`](#class_MTEntity)|Represents an entity in your model.|
522523
|[`MTEntityTemplate`](#class_MTEntityTemplate)|An Entity Template is the declaration of an entity in a parameterized way, such as `MyEntity<T,S>` where `T` and `S` are parameters that are used in the body of the definition to parameterize the entity. This entity template can then be used as a template to create other entities. Currently template entites can only be used in a special usage of a relationship.|
523524
|[`MTEnum`](#class_MTEnum)|Represents an enum in your model.|
@@ -732,6 +733,15 @@ These methods relate to attributes.
732733
| The number of bits wide of the bit field. |
733734

734735

736+
<a name="class_MTCompositeEntity">
737+
## MTCompositeEntity Class
738+
</a>
739+
740+
Represents a composite entity in your model.
741+
742+
This class has the following methods broken up into categories:
743+
744+
735745
<a name="class_MTEntity">
736746
## MTEntity Class
737747
</a>
@@ -1058,6 +1068,9 @@ These methods relate to relationships.
10581068
| `MTRelationship` [**`relationshipWithToEntity(MTEntity toEntity)`**](#class_MTEntity_relationshipWithToEntity) |
10591069
| Returns the first relationships from this entity to a specified entity. This method should be used when only one is expected. |
10601070
|<hr style="border-bottom:1px solid #77c;"><tr></tr>|
1071+
| `MTRelationship` [**`relationshipWithToEntityNamed(String toEntityName)`**](#class_MTEntity_relationshipWithToEntityNamed) |
1072+
| Returns the first relationships from this entity to a specified entity by its name. This method should be used when only one is expected. |
1073+
|<hr style="border-bottom:1px solid #77c;"><tr></tr>|
10611074
| `List` **`relationships`** |
10621075
| Returns the list of relationships of this entity. |
10631076
|<hr style="border-bottom:1px solid #77c;"><tr></tr>|
@@ -1170,6 +1183,16 @@ Returns the first relationships from this entity to a specified entity. This met
11701183
|-----|-----|
11711184
|`MTEntity toEntity` | The entity that the relationships are **to**. |
11721185

1186+
<a name="class_MTEntity_relationshipWithToEntityNamed">
1187+
#### Method `MTRelationship relationshipWithToEntityNamed(String toEntityName)`
1188+
</a>
1189+
1190+
Returns the first relationships from this entity to a specified entity by its name. This method should be used when only one is expected.
1191+
1192+
| Parameter | Description |
1193+
|-----|-----|
1194+
|`String toEntityName` | The entity that the relationships are **to**. |
1195+
11731196

11741197
<a name="class_MTEntity_relationshipsWithToEntity">
11751198
#### Method `List relationshipsWithToEntity(MTEntity toEntity)`
@@ -2316,6 +2339,9 @@ These methods relate to attributes.
23162339
| `MTDEAttribute` [**`domainAttributeByName(String attributeName, boolean createIfNeeded)`**](#class_MTDEntity_domainAttributeByName) |
23172340
| Returns the domain specific version of the specified attribute. |
23182341
|<hr style="border-bottom:1px solid #77c;"><tr></tr>|
2342+
| `MTDEAttribute` [**`domainAttributeByName(String attributeName)`**](#class_MTDEntity_domainAttributeByName) |
2343+
| Returns the domain specific version of the specified attribute. |
2344+
|<hr style="border-bottom:1px solid #77c;"><tr></tr>|
23192345
| `Collection` **`domainAttributes`** |
23202346
| Returns all the domain attributes from this domain entity. |
23212347
|<hr style="border-bottom:1px solid #77c;"><tr></tr>|
@@ -2357,6 +2383,16 @@ Returns the domain specific version of the specified attribute.
23572383
|`String attributeName` | The name of the attribute to return. |
23582384
|`boolean createIfNeeded` | If the domain based attribute has not yet been created, specifying `true` will make sure it is created before returning it. Otherwise `null` will be returned if it was not yet created. |
23592385

2386+
<a name="class_MTDEntity_domainAttributeByName">
2387+
#### Method `MTDEAttribute domainAttributeByName(String attributeName)`
2388+
</a>
2389+
2390+
Returns the domain specific version of the specified attribute.
2391+
2392+
| Parameter | Description |
2393+
|-----|-----|
2394+
|`String attributeName` | The name of the attribute to return. |
2395+
23602396

23612397
<a name="class_MTDEntity_flatDeclaredAttributeList">
23622398
#### Method `Collection flatDeclaredAttributeList(MFArray ofTypes)`
@@ -2390,9 +2426,6 @@ These methods relate to relationships.
23902426
| `List` **`declaredDomainRelationships`** |
23912427
| Returns the list of domain relationships that are explicitly defined in the domain. |
23922428
|<hr style="border-bottom:1px solid #77c;"><tr></tr>|
2393-
| `MTDERelationship` [**`domainEntityRelationshipByName(String name, boolean createIfNeeded)`**](#class_MTDEntity_domainEntityRelationshipByName) |
2394-
| Returns the domain specific version of the specified relationship. |
2395-
|<hr style="border-bottom:1px solid #77c;"><tr></tr>|
23962429
| `boolean` **`hasDeclaredDomainRelationships`** |
23972430
| Indicates if any relationships were declared in this domain entity declaration. |
23982431
|<hr style="border-bottom:1px solid #77c;"><tr></tr>|
@@ -2411,24 +2444,6 @@ These methods relate to relationships.
24112444
| `Collection` **`relationships`** |
24122445
| Returns the all the domain relationships of this domain entity. |
24132446

2414-
2415-
<a name="class_MTDEntity_domainEntityRelationshipByName">
2416-
#### Method `MTDERelationship domainEntityRelationshipByName(String name, boolean createIfNeeded)`
2417-
</a>
2418-
2419-
Returns the domain specific version of the specified relationship.
2420-
2421-
| Parameter | Description |
2422-
|-----|-----|
2423-
|`String name` | The name of the relationship to return. |
2424-
|`boolean createIfNeeded` | If the domain based relationship has not yet been created, specifying `true` will make sure it is created before returning it. Otherwise `null` will be returned if it was not yet created. |
2425-
2426-
2427-
2428-
2429-
2430-
2431-
24322447
### Tagging Category
24332448

24342449
These methods relate to the tagging.

0 commit comments

Comments
 (0)