PageRenderTime 9ms CodeModel.GetById 2ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/com/google/appengine/datanucleus/test/EmbeddableJPA.java

http://datanucleus-appengine.googlecode.com/
Java | 47 lines | 20 code | 9 blank | 18 comment | 0 complexity | 4f8f6704e84fa949a668229dde5f42bc MD5 | raw file
 1/**********************************************************************
 2Copyright (c) 2009 Google Inc.
 3
 4Licensed under the Apache License, Version 2.0 (the "License");
 5you may not use this file except in compliance with the License.
 6You may obtain a copy of the License at
 7
 8http://www.apache.org/licenses/LICENSE-2.0
 9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15**********************************************************************/
16package com.google.appengine.datanucleus.test;
17
18import java.util.List;
19
20import javax.persistence.Embeddable;
21
22/**
23 * @author Max Ross <maxr@google.com>
24 */
25@Embeddable
26public class EmbeddableJPA {
27
28  private String embeddedString;
29
30  private List<String> multiVal;
31
32  public String getEmbeddedString() {
33    return embeddedString;
34  }
35
36  public void setEmbeddedString(String embeddedString) {
37    this.embeddedString = embeddedString;
38  }
39
40  public List<String> getMultiVal() {
41    return multiVal;
42  }
43
44  public void setMultiVal(List<String> multiVal) {
45    this.multiVal = multiVal;
46  }
47}