Tabnine Logo
IntactObjectImpl
Code IndexAdd Tabnine to your IDE (free)

How to use
IntactObjectImpl
in
uk.ac.ebi.intact.model

Best Java code snippets using uk.ac.ebi.intact.model.IntactObjectImpl (Showing top 10 results out of 315)

origin: uk.ac.ebi.intact.core/intact-core

/**
 * Makes a clone of this intact object.
 *
 * @return a cloned version of the current instance.
 *
 * @throws CloneNotSupportedException to indicate that an instance cannot be cloned.
 */
@Override
public Object clone() throws CloneNotSupportedException {
  IntactObjectImpl copy = ( IntactObjectImpl ) super.clone();
  // Reset the AC.
  copy.setAc( null );
  // Sets the dates to the current date.
  copy.setCreated( null );
  copy.setUpdated( null );
  return copy;
}
origin: uk.ac.ebi.intact.core/intact-core

@Override
public int hashCode() {
  int result = super.hashCode();
  result = 31 * result + (key != null ? key.hashCode() : 0);
  return result;
}
origin: uk.ac.ebi.intact.core/intact-core

@Override
public boolean equals(Object o) {
  if (this == o) return true;
  if (o == null || getClass() != o.getClass()) return false;
  if (!super.equals(o)) return false;
  Application that = (Application) o;
  if (key != null ? !key.equals(that.key) : that.key != null) return false;
  return true;
}
origin: uk.ac.ebi.intact.core/intact-core

@Override
public boolean equals(Object o) {
  if (this == o) return true;
  if (o == null || getClass() != o.getClass()) return false;
  IntactObjectImpl that = (IntactObjectImpl) o;
  if (ac != null && that.getAc() != null) {
     return ac.equals(that.getAc());
  }
  return true;
}
origin: uk.ac.ebi.intact/intact-core

  @Override
  public String toString() {
    return super.toString() + "; owner=" + owner.getAc();
  }
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

@Override
public boolean equals(Object o) {
  if (this == o) return true;
  if (o == null || getClass() != o.getClass()) return false;
  if (!super.equals(o)) return false;
  Application that = (Application) o;
  if (key != null ? !key.equals(that.key) : that.key != null) return false;
  return true;
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

@Override
public boolean equals(Object o) {
  if (this == o) return true;
  if (o == null || getClass() != o.getClass()) return false;
  IntactObjectImpl that = (IntactObjectImpl) o;
  if (ac != null && that.getAc() != null) {
     return ac.equals(that.getAc());
  }
  return true;
}
origin: uk.ac.ebi.intact/intact-core

/**
 * Makes a clone of this intact object.
 *
 * @return a cloned version of the current instance.
 *
 * @throws CloneNotSupportedException to indicate that an instance cannot be cloned.
 */
@Override
public Object clone() throws CloneNotSupportedException {
  IntactObjectImpl copy = ( IntactObjectImpl ) super.clone();
  // Reset the AC.
  copy.setAc( null );
  // Sets the dates to the current date.
  copy.setCreated( null );
  copy.setUpdated( null );
  return copy;
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

@Override
public int hashCode() {
  int result = super.hashCode();
  result = 31 * result + (key != null ? key.hashCode() : 0);
  return result;
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

/**
 * Makes a clone of this intact object.
 *
 * @return a cloned version of the current instance.
 *
 * @throws CloneNotSupportedException to indicate that an instance cannot be cloned.
 */
@Override
public Object clone() throws CloneNotSupportedException {
  IntactObjectImpl copy = ( IntactObjectImpl ) super.clone();
  // Reset the AC.
  copy.setAc( null );
  // Sets the dates to the current date.
  copy.setCreated( null );
  copy.setUpdated( null );
  return copy;
}
uk.ac.ebi.intact.modelIntactObjectImpl

Javadoc

This is the top level class for all intact model object.

Most used methods

  • setAc
    This method should not be used by applications, as the AC is a primary key which is auto-generated.
  • setCreated
  • setUpdated
  • equals
  • getAc
  • hashCode
  • toString

Popular in Java

  • Running tasks concurrently on multiple threads
  • notifyDataSetChanged (ArrayAdapter)
  • getResourceAsStream (ClassLoader)
  • compareTo (BigDecimal)
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • From CI to AI: The AI layer in your organization
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