View Javadoc

1   package org.kuali.ole.deliver.circulationdesk.bo;
2   
3   import org.kuali.ole.location.bo.OleLocation;
4   import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
5   
6   import java.security.PrivateKey;
7   
8   /**
9    * Created with IntelliJ IDEA.
10   * User: ?
11   * Date: 12/17/12
12   * Time: 4:53 PM
13   * To change this template use File | Settings | File Templates.
14   */
15  public class OleCirculationDeskLocation  extends PersistableBusinessObjectBase {
16      private String circulationDeskLocationId;
17      private String circulationDeskId;
18      private String circulationDeskLocation;
19      private String circulationLocationCode;
20      private OleCirculationDesk oleCirculationDesk = new OleCirculationDesk();
21      private OleLocation location = new OleLocation();
22  
23      public String getCirculationDeskLocationId() {
24          return circulationDeskLocationId;
25      }
26  
27      public void setCirculationDeskLocationId(String circulationDeskLocationId) {
28          this.circulationDeskLocationId = circulationDeskLocationId;
29      }
30  
31      public String getCirculationDeskId() {
32          return circulationDeskId;
33      }
34  
35      public void setCirculationDeskId(String circulationDeskId) {
36          this.circulationDeskId = circulationDeskId;
37      }
38  
39      public String getCirculationDeskLocation() {
40          return circulationDeskLocation;
41      }
42  
43      public void setCirculationDeskLocation(String circulationDeskLocation) {
44          this.circulationDeskLocation = circulationDeskLocation;
45      }
46  
47      public OleCirculationDesk getOleCirculationDesk() {
48          return oleCirculationDesk;
49      }
50  
51      public void setOleCirculationDesk(OleCirculationDesk oleCirculationDesk) {
52          this.oleCirculationDesk = oleCirculationDesk;
53      }
54  
55      public OleLocation getLocation() {
56          return location;
57      }
58  
59      public void setLocation(OleLocation location) {
60          this.location = location;
61      }
62  
63      public String getCirculationLocationCode() {
64         if((circulationLocationCode==null && location!=null) ){
65             return location.getLocationCode();
66         }
67          return circulationLocationCode;
68      }
69  
70      public void setCirculationLocationCode(String circulationLocationCode) {
71          this.circulationLocationCode = circulationLocationCode;
72      }
73  }