package org.eclipse.emf.texo.test.model.samples.accounting; import java.io.Serializable; import javax.persistence.Basic; import javax.persistence.Column; import javax.persistence.DiscriminatorColumn; import javax.persistence.Entity; import javax.persistence.Table; 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>Account</b></em>'. <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ @Entity(name = "accounting_Account") @Table(name = "accounting_Account") @DiscriminatorColumn(length = 255) @Converters({ @Converter(converterClass = TexoTestObjectConverter.class, name = "TexoTestObjectConverter"), @Converter(converterClass = TexoTestQNameConverter.class, name = "TexoTestQNameConverter") }) public abstract class Account extends Identifiable implements Serializable { /** * @generated */ private static final long serialVersionUID = 1L; /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ @Basic(optional = false) @Column(name = "name") private String name = null; /** * 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 Account#getName() <em>name</em>}' feature. * * <!-- begin-user-doc --> <!-- end-user-doc --> * * @param newName * the new value of the '{@link Account#getName() name}' feature. * @generated */ public void setName(String newName) { name = newName; } /** * 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 "Account " + " [name: " + getName() + "]" + "{extends: " + super.toString() + "} "; } }