Tabnine Logo
ForeignKey$FKMapKey.getFk
Code IndexAdd Tabnine to your IDE (free)

How to use
getFk
method
in
org.apache.openjpa.jdbc.schema.ForeignKey$FKMapKey

Best Java code snippets using org.apache.openjpa.jdbc.schema.ForeignKey$FKMapKey.getFk (Showing top 8 results out of 315)

origin: org.apache.openjpa/openjpa-all

public int hashCode() {
  return getFk().getIdentifier() != null ? getFk().getIdentifier().hashCode() : getFk().hashCode();
}

origin: org.apache.openjpa/openjpa-jdbc

public int hashCode() {
  return getFk().getIdentifier() != null ? getFk().getIdentifier().hashCode() : getFk().hashCode();
}

origin: org.apache.openejb.patch/openjpa-jdbc

public int hashCode() {
  return getFk().getIdentifier() != null ? getFk().getIdentifier().hashCode() : getFk().hashCode();
}

origin: org.apache.openejb.patch/openjpa-jdbc

  public boolean equals(Object fkObj) {
    if (fkObj == this) {
      return true;
    }
    if (fkObj == null || !(fkObj instanceof FKMapKey)) {
      return false;
    }
    ForeignKey fk = ((FKMapKey)fkObj).getFk();
    if (getFk().getDeleteAction() != fk.getDeleteAction())
      return false;
    if (getFk().isDeferred() != fk.isDeferred())
      return false;
    if (!getFk().getIdentifier().equals(fk.getIdentifier())) {
      return false;
    }
    // Assert PK table name and schema
    if (!getFk().getPrimaryKeySchemaIdentifier().equals(fk.getPrimaryKeySchemaIdentifier()) ||
      !getFk().getPrimaryKeyTableIdentifier().equals(fk.getPrimaryKeyTableIdentifier()) ||
      !getFk().getSchemaIdentifier().equals(fk.getSchemaIdentifier()) ||
      !getFk().getTableIdentifier().equals(fk.getTableIdentifier())) {
      return false;
    }
    return true;
  }
}
origin: org.apache.openejb.patch/openjpa

  public boolean equals(Object fkObj) {
    if (fkObj == this) {
      return true;
    }
    if (fkObj == null || !(fkObj instanceof FKMapKey)) {
      return false;
    }
    ForeignKey fk = ((FKMapKey)fkObj).getFk();
    if (getFk().getDeleteAction() != fk.getDeleteAction())
      return false;
    if (getFk().isDeferred() != fk.isDeferred())
      return false;
    if (!getFk().getIdentifier().equals(fk.getIdentifier())) {
      return false;
    }
    // Assert PK table name and schema
    if (!getFk().getPrimaryKeySchemaIdentifier().equals(fk.getPrimaryKeySchemaIdentifier()) ||
      !getFk().getPrimaryKeyTableIdentifier().equals(fk.getPrimaryKeyTableIdentifier()) ||
      !getFk().getSchemaIdentifier().equals(fk.getSchemaIdentifier()) ||
      !getFk().getTableIdentifier().equals(fk.getTableIdentifier())) {
      return false;
    }
    return true;
  }
}
origin: org.apache.openjpa/openjpa-jdbc

  public boolean equals(Object fkObj) {
    if (fkObj == this) {
      return true;
    }
    if (fkObj == null || !(fkObj instanceof FKMapKey)) {
      return false;
    }
    ForeignKey fk = ((FKMapKey)fkObj).getFk();
    if (getFk().getDeleteAction() != fk.getDeleteAction())
      return false;
    if (getFk().isDeferred() != fk.isDeferred())
      return false;
    if (!getFk().getIdentifier().equals(fk.getIdentifier())) {
      return false;
    }
    // Assert PK table name and schema
    if (!getFk().getPrimaryKeySchemaIdentifier().equals(fk.getPrimaryKeySchemaIdentifier()) ||
      !getFk().getPrimaryKeyTableIdentifier().equals(fk.getPrimaryKeyTableIdentifier()) ||
      !getFk().getSchemaIdentifier().equals(fk.getSchemaIdentifier()) ||
      !getFk().getTableIdentifier().equals(fk.getTableIdentifier())) {
      return false;
    }
    return true;
  }
}
origin: org.apache.openjpa/openjpa-all

  public boolean equals(Object fkObj) {
    if (fkObj == this) {
      return true;
    }
    if (fkObj == null || !(fkObj instanceof FKMapKey)) {
      return false;
    }
    ForeignKey fk = ((FKMapKey)fkObj).getFk();
    if (getFk().getDeleteAction() != fk.getDeleteAction())
      return false;
    if (getFk().isDeferred() != fk.isDeferred())
      return false;
    if (!getFk().getIdentifier().equals(fk.getIdentifier())) {
      return false;
    }
    // Assert PK table name and schema
    if (!getFk().getPrimaryKeySchemaIdentifier().equals(fk.getPrimaryKeySchemaIdentifier()) ||
      !getFk().getPrimaryKeyTableIdentifier().equals(fk.getPrimaryKeyTableIdentifier()) ||
      !getFk().getSchemaIdentifier().equals(fk.getSchemaIdentifier()) ||
      !getFk().getTableIdentifier().equals(fk.getTableIdentifier())) {
      return false;
    }
    return true;
  }
}
origin: org.apache.openejb.patch/openjpa

public int hashCode() {
  return getFk().getIdentifier() != null ? getFk().getIdentifier().hashCode() : getFk().hashCode();
}

org.apache.openjpa.jdbc.schemaForeignKey$FKMapKeygetFk

Popular methods of ForeignKey$FKMapKey

  • <init>

Popular in Java

  • Finding current android device location
  • compareTo (BigDecimal)
  • getSharedPreferences (Context)
  • putExtra (Intent)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Top Sublime Text plugins
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