diff options
Diffstat (limited to 'rba.model.core/src/rba/core/AllocatedContent.java')
-rw-r--r-- | rba.model.core/src/rba/core/AllocatedContent.java | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/rba.model.core/src/rba/core/AllocatedContent.java b/rba.model.core/src/rba/core/AllocatedContent.java new file mode 100644 index 0000000..6ed1413 --- /dev/null +++ b/rba.model.core/src/rba/core/AllocatedContent.java @@ -0,0 +1,41 @@ +/** + */ +package rba.core; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Allocated Content</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * + * @see rba.core.RBACorePackage#getAllocatedContent() + * @model + * @generated + */ +public interface AllocatedContent extends AllocatableOperator { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return \".allocatedContent()\";'" + * @generated + */ + String getSymbol(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='EList<rba.core.Expression> expressions = getOperand();\r\nif (!expressions.isEmpty() && expressions.get(0) != null) {\r\n rba.core.Expression first = expressions.get(0);\r\n if ((first.getType() == ExpressionType.AREA) || (first.getType() == ExpressionType.SET_OF_AREA)) {\r\n return ExpressionType.CONTENT;\r\n } else if ((first.getType() == ExpressionType.ZONE) || (first.getType() == ExpressionType.SET_OF_ZONE)) {\r\n return ExpressionType.SOUND;\r\n }\r\n}\r\nreturn ExpressionType.VALUE;'" + * @generated + */ + ExpressionType getUnderlyingType(); + +} // AllocatedContent |