Package ubic.gemma.model.common
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,- AnnotationValueObject,- AuditEventValueObject,- BibliographicReferenceValueObject,- BioAssayDimensionValueObject,- BioAssayValueObject,- BioMaterialValueObject,- BioSequenceValueObject,- BlacklistedValueObject,- BlatResultValueObject,- CharacteristicValueObject,- CompositeSequenceValueObject,- ContrastResultValueObject,- DatabaseEntryValueObject,- DataVectorValueObject,- EvidenceValueObject,- ExperimentalFactorValueObject,- ExpressionExperimentSetValueObject,- ExternalDatabaseValueObject,- GeeqValueObject,- GeneProductValueObject,- GeneSetValueObject,- GeneValueObject,- MeasurementValueObject,- PhysicalLocationValueObject,- QuantitationTypeValueObject,- StatementValueObject,- TaxonValueObject
 
 @ValueObject public abstract class IdentifiableValueObject<O extends Identifiable> extends Object implements Identifiable, Serializable Base implementations for value objects representing persistent objectsCreated by tesarst on 31/05/17. - Author:
- tesarst, poirigui
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedIdentifiableValueObject()Default empty constructor for bean-style initialization.protectedIdentifiableValueObject(Long id)Constructor that sets the common property of all identifiable objects, the ID.protectedIdentifiableValueObject(O identifiable)Constructor for a given entity.protectedIdentifiableValueObject(IdentifiableValueObject<O> vo)Copy constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetId()voidsetId(Long id)Only used by the spring java-beans in jsp files.StringtoString()
 
- 
- 
- 
Field Detail- 
idprotected Long id 
 
- 
 - 
Constructor Detail- 
IdentifiableValueObjectprotected IdentifiableValueObject() Default empty constructor for bean-style initialization.
 - 
IdentifiableValueObjectprotected IdentifiableValueObject(Long id) Constructor that sets the common property of all identifiable objects, the ID.- Parameters:
- id- the id of the original object.
 
 - 
IdentifiableValueObjectprotected IdentifiableValueObject(O identifiable) Constructor for a given entity.
 - 
IdentifiableValueObjectprotected IdentifiableValueObject(IdentifiableValueObject<O> vo) Copy constructor.
 
- 
 - 
Method Detail- 
getIdpublic final Long getId() - Specified by:
- getIdin interface- Identifiable
 
 - 
setIdpublic final void setId(Long id) 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.
 
 
- 
 
-