1 /**
2 * Copyright 2005-2015 The Kuali Foundation
3 *
4 * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
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 org.kuali.rice.kns.bo;
17
18 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
19
20 import javax.persistence.Column;
21 import javax.persistence.Embeddable;
22 import javax.persistence.MappedSuperclass;
23
24 /**
25 * @deprecated use BulkUpdate instead
26 */
27 @Deprecated
28 @MappedSuperclass
29 public abstract class GlobalBusinessObjectDetailBase extends PersistableBusinessObjectBase implements GlobalBusinessObjectDetail {
30
31 /**
32 * EclipseLink static weaving does not weave MappedSuperclass unless an Entity or Embedded is
33 * weaved which uses it, hence this class.
34 */
35 @Embeddable
36 private static final class WeaveMe extends GlobalBusinessObjectDetailBase {}
37
38 @Column(name = "DOC_HDR_ID", length = 14)
39 private String documentNumber;
40
41 @Override
42 public String getDocumentNumber() {
43 return documentNumber;
44 }
45
46 @Override
47 public void setDocumentNumber(String documentNumber) {
48 this.documentNumber = documentNumber;
49 }
50 }