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: TechnicianDetail.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: * Details about the technician.
030: * @author Gisele Pinheiro Souza
031: * @author Eduardo Studzinski Estima de Castro
032: *
033: */
034: public class TechnicianDetail {
035:
036: /**
037: * The technician id.
038: */
039: private Long id;
040:
041: /**
042: * The work area.
043: */
044: private String area;
045:
046: /**
047: * The years of experience.
048: */
049: private int yearExperience;
050:
051: /**
052: * Returns the work area.
053: * @return the area.
054: */
055: public String getArea() {
056: return area;
057: }
058:
059: /**
060: * Sets the work area.
061: * @param area the area.
062: */
063: public void setArea(final String area) {
064: this .area = area;
065: }
066:
067: /**
068: * Returns the years of experience.
069: * @return the years.
070: */
071: public int getYearExperience() {
072: return yearExperience;
073: }
074:
075: /**
076: * Sets the years of experience.
077: * @param yearExperience the years.
078: */
079: public void setYearExperience(final int yearExperience) {
080: this .yearExperience = yearExperience;
081: }
082:
083: /**
084: * The technician identifier.
085: * @return the identifier.
086: */
087: @Id
088: public Long getId() {
089: return id;
090: }
091:
092: /**
093: * Sets the technician identifier.
094: * @param personID the identifier.
095: */
096: public void setId(final Long personID) {
097: this.id = personID;
098: }
099:
100: }
|