Package org.bedework.calfacade
Class BwEventProperty<T>
java.lang.Object
org.bedework.calfacade.base.DumpEntity<T>
org.bedework.calfacade.base.BwUnversionedDbentity<T>
org.bedework.calfacade.base.BwDbentity<T>
org.bedework.calfacade.base.BwOwnedDbentity<T>
org.bedework.calfacade.base.BwShareableDbentity<T>
org.bedework.calfacade.base.BwShareableContainedDbentity<T>
org.bedework.calfacade.BwEventProperty<T>
- Type Parameters:
T-
- All Implemented Interfaces:
Serializable,Comparable<T>,OwnedEntity,ShareableEntity,org.bedework.util.logging.Logged
- Direct Known Subclasses:
BwCategory,BwContact,BwLocation
Base for those classes that can be a property of an event and are all
treated in the same manner, being Category, Location and Sponsor.
Each has a single field which together with the owner makes a unique key and all operations on those classes are the same.
- Version:
- 1.0
- Author:
- Mike Douglass
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bedework.calfacade.base.DumpEntity
DumpEntity.DumpType -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyTo(BwEventProperty<?> val) Copy this objects fields into the parameterGet the object's collection pathbooleanabstract BwStringgetHref()floatgetScore()abstract StringgetUid()Get the uidinitUid()fill in the uid.voidsetScore(float val) voidSet the uidprotected voidtoStringSegment(org.bedework.util.misc.ToString ts) Add our stuff to the ToString objectMethods inherited from class org.bedework.calfacade.base.BwShareableContainedDbentity
copyTo, setColPath, setColPath, shallowCopyToMethods inherited from class org.bedework.calfacade.base.BwShareableDbentity
copyTo, getAccess, getCreatorEnt, getCreatorHref, setAccess, setCreatorEnt, setCreatorHref, shallowCopyToMethods inherited from class org.bedework.calfacade.base.BwOwnedDbentity
copyTo, getOwnerHref, getPublick, setOwnerHref, setPublick, shallowCopyToMethods inherited from class org.bedework.calfacade.base.BwDbentity
addDeletedEntity, afterDeletion, beforeDeletion, beforeSave, beforeUpdate, getByteSize, getDeletedEntities, getSeq, length, setByteSize, setSeqMethods inherited from class org.bedework.calfacade.base.BwUnversionedDbentity
clone, compareTo, equals, getId, hashCode, markUnsaved, setHref, setId, unsavedMethods 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, warnMethods inherited from interface org.bedework.calfacade.base.OwnedEntity
getOwnerHref, getPublick, setOwnerHref, setPublick
-
Field Details
-
statusDeleted
- See Also:
-
-
Constructor Details
-
BwEventProperty
public BwEventProperty()Constructor
-
-
Method Details
-
getFinderKeyValue
- Returns:
- Finder Key value from this object.
-
getStatus
- Returns:
- String
-
getDeleted
public boolean getDeleted()- Returns:
- String
-
setUid
Set the uid- Parameters:
val- String uid
-
getUid
Get the uid- Returns:
- String uid
-
initUid
fill in the uid.- Returns:
- this object
-
setScore
public void setScore(float val) -
getScore
public float getScore()- Returns:
- score from search
-
getColPath
Description copied from class:BwShareableContainedDbentityGet the object's collection path- Overrides:
getColPathin classBwShareableContainedDbentity<T>- Returns:
- String path
-
getHref
- Overrides:
getHrefin classBwUnversionedDbentity<T>- Returns:
- non null unique href for the entity
-
copyTo
Copy this objects fields into the parameter- Parameters:
val- to copy to
-
toStringSegment
protected void toStringSegment(org.bedework.util.misc.ToString ts) Description copied from class:BwShareableContainedDbentityAdd our stuff to the ToString object- Overrides:
toStringSegmentin classBwShareableContainedDbentity<T>- Parameters:
ts- ToString for result
-