This project has retired. For details please refer to its Attic page.
RenditionInfoImpl xref

1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership.  The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License.  You may obtain a copy of the License at
9    *
10   * http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing,
13   * software distributed under the License is distributed on an
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   * KIND, either express or implied.  See the License for the
16   * specific language governing permissions and limitations
17   * under the License.
18   */
19  package org.apache.chemistry.opencmis.commons.impl.server;
20  
21  import java.math.BigInteger;
22  
23  import org.apache.chemistry.opencmis.commons.server.RenditionInfo;
24  
25  /**
26   * Implementation of the {@link RenditionInfo} interface.
27   */
28  public class RenditionInfoImpl implements RenditionInfo {
29  
30      private String id;
31      private String contentType;
32      private String kind;
33      private String title;
34      private BigInteger length;
35  
36      public String getId() {
37          return id;
38      }
39  
40      public void setId(String id) {
41          this.id = id;
42      }
43  
44      public String getContenType() {
45          return contentType;
46      }
47  
48      public void setContentType(String contentType) {
49          this.contentType = contentType;
50      }
51  
52      public String getKind() {
53          return kind;
54      }
55  
56      public void setKind(String kind) {
57          this.kind = kind;
58      }
59  
60      public String getTitle() {
61          return title;
62      }
63  
64      public void setTitle(String title) {
65          this.title = title;
66      }
67  
68      public BigInteger getLength() {
69          return length;
70      }
71  
72      public void setLength(BigInteger length) {
73          this.length = length;
74      }
75  }