| /** |
| */ |
| package org.eclipse.mdht.uml.hl7.datatypes.operations; |
| |
| import org.eclipse.emf.ecore.util.FeatureMap; |
| import org.eclipse.emf.ecore.util.FeatureMapUtil; |
| import org.eclipse.mdht.uml.hl7.datatypes.TEL; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A static utility class that provides operations related to '<em><b>TEL</b></em>' model objects. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following operations are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.mdht.uml.hl7.datatypes.TEL#getText() <em>Get Text</em>}</li> |
| * </ul> |
| * |
| * @generated |
| */ |
| public class TELOperations extends URLOperations { |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected TELOperations() { |
| super(); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated NOT |
| */ |
| public static String getText(TEL tel) { |
| StringBuffer text = new StringBuffer(""); |
| for (FeatureMap.Entry entry : tel.getMixed()) { |
| if (FeatureMapUtil.isText(entry)) { |
| text.append(entry.getValue().toString()); |
| } |
| } |
| return text.toString(); |
| } |
| |
| } // TELOperations |