package org.eclipse.modisco.kdm.data;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.ManyToMany;
import org.eclipse.emf.texo.test.TexoTestObjectConverter;
import org.eclipse.emf.texo.test.TexoTestQNameConverter;
import org.eclipse.modisco.kdm.code.ItemUnit;
import org.eclipse.persistence.annotations.Converter;
import org.eclipse.persistence.annotations.Converters;
/**
* A representation of the model object '<em><b>IndexElement</b></em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Entity(name = "data_IndexElement")
@Converters({ @Converter(converterClass = TexoTestObjectConverter.class, name = "TexoTestObjectConverter"),
@Converter(converterClass = TexoTestQNameConverter.class, name = "TexoTestQNameConverter") })
public class IndexElement extends DataResource {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@ManyToMany(cascade = { CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH })
private Set<ItemUnit> implementation = new HashSet<ItemUnit>();
/**
* Returns the value of '<em><b>implementation</b></em>' feature.
*
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the value of '<em><b>implementation</b></em>' feature
* @generated
*/
public Set<ItemUnit> getImplementation() {
return implementation;
}
/**
* Sets the '{@link IndexElement#getImplementation() <em>implementation</em>}' feature.
*
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param newImplementation
* the new value of the '{@link IndexElement#getImplementation() implementation}' feature.
* @generated
*/
public void setImplementation(Set<ItemUnit> newImplementation) {
implementation = newImplementation;
}
/**
* A toString method which prints the values of all EAttributes of this instance. <!-- begin-user-doc --> <!--
* end-user-doc -->
*
* @generated
*/
@Override
public String toString() {
return "IndexElement " + "{extends: " + super.toString() + "} ";
}
}