PageRenderTime 24ms CodeModel.GetById 15ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/src/main/java/com/google/ie/business/domain/IdeaVote.java

http://thoughtsite.googlecode.com/
Java | 47 lines | 17 code | 9 blank | 21 comment | 0 complexity | c5326ad20ab1ee275383240c08ec49e7 MD5 | raw file
 1/* Copyright 2010 Google Inc.
 2 * 
 3 * Licensed under the Apache License, Version 2.0 (the "License");
 4 * you may not use this file except in compliance with the License.
 5 * You may obtain a copy of the License at
 6 * 
 7 *      http://www.apache.org/licenses/LICENSE-2.0
 8 * 
 9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS.
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License
14 */
15
16package com.google.ie.business.domain;
17
18import java.io.Serializable;
19
20import javax.jdo.annotations.IdentityType;
21import javax.jdo.annotations.PersistenceCapable;
22import javax.jdo.annotations.Persistent;
23
24@PersistenceCapable(identityType = IdentityType.APPLICATION)
25public class IdeaVote extends Vote implements Serializable {
26
27    /** A unique identifier for the class */
28    private static final long serialVersionUID = 5469993831097065974L;
29    @Persistent
30    private String ideaKey;
31
32    /**
33     * @return the ideaKey
34     */
35    public String getIdeaKey() {
36        return ideaKey;
37    }
38
39    /**
40     * @param ideaKey the ideaKey to set
41     */
42    public void setIdeaKey(String ideaKey) {
43        this.ideaKey = ideaKey;
44    }
45
46}
47