: Public <<dataType>> Class
| Created: |
25/10/2010 00:39:49 |
| Modified: |
16/10/2012 11:13:16 |
|
Project: |
|
| Author: |
karjoh |
| Version: |
1.0 |
| Phase: |
1.0 |
| Status: |
Proposed |
| Complexity: |
Easy |
| Difficulty: |
|
| Priority: |
|
| Multiplicity: |
|
Advanced: |
|
| UUID: |
{BD215800-8E0F-4d7d-9378-F8FB66DD5F3D} |
| Appears In: |
Buildings - Base: Data Types |
-- Name --<br/>Current use<br/><br/>-- Definition --<br/>This data type enables to detail the current use(s).<br/><br/>
| Attribute |
Public CurrentUseValue currentUse
|
Details:
| Alias: |
|
| Initial: |
|
| Stereotype: |
|
| Ordered: |
|
| Range: |
|
| Transient: |
False |
| Derived: |
False |
| IsID: |
False |
obligation=implementingRule
|
Notes:
|
-- Name --<br/>Current use<br/><br/>-- Definition --<br/>The current use.<br/><br/>-- Description --<br/>EXAMPLE: trade<br/><br/>
|
|
Public Integer percentage
|
Details:
| Alias: |
|
| Initial: |
|
| Stereotype: |
<<voidable>> |
| Ordered: |
|
| Range: |
|
| Transient: |
False |
| Derived: |
False |
| IsID: |
False |
|
Notes:
|
-- Name --<br/>Percentage<br/><br/>-- Definition --<br/>The proportion of the real world object, given as a percentage, devoted to this current use.<br/>-- Description --<br/>NOTE: The percentage of use is generally the percentage of floor area dedicated to this given use. If it is not the case, it is recommended to explain what the percentage refers to in metadata (template for additional information)<br/>EXAMPLE: 30 (if 30% of the building is occupied by trade activity).<br/><br/>
|
Constraints: OCL percentage.sum()<=100
|
|
::subtotal()=100 /*The total of all percentages shall be less or equal to 100 percent */
|
|
| Constraint |
Type |
Status |
| percentageSum |
OCL |
Approved |
 Details:
/* The total of all percentages shall be less or equal to 100. */<br/>inv: self.percentage.sum()#lt;=100<br/><br/>
|