Codota Logo
org.greenrobot.greendao.annotation
Code IndexAdd Codota to your IDE (free)

How to use org.greenrobot.greendao.annotation

Best Java code snippets using org.greenrobot.greendao.annotation (Showing top 20 results out of 378)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: greenrobot/greenDAO

@Generated(hash = 1686394253)
public Note(Long id, @NotNull String text, String comment, java.util.Date date, NoteType type) {
  this.id = id;
  this.text = text;
  this.comment = comment;
  this.date = date;
  this.type = type;
}
origin: greenrobot/greenDAO

@Generated(hash = 767587610)
public Order(Long id, java.util.Date date, long customerId) {
  this.id = id;
  this.date = date;
  this.customerId = customerId;
}
origin: greenrobot/greenDAO

/** Not-null value; ensure this value is available before it is saved to the database. */
public void setText(@NotNull String text) {
  this.text = text;
}
origin: greenrobot/greenDAO

@Generated(hash = 1686394253)
public Note(Long id, @NotNull String text, String comment, java.util.Date date, NoteType type) {
  this.id = id;
  this.text = text;
  this.comment = comment;
  this.date = date;
  this.type = type;
}
origin: greenrobot/greenDAO

/** Resets a to-many relationship, making the next get call to query for a fresh result. */
@Generated(hash = 1446109810)
public synchronized void resetOrders() {
  orders = null;
}
origin: greenrobot/greenDAO

@NotNull
public String getText() {
  return text;
}
origin: greenrobot/greenDAO

@Generated(hash = 969486800)
public Customer(Long id, @NotNull String name) {
  this.id = id;
  this.name = name;
}
origin: greenrobot/greenDAO

@Generated(hash = 582873426)
public TypesInInnerClass(Long id, TypesInInnerClass.MyInnerType type) {
  this.id = id;
  this.type = type;
}
origin: greenrobot/greenDAO

@NotNull
public String getText() {
  return text;
}
origin: greenrobot/greenDAO

@Generated(hash = 1109392169)
public NotNullThing(Long id, boolean nullableBoolean, int nullableInteger,
          Boolean nullableWrappedBoolean, Integer nullableWrappedInteger,
          boolean notNullBoolean, int notNullInteger,
          @NotNull Boolean notNullWrappedBoolean,
          @NotNull Integer notNullWrappedInteger) {
  this.id = id;
  this.nullableBoolean = nullableBoolean;
  this.nullableInteger = nullableInteger;
  this.nullableWrappedBoolean = nullableWrappedBoolean;
  this.nullableWrappedInteger = nullableWrappedInteger;
  this.notNullBoolean = notNullBoolean;
  this.notNullInteger = notNullInteger;
  this.notNullWrappedBoolean = notNullWrappedBoolean;
  this.notNullWrappedInteger = notNullWrappedInteger;
}
origin: greenrobot/greenDAO

@Generated(hash = 521031743)
public NotNullThing() {
}
origin: greenrobot/greenDAO

@NotNull
public String getName() {
  return name;
}
origin: greenrobot/greenDAO

/** called by internal mechanisms, do not call yourself. */
@Generated(hash = 625323961)
public void setCustomer(@NotNull Customer customer) {
  if (customer == null) {
    throw new DaoException(
        "To-one property 'customerId' has not-null constraint; cannot set to-one to null");
  }
  synchronized (this) {
    this.customer = customer;
    customerId = customer.getId();
    customer__resolvedKey = customerId;
  }
}
origin: greenrobot/greenDAO

@Generated(hash = 1105174599)
public Order() {
}
origin: greenrobot/greenDAO

/** Not-null value; ensure this value is available before it is saved to the database. */
public void setText(@NotNull String text) {
  this.text = text;
}
origin: greenrobot/greenDAO

@Generated(hash = 1754325029)
public TypesInInnerClass() {
}
origin: greenrobot/greenDAO

/** Not-null value; ensure this value is available before it is saved to the database. */
public void setName(@NotNull String name) {
  this.name = name;
}
origin: greenrobot/greenDAO

@Generated(hash = 1272611929)
public Note() {
}
origin: greenrobot/greenDAO

@Generated(hash = 60841032)
public Customer() {
}
origin: greenrobot/greenDAO

@Generated(hash = 1272611929)
public Note() {
}
org.greenrobot.greendao.annotation

Most used classes

  • Entity
  • Generated
  • Id
  • NotNull
  • ToMany
  • Unique,
  • Transient,
  • Property,
  • Convert,
  • ToOne,
  • JoinEntity,
  • OrderBy,
  • Experimental,
  • Internal,
  • JoinProperty,
  • Keep
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now