package org.eclipse.emf.texo.test.model.samples.interfaces; import javax.persistence.Basic; import javax.persistence.DiscriminatorColumn; import javax.persistence.Entity; import org.eclipse.emf.texo.test.TexoTestObjectConverter; import org.eclipse.emf.texo.test.TexoTestQNameConverter; import org.eclipse.emf.texo.test.model.base.identifiable.Identifiable; import org.eclipse.persistence.annotations.Converter; import org.eclipse.persistence.annotations.Converters; /** * A representation of the model object '<em><b>DescribableConcrete</b></em>'. <!-- begin-user-doc --> <!-- end-user-doc * --> * * @generated */ @Entity(name = "interfaces_DescribableConcrete") @DiscriminatorColumn(length = 255) @Converters({ @Converter(converterClass = TexoTestObjectConverter.class, name = "TexoTestObjectConverter"), @Converter(converterClass = TexoTestQNameConverter.class, name = "TexoTestQNameConverter") }) public class DescribableConcrete extends Identifiable implements Describable { /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ @Basic() private String name = ""; /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ @Basic() private String description = ""; /** * Returns the value of '<em><b>name</b></em>' feature. * * <!-- begin-user-doc --> <!-- end-user-doc --> * * @return the value of '<em><b>name</b></em>' feature * @generated */ public String getName() { return name; } /** * Sets the '{@link DescribableConcrete#getName() <em>name</em>}' feature. * * <!-- begin-user-doc --> <!-- end-user-doc --> * * @param newName * the new value of the '{@link DescribableConcrete#getName() name}' feature. * @generated */ public void setName(String newName) { name = newName; } /** * Returns the value of '<em><b>description</b></em>' feature. * * <!-- begin-user-doc --> <!-- end-user-doc --> * * @return the value of '<em><b>description</b></em>' feature * @generated */ public String getDescription() { return description; } /** * Sets the '{@link DescribableConcrete#getDescription() <em>description</em>}' feature. * * <!-- begin-user-doc --> <!-- end-user-doc --> * * @param newDescription * the new value of the '{@link DescribableConcrete#getDescription() description}' feature. * @generated */ public void setDescription(String newDescription) { description = newDescription; } /** * 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 "DescribableConcrete " + " [name: " + getName() + "]" + " [description: " + getDescription() + "]" + "{extends: " + super.toString() + "} "; } }