Biblioteca Java - Blame information for rev 18
Subversion Repositories:
(root)/Frameworks and Technologies/Neo4J Samples/Neo4JTutorial/src/main/java/com/linkscreens/graphsin/model/MediaItem.java
Rev | Author | Line No. | Line |
---|---|---|---|
18 | mihai | 1 | package com.linkscreens.graphsin.model; |
2 | |||
3 | public class MediaItem { | ||
4 | String id; | ||
5 | String description; | ||
6 | |||
7 | public MediaItem(String id, String description) { | ||
8 | super(); | ||
9 | this.id = id; | ||
10 | this.description = description; | ||
11 | } | ||
12 | |||
13 | public String getId() { | ||
14 | return id; | ||
15 | } | ||
16 | |||
17 | public void setId(String id) { | ||
18 | this.id = id; | ||
19 | } | ||
20 | |||
21 | public String getDescription() { | ||
22 | return description; | ||
23 | } | ||
24 | |||
25 | public void setDescription(String description) { | ||
26 | this.description = description; | ||
27 | } | ||
28 | |||
29 | @Override | ||
30 | public String toString() { | ||
31 | return "MediaItem ["+id+":"+description+"]"; | ||
32 | } | ||
33 | |||
34 | } |