public abstract class IdentifiableValueObject<O extends Identifiable> extends Object implements Identifiable, Serializable
Created by tesarst on 31/05/17.
Modifier | Constructor and Description |
---|---|
protected |
IdentifiableValueObject()
Default empty constructor for bean-style initialization.
|
protected |
IdentifiableValueObject(IdentifiableValueObject<O> vo)
Copy constructor.
|
protected |
IdentifiableValueObject(Long id)
Constructor that sets the common property of all identifiable objects, the ID.
|
protected |
IdentifiableValueObject(O identifiable)
Constructor for a given entity.
|
Modifier and Type | Method and Description |
---|---|
Long |
getId() |
void |
setId(Long id)
Only used by the spring java-beans in jsp files.
|
protected Long id
protected IdentifiableValueObject()
protected IdentifiableValueObject(Long id)
id
- the id of the original object.protected IdentifiableValueObject(O identifiable)
protected IdentifiableValueObject(IdentifiableValueObject<O> vo)
public final Long getId()
getId
in interface Identifiable
public final void setId(Long id)
id
- the id of this object.Copyright © 2005–2023 Pavlidis lab, Michael Smith Laboratories and Department of Psychiatry, University of British Columbia. All rights reserved.