Package org.bedework.calfacade
Class BwCollectionLastmod
java.lang.Object
org.bedework.calfacade.base.DumpEntity<T>
org.bedework.calfacade.base.BwUnversionedDbentity<T1>
org.bedework.calfacade.base.BwLastMod<BwCalendar,BwCollectionLastmod>
org.bedework.calfacade.BwCollectionLastmod
- All Implemented Interfaces:
Serializable,Comparable<BwCollectionLastmod>,org.bedework.util.logging.Logged
Concrete class so we can map this in hibernate
- Version:
- 1.0
- Author:
- Mike Douglass
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bedework.calfacade.base.DumpEntity
DumpEntity.DumpType -
Constructor Summary
ConstructorsConstructorDescriptionNo arg constructor for hibernateBwCollectionLastmod(BwCalendar dbEntity) No date constructorBwCollectionLastmod(BwCalendar dbEntity, String timestamp) Constructor to set last modBwCollectionLastmod(BwCalendar dbEntity, Date dt) Constructor to set last mod -
Method Summary
Modifier and TypeMethodDescriptionclone()Make visibleintcompareTo(BwCollectionLastmod that) getPath()Get the pathvoidsetDbEntity(BwCalendar val) voidSet the pathMethods inherited from class org.bedework.calfacade.base.BwLastMod
getDbEntity, getHref, getId, getSequence, getTagValue, getTagValue, getTimestamp, hashCode, setHref, setId, setSequence, setTimestamp, toStringSegment, unsaved, updateLastmodMethods inherited from class org.bedework.calfacade.base.BwUnversionedDbentity
equals, markUnsavedMethods inherited from class org.bedework.calfacade.base.DumpEntity
dump, dump, getLogger, hasDumpValueMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bedework.util.logging.Logged
audit, debug, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, trace, warn
-
Constructor Details
-
BwCollectionLastmod
public BwCollectionLastmod()No arg constructor for hibernate -
BwCollectionLastmod
No date constructor- Parameters:
dbEntity- collection
-
BwCollectionLastmod
Constructor to set last mod- Parameters:
dbEntity- collectiondt- Date lastmod
-
BwCollectionLastmod
Constructor to set last mod- Parameters:
dbEntity- collectiontimestamp- lastmod
-
-
Method Details
-
setDbEntity
- Overrides:
setDbEntityin classBwLastMod<BwCalendar,BwCollectionLastmod> - Parameters:
val- collection
-
setPath
Set the path- Parameters:
val- String path
-
getPath
Get the path- Returns:
- String path
-
compareTo
- Specified by:
compareToin interfaceComparable<BwCollectionLastmod>- Overrides:
compareToin classBwUnversionedDbentity<BwCollectionLastmod>
-
clone
Description copied from class:BwUnversionedDbentityMake visible- Overrides:
clonein classBwUnversionedDbentity<BwCollectionLastmod>- Returns:
- Object of class T
-