package com.orgzly.android.ui;
/**
* Selected target note.
* Used when pasting or creating new notes.
*/
public class NotePlace {
private long bookId;
private long noteId;
private Place place;
public NotePlace(long bookId) {
this.bookId = bookId;
place = Place.UNDEFINED;
}
public NotePlace(long bookId, long noteId, Place place) {
this.bookId = bookId;
this.noteId = noteId;
this.place = place;
}
public long getBookId() {
return bookId;
}
public long getNoteId() {
return noteId;
}
public Place getPlace() {
return place;
}
public String toString() {
return "Book#" + bookId + " Note#" + noteId + " Place#" + place;
}
}