View Javadoc

1   /*
2    * Copyright 2007 The International Moth Class Association (IMCA)
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package net.sf.imca.model;
17  
18  /*
19   * Copyright 2007 The International Moth Class Association (IMCA)
20   *
21   * Licensed under the Apache License, Version 2.0 (the "License");
22   * you may not use this file except in compliance with the License.
23   * You may obtain a copy of the License at
24   *
25   *     http://www.apache.org/licenses/LICENSE-2.0
26   *
27   * Unless required by applicable law or agreed to in writing, software
28   * distributed under the License is distributed on an "AS IS" BASIS,
29   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
30   * See the License for the specific language governing permissions and
31   * limitations under the License.
32   */
33  
34  import net.sf.imca.model.entities.FeeEntity;
35  
36  /**
37   * Business Object representing the properties, persistence and functionality of
38   * the IMCA domain object.
39   * 
40   * @author dougculnane
41   */
42  public class FeeBO {
43  
44      /**
45       * Entity for persisting this Business Object.
46       */
47      private FeeEntity entity;
48  
49      /**
50       * Get the persistence entity.
51       *
52       * @return The persistence entity for this Business Object.
53       */
54      public FeeEntity getEntity() {
55          return entity;
56      }
57  
58      /**
59       * Set the persistence entity.
60       *
61       * @param entity The new persistence entity for this Business Object.
62       */
63      public void setEntity(FeeEntity entity) {
64          this.entity = entity;
65      }
66  
67  }