org.openxma.dsl.dom.model.impl.ValueObjectImpl Maven / Gradle / Ivy
/**
*
*
*
* $Id: ValueObjectImpl.java 9713 2012-07-12 10:44:52Z mjohannes $
*/
package org.openxma.dsl.dom.model.impl;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.openxma.dsl.dom.DomPackage;
import org.openxma.dsl.dom.model.Attribute;
import org.openxma.dsl.dom.model.PresentableFeature;
import org.openxma.dsl.dom.model.ValueObject;
/**
* An implementation of the model object '
* Value Object'.
*
*
*
* @generated
*/
public class ValueObjectImpl extends ComplexTypeImpl implements ValueObject {
/**
*
* @generated
*/
protected ValueObjectImpl() {
super();
}
/**
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return DomPackage.Literals.VALUE_OBJECT;
}
/**
* @generated NOT
*/
@Override
public EList getAllAttributes() {
return getAttributes();
}
/**
* @generated NOT
*/
public List getAllPresentableFeaturesIncludingSuperType() {
List presentableFeatureList = new ArrayList();
presentableFeatureList.addAll(getAllAttributes());
return presentableFeatureList;
}
} // ValueObjectImpl