BAEL-1216: Introduction to the OrientDB Java APIs (#3300)

* BAEL-1216: Introduction to the Oriented Java APIs

* OrientDB Java Graph and Document APIs

* some cleans

* BAEL-1216: Object API + code formating

* Prevent the build to failed

* Improve code and readme

* Update Readme

* Simulate failed test in jenkins pipeline
This commit is contained in:
Dassi orleando
2017-12-27 06:36:33 +01:00
committed by maibin
parent 546cc0742e
commit e5559db619
13 changed files with 755 additions and 2 deletions
@@ -0,0 +1,54 @@
package com.baeldung.orientdb;
import javax.persistence.Id;
public class Author {
@Id
private Object id;
private String firstName;
private String lastName;
private int level;
public Author() {
}
public Author(String firstName, String lastName, int level) {
this.firstName = firstName;
this.lastName = lastName;
this.level = level;
}
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public int getLevel() {
return level;
}
public void setLevel(int level) {
this.level = level;
}
@java.lang.Override
public java.lang.String toString() {
return "Author{" +
"firstName='" + firstName + '\'' +
", lastName='" + lastName + '\'' +
", level=" + level +
'}';
}
}