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