congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
javax.jdo.annotations
Code IndexAdd Tabnine to your IDE (free)

How to use javax.jdo.annotations

Best Java code snippets using javax.jdo.annotations (Showing top 20 results out of 315)

origin: org.incode.example.document/incode-example-document-dom

/**
 * Polymorphic association to the object providing the paperclipAttachedTo.
 *
 * NB: strictly speaking these should be abstract; this is a workaround (see ISIS-582)
 */
@NotPersistent
public Object getAttachedTo() { return null; }
protected void setAttachedTo(Object object) {}
origin: org.apache.isis.core/isis-core-metamodel

@Column
public int getPrimitiveWithNoAllowsNull() {
  return primitiveWithNoAllowsNull;
}
public void setPrimitiveWithNoAllowsNull(int primitive) {
origin: org.apache.isis.core/isis-core-objectstore-jdo-metamodel

@EmbeddedOnly
public class SimpleObjectWithEmbeddedOnly {

  private Long id;

  @PrimaryKey
  public Long getId() {
    return id;
  }

  public void setId(final Long id) {
    this.id = id;
  }
}
origin: org.apache.isis.core/isis-core-metamodel

@Column(allowsNull="false")
public int getPrimitiveWithAllowsNullFalse() {
  return primitiveWithAllowsNullFalse;
}
public void setPrimitiveWithAllowsNullFalse(int primitive) {
origin: org.incode.module.document/incode-module-document-dom

/**
 * Polymorphic association to the object providing the paperclipAttachedTo.
 *
 * NB: strictly speaking these should be abstract; this is a workaround (see ISIS-582)
 */
@NotPersistent
public Object getAttachedTo() { return null; }
protected void setAttachedTo(Object object) {}
origin: org.apache.isis.objectstore/isis-objectstore-jdo-metamodel

@Column
public int getPrimitiveWithNoAllowsNull() {
  return primitiveWithNoAllowsNull;
}
public void setPrimitiveWithNoAllowsNull(int primitive) {
origin: org.apache.isis.objectstore/isis-objectstore-jdo-metamodel

@Column(allowsNull="false")
public String getReferenceWithAllowsNullFalse() {
  return referenceWithAllowsNullFalse;
}
public void setReferenceWithAllowsNullFalse(String referenceWithAllowsNullFalse) {
origin: org.apache.isis.core/isis-core-objectstore-jdo-metamodel

@Column
public int getPrimitiveWithNoAllowsNull() {
  return primitiveWithNoAllowsNull;
}
public void setPrimitiveWithNoAllowsNull(int primitive) {
origin: org.apache.isis.core/isis-core-objectstore-jdo-metamodel

@Column
public String getReferenceWithNoAllowsNull() {
  return referenceWithNoAllowsNull;
}
public void setReferenceWithNoAllowsNull(String reference) {
origin: org.apache.isis.core/isis-core-metamodel

@Column(allowsNull="true")
public int getPrimitiveWithAllowsNullTrue() {
  return primitiveWithAllowsNullTrue;
}
public void setPrimitiveWithAllowsNullTrue(int primitive) {
origin: org.apache.isis.core/isis-core-plugins-jdo-datanucleus-5

@Column
public int getPrimitiveWithNoAllowsNull() {
  return primitiveWithNoAllowsNull;
}
public void setPrimitiveWithNoAllowsNull(int primitive) {
origin: org.apache.isis.core/isis-core-plugins-jdo-datanucleus-5

@Column
public String getReferenceWithNoAllowsNull() {
  return referenceWithNoAllowsNull;
}
public void setReferenceWithNoAllowsNull(String reference) {
origin: org.apache.isis.core/isis-core-plugins-jdo-datanucleus-5

@Column(allowsNull="true")
public String getReferenceWithAllowsNullTrue() {
  return referenceWithAllowsNullTrue;
}
public void setReferenceWithAllowsNullTrue(String referenceWithAllowsNullTrue) {
origin: org.apache.isis.objectstore/isis-objectstore-jdo-metamodel

@Column
public String getReferenceWithNoAllowsNull() {
  return referenceWithNoAllowsNull;
}
public void setReferenceWithNoAllowsNull(String reference) {
origin: org.apache.isis.objectstore/isis-objectstore-jdo-metamodel

@Column(allowsNull="true")
public String getReferenceWithAllowsNullTrue() {
  return referenceWithAllowsNullTrue;
}
public void setReferenceWithAllowsNullTrue(String referenceWithAllowsNullTrue) {
origin: org.apache.isis.core/isis-core-objectstore-jdo-metamodel

@Column(allowsNull="false")
public String getReferenceWithAllowsNullFalse() {
  return referenceWithAllowsNullFalse;
}
public void setReferenceWithAllowsNullFalse(String referenceWithAllowsNullFalse) {
origin: org.apache.isis.core/isis-core-plugins-jdo-datanucleus-5

@Column(allowsNull="false")
public int getPrimitiveWithAllowsNullFalse() {
  return primitiveWithAllowsNullFalse;
}
public void setPrimitiveWithAllowsNullFalse(int primitive) {
origin: org.apache.isis.core/isis-core-plugins-jdo-datanucleus-5

@Column(allowsNull="true")
public int getPrimitiveWithAllowsNullTrue() {
  return primitiveWithAllowsNullTrue;
}
public void setPrimitiveWithAllowsNullTrue(int primitive) {
origin: org.apache.isis.core/isis-core-plugins-jdo-datanucleus-5

@Column(allowsNull="false")
public String getReferenceWithAllowsNullFalse() {
  return referenceWithAllowsNullFalse;
}
public void setReferenceWithAllowsNullFalse(String referenceWithAllowsNullFalse) {
origin: org.apache.isis.core/isis-core-objectstore-jdo-metamodel

@Column(allowsNull="true")
public int getPrimitiveWithAllowsNullTrue() {
  return primitiveWithAllowsNullTrue;
}
public void setPrimitiveWithAllowsNullTrue(int primitive) {
javax.jdo.annotations

Most used classes

  • PersistenceCapable
  • Persistent
  • PrimaryKey
  • Column
  • NotPersistent
  • Queries,
  • Query,
  • Unique,
  • Version,
  • Extension,
  • Index,
  • Inheritance,
  • Discriminator,
  • EmbeddedOnly,
  • Join,
  • Uniques,
  • Embedded,
  • FetchGroup,
  • FetchPlan
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now