001: /**
002: * EasyBeans
003: * Copyright (C) 2006 Bull S.A.S.
004: * Contact: easybeans@ow2.org
005: *
006: * This library is free software; you can redistribute it and/or
007: * modify it under the terms of the GNU Lesser General Public
008: * License as published by the Free Software Foundation; either
009: * version 2.1 of the License, or any later version.
010: *
011: * This library is distributed in the hope that it will be useful,
012: * but WITHOUT ANY WARRANTY; without even the implied warranty of
013: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
014: * Lesser General Public License for more details.
015: *
016: * You should have received a copy of the GNU Lesser General Public
017: * License along with this library; if not, write to the Free Software
018: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
019: * USA
020: *
021: * --------------------------------------------------------------------------
022: * $Id: BankingData.java 1970 2007-10-16 11:49:25Z benoitf $
023: * --------------------------------------------------------------------------
024: */package org.ow2.easybeans.tests.common.ejbs.entity.entitytest00;
025:
026: import javax.persistence.Id;
027:
028: /**
029: * Contains the technician account data.
030: * @author Gisele Pinheiro Souza
031: * @author Eduardo Studzinski Estima de Castro
032: *
033: */
034: public class BankingData {
035:
036: /**
037: * The technician identifier.
038: */
039: private Long id;
040:
041: /**
042: * The account number.
043: */
044: private String accountNumber;
045:
046: /**
047: * The bank name.
048: */
049: private String bankName;
050:
051: /**
052: * Returns the technician account number.
053: * @return the account number.
054: */
055: public String getAccountNumber() {
056: return accountNumber;
057: }
058:
059: /**
060: * Sets the technician account number.
061: * @param accountNumber th account number.
062: */
063: public void setAccountNumber(final String accountNumber) {
064: this .accountNumber = accountNumber;
065: }
066:
067: /**
068: * Retuns the bank name of the technician.
069: * @return the bank name.
070: */
071: public String getBankName() {
072: return bankName;
073: }
074:
075: /**
076: * Sets the bank name of the technician.
077: * @param bankName the bank name.
078: */
079: public void setBankName(final String bankName) {
080: this .bankName = bankName;
081: }
082:
083: /**
084: * Returns the technician identifier in the database.
085: * @return the identifier.
086: */
087: @Id
088: public Long getId() {
089: return id;
090: }
091:
092: /**
093: * Sets the technician identifier in the database.
094: * @param id the identifier.
095: */
096: public void setId(final Long id) {
097: this.id = id;
098: }
099:
100: }
|