View Javadoc

1   /*
2    * Copyright 2009 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 1.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/ecl1.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.student.core.document.dto;
17  
18  import java.io.Serializable;
19  import java.util.ArrayList;
20  import java.util.Date;
21  import java.util.HashMap;
22  import java.util.List;
23  import java.util.Map;
24  
25  import javax.xml.bind.annotation.XmlAccessType;
26  import javax.xml.bind.annotation.XmlAccessorType;
27  import javax.xml.bind.annotation.XmlAttribute;
28  import javax.xml.bind.annotation.XmlElement;
29  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
30  
31  import org.kuali.student.common.dto.MetaInfo;
32  import org.kuali.student.common.dto.RichTextInfo;
33  import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter;
34  
35  /**
36   * The encoded document. The expectation is that this could be a base64 encoding.
37   *
38   * @Author KSContractMojo
39   * @Author tom
40   * @Since Wed Aug 18 12:10:39 EDT 2010
41   * @See <a href="https://test.kuali.org/confluence/display/KULSTU/documentBinaryInfo+Structure">DocumentBinaryInfo</>
42   *
43   */
44  @XmlAccessorType(XmlAccessType.FIELD)
45  public class DocumentBinaryInfo implements Serializable {
46  
47      private static final long serialVersionUID = 1L;
48  
49      @XmlElement
50      private String binary;
51  
52      /**
53       * Encoded document
54       */
55      public String getBinary() {
56          return binary;
57      }
58  
59      public void setBinary(String binary) {
60          this.binary = binary;
61      }
62  }