blob: 6251e6d3f9c3b8188bf761009ab7549ce0b451be [file] [log] [blame]
/*
* Copyright (c) 2014 CEA and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Kenn Hussey (CEA) - initial API and implementation
*
*/
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();
}