Class IdentifiableValueObject<O extends Identifiable>
java.lang.Object
ubic.gemma.model.common.IdentifiableValueObject<O>
- All Implemented Interfaces:
Serializable, Identifiable
- Direct Known Subclasses:
AbstractCuratableValueObject, AbstractFactorValueValueObject, AnalysisResultSetValueObject, AnalysisResultValueObject, AnalysisValueObject, AnnotationSetSummaryValueObject, AnnotationValueObject, AuditEventValueObject, BibliographicReferenceValueObject, BioAssayDimensionValueObject, BioAssayValueObject, BioMaterialValueObject, BioSequenceValueObject, BlacklistedValueObject, BlatResultValueObject, CellLevelCharacteristicsValueObject, CharacteristicValueObject, CompositeSequenceValueObject, ContrastResultValueObject, CurationDetailsValueObject, DatabaseEntryValueObject, DataVectorValueObject, ExperimentalDesignValueObject, ExperimentalFactorValueObject, ExpressionExperimentSetValueObject, ExpressionExperimentSubsetValueObject, ExternalDatabaseValueObject, GeeqValueObject, GeneProductValueObject, GeneSetValueObject, GeneValueObject, MeasurementValueObject, PhysicalLocationValueObject, ProtocolValueObject, QuantitationTypeValueObject, SingleCellDimensionValueObject, StatementValueObject, TaxonValueObject
@ValueObject
public abstract class IdentifiableValueObject<O extends Identifiable>
extends Object
implements Identifiable, Serializable
Base implementations for value objects representing persistent objects
Created by tesarst on 31/05/17.
- Author:
- tesarst, poirigui
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault empty constructor for bean-style initialization.protectedConstructor that sets the common property of all identifiable objects, the ID.protectedIdentifiableValueObject(O identifiable) Constructor for a given entity.protectedCopy constructor. -
Method Summary
-
Field Details
-
id
-
-
Constructor Details
-
IdentifiableValueObject
protected IdentifiableValueObject()Default empty constructor for bean-style initialization. -
IdentifiableValueObject
Constructor that sets the common property of all identifiable objects, the ID.- Parameters:
id- the id of the original object.
-
IdentifiableValueObject
Constructor for a given entity. -
IdentifiableValueObject
Copy constructor.
-
-
Method Details
-
getId
Description copied from interface:IdentifiableObtain the identifier of the object.- Specified by:
getIdin interfaceIdentifiable
-
setId
Only used by the spring java-beans in jsp files. Should be called immediately after the no-arg constructor.- Parameters:
id- the id of this object.
-
toString
-
equals
-
canEqual
-
hashCode
-