/
BodyOwner.java
41 lines (36 loc) · 1.06 KB
/
BodyOwner.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
* Copyright (c) 2014, 2018 CEA and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* Kenn Hussey (CEA) - initial API and implementation
* Kenn Hussey - 535301
*
*/
package org.eclipse.uml2.uml;
import org.eclipse.emf.common.util.EList;
/**
* Common protocol for elements that own body (and language) strings.
*
* @since 5.0
*/
public interface BodyOwner {
/**
* Returns the value of the '<em><b>Body</b></em>' attribute list.
* The list contents are of type {@link java.lang.String}.
*
* @return the value of the '<em>Body</em>' attribute list.
*/
EList<String> getBodies();
/**
* Returns the value of the '<em><b>Language</b></em>' attribute list.
* The list contents are of type {@link java.lang.String}.
*
* @return the value of the '<em>Language</em>' attribute list.
*/
EList<String> getLanguages();
}