Klasse PersistentObject

java.lang.Object
de.dlr.proseo.model.PersistentObject
Bekannte direkte Unterklassen:
ClassOutputParameter, Configuration, ConfigurationInputFile, ConfiguredProcessor, InputFilter, Job, JobStep, Mission, MonExtService, MonExtServiceStateOperation, MonExtServiceStateOperationDay, MonExtServiceStateOperationMonth, MonOrderState, MonProductProduction, MonService, MonServiceState, MonServiceStateOperation, MonServiceStateOperationDay, MonServiceStateOperationMonth, Orbit, ProcessingFacility, ProcessingOrder, Processor, ProcessorClass, Product, ProductArchive, ProductClass, ProductFile, ProductQuery, SimplePolicy, SimpleSelectionRule, Spacecraft, Task, Workflow, WorkflowOption

@MappedSuperclass public abstract class PersistentObject extends Object
Abstract superclass of all persistent classes
Autor:
Thomas Bassler
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    No-argument constructor that assigns the object id
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    Test equality of persistent objects based on their unique ID.
    long
    Gets the id of the persistent object
    int
    Gets the version of the persistent object
    int
     
    void
    Increments the version of the persistent object
    void
    setId(long id)
    Set the id of the persistent object.

    Von Klasse geerbte Methoden java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • PersistentObject

      public PersistentObject()
      No-argument constructor that assigns the object id
  • Methodendetails

    • setId

      public void setId(long id)
      Set the id of the persistent object.
      Parameter:
      id - the id to set
    • getId

      public long getId()
      Gets the id of the persistent object
      Gibt zurück:
      the object id
    • getVersion

      public int getVersion()
      Gets the version of the persistent object
      Gibt zurück:
      the object version
    • incrementVersion

      public void incrementVersion()
      Increments the version of the persistent object
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object obj)
      Test equality of persistent objects based on their unique ID.
      Setzt außer Kraft:
      equals in Klasse Object
      Parameter:
      obj - the object to compare this object to
      Gibt zurück:
      true, if obj is a persistent object and has the same ID, false otherwise
      Siehe auch: