Package org.bedework.calfacade
Class BwOrganizer
- All Implemented Interfaces:
Serializable,Comparable<BwOrganizer>,Differable<BwOrganizer>,SizedEntity,org.bedework.util.logging.Logged
public class BwOrganizer
extends DumpEntity<BwOrganizer>
implements Comparable<BwOrganizer>, SizedEntity, Differable<BwOrganizer>, Serializable
Represent an organizer
- Author:
- Mike Douglass douglm@bedework.edu
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bedework.calfacade.base.DumpEntity
DumpEntity.DumpType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()intcompareTo(BwOrganizer that) booleandiffersFrom(BwOrganizer val) Return true if the entity differs in any way.booleangetCn()Get the cngetDir()Get the dirGet the languageGet the organizerUriGet the schedule statusGet the sentByintgetSize()Size to use for quotas.inthashCode()voidSet the cnvoidSet the dir (directory url for lookup)voidsetDtstamp(String val) voidsetLanguage(String val) Set the languagevoidsetOrganizerUri(String val) Set the organizerUrivoidsetScheduleStatus(String val) Set the schedule statusvoidSet the sentBytoString()booleanupdate(BwOrganizer from) Figure out what's different and update it.Methods inherited from class org.bedework.calfacade.base.DumpEntity
dump, dump, getLogger, hasDumpValueMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, 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
-
BwOrganizer
public BwOrganizer()Constructor
-
-
Method Details
-
setCn
Set the cn- Parameters:
val- String cn
-
getCn
Get the cn- Returns:
- String cn
-
setDir
Set the dir (directory url for lookup)- Parameters:
val- String dir
-
getDir
Get the dir- Returns:
- String dir
-
setLanguage
Set the language- Parameters:
val- String language
-
getLanguage
Get the language- Returns:
- String language
-
setSentBy
Set the sentBy- Parameters:
val- String sentBy
-
getSentBy
Get the sentBy- Returns:
- String sentBy
-
setOrganizerUri
Set the organizerUri- Parameters:
val- String organizerUri
-
getOrganizerUri
Get the organizerUri- Returns:
- String organizerUri
-
setDtstamp
- Parameters:
val- datestamp
-
getDtstamp
- Returns:
- String datestamp
-
setScheduleStatus
Set the schedule status- Parameters:
val- schedule status
-
getScheduleStatus
Get the schedule status- Returns:
- String schedule status
-
update
Figure out what's different and update it. This should reduce the number of spurious changes to the db.- Parameters:
from- organizer copy- Returns:
- true if we changed something.
-
getSize
public int getSize()Size to use for quotas.- Specified by:
getSizein interfaceSizedEntity- Returns:
- int
-
differsFrom
Description copied from interface:DifferableReturn true if the entity differs in any way.- Specified by:
differsFromin interfaceDifferable<BwOrganizer>- Returns:
- boolean
-
compareTo
- Specified by:
compareToin interfaceComparable<BwOrganizer>
-
hashCode
public int hashCode() -
equals
-
toString
-
clone
-