Package org.duracloud.snapshot.db.model
Class BaseEntity
- java.lang.Object
-
- org.duracloud.snapshot.db.model.BaseEntity
-
- All Implemented Interfaces:
Identifiable
- Direct Known Subclasses:
Restoration,Snapshot,SnapshotContentItem,SnapshotHistory
@MappedSuperclass public abstract class BaseEntity extends Object implements Identifiable
- Author:
- Daniel Bernstein Date: Jul 21, 2014
-
-
Constructor Summary
Constructors Constructor Description BaseEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)LonggetId()DategetModified()inthashCode()voidsetId(Long id)voidsetModified(Date modified)StringtoString()
-
-
-
Field Detail
-
id
protected Long id
-
-
Method Detail
-
getId
public Long getId()
- Specified by:
getIdin interfaceIdentifiable
-
setId
public void setId(Long id)
- Specified by:
setIdin interfaceIdentifiable
-
getModified
public Date getModified()
-
setModified
public void setModified(Date modified)
-
-