Package de.dlr.proseo.model
Klasse PersistentObject
java.lang.Object
de.dlr.proseo.model.PersistentObject
- Bekannte direkte Unterklassen:
- ApiMetrics,- ClassOutputParameter,- Configuration,- ConfigurationInputFile,- ConfiguredProcessor,- InputFilter,- Job,- JobStep,- Mission,- MonExtService,- MonExtServiceStateOperation,- MonExtServiceStateOperationDay,- MonExtServiceStateOperationMonth,- MonOrderState,- MonProductProduction,- MonService,- MonServiceState,- MonServiceStateOperation,- MonServiceStateOperationDay,- MonServiceStateOperationMonth,- Orbit,- ProcessingFacility,- ProcessingOrder,- ProcessingOrderHistory,- Processor,- ProcessorClass,- Product,- ProductArchive,- ProductClass,- ProductFile,- ProductQuery,- SimplePolicy,- SimpleSelectionRule,- Spacecraft,- Task,- Workflow,- WorkflowOption
Abstract superclass of all persistent classes
- Autor:
- Thomas Bassler
- 
KonstruktorübersichtKonstruktoren
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungbooleanTest equality of persistent objects based on their unique ID.longgetId()Gets the id of the persistent objectintGets the version of the persistent objectinthashCode()voidIncrements the version of the persistent objectvoidsetId(long id) Set the id of the persistent object.
- 
Konstruktordetails- 
PersistentObjectpublic PersistentObject()No-argument constructor that assigns the object id
 
- 
- 
Methodendetails- 
setIdpublic void setId(long id) Set the id of the persistent object.- Parameter:
- id- the id to set
 
- 
getIdpublic long getId()Gets the id of the persistent object- Gibt zurück:
- the object id
 
- 
getVersionpublic int getVersion()Gets the version of the persistent object- Gibt zurück:
- the object version
 
- 
incrementVersionpublic void incrementVersion()Increments the version of the persistent object
- 
hashCodepublic int hashCode()
- 
equalsTest equality of persistent objects based on their unique ID.
 
-