PageRenderTime 39ms CodeModel.GetById 32ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://datanucleus-appengine.googlecode.com/
Java | 48 lines | 21 code | 9 blank | 18 comment | 0 complexity | 3d0df8df0362b62e78311df9a7376203 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 javax.jdo.annotations.EmbeddedOnly;
19import javax.jdo.annotations.PersistenceCapable;
20
21
22/**
23 * @author Max Ross <maxr@google.com>
24 */
25@PersistenceCapable(detachable="true")
26@EmbeddedOnly
27public class Name {
28
29  private String first;
30
31  private String last;
32
33  public String getFirst() {
34    return first;
35  }
36
37  public void setFirst(String first) {
38    this.first = first;
39  }
40
41  public String getLast() {
42    return last;
43  }
44
45  public void setLast(String last) {
46    this.last = last;
47  }
48}