Biblioteca Java - Rev 18
Subversion Repositories:
(root)/Frameworks and Technologies/Neo4J Samples/Neo4JTutorial/src/main/java/com/linkscreens/graphsin/model/MediaItem.java @ 22
package com.linkscreens.graphsin.model;
public class MediaItem {
String id;
String description;
public MediaItem(String id, String description) {
super();
this.id = id;
this.description = description;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
@Override
public String toString() {
return "MediaItem ["+id+":"+description+"]";
}
}
public class MediaItem {
String id;
String description;
public MediaItem(String id, String description) {
super();
this.id = id;
this.description = description;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
@Override
public String toString() {
return "MediaItem ["+id+":"+description+"]";
}
}