Package org.bedework.calfacade
Class BwAttachment
java.lang.Object
- All Implemented Interfaces:
Serializable,Comparable<BwAttachment>,org.bedework.util.logging.Logged
Represent an attachment.
- 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()Make visibleintcompareTo(BwAttachment that) voidcopyTo(BwAttachment val) Copy this objects values into the parameterGet the encodingGet the fmttypegetUri()Get the urigetValue()Get the valueGet the valueTypeinthashCode()voidsetEncoding(String val) Set the encodingvoidsetFmtType(String val) Set the fmttypevoidSet the urivoidSet the valuevoidsetValueType(String val) Set the valueTypetoString()Methods 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
equals, getHref, getId, markUnsaved, setHref, setId, toStringSegment, unsavedMethods 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
-
BwAttachment
public BwAttachment()Constructor
-
-
Method Details
-
setFmtType
Set the fmttype- Parameters:
val- String fmttype
-
getFmtType
Get the fmttype- Returns:
- String fmttype
-
setValueType
Set the valueType- Parameters:
val- String valueType
-
getValueType
Get the valueType- Returns:
- String valueType
-
setEncoding
Set the encoding- Parameters:
val- String encoding
-
getEncoding
Get the encoding- Returns:
- String encoding
-
setUri
Set the uri- Parameters:
val- String uri
-
getUri
Get the uri- Returns:
- String uri
-
setValue
Set the value- Parameters:
val- String value
-
getValue
Get the value- Returns:
- String value
-
copyTo
Copy this objects values into the parameter- Parameters:
val- to be updated
-
hashCode
public int hashCode()- Overrides:
hashCodein classBwUnversionedDbentity<BwAttachment>
-
compareTo
- Specified by:
compareToin interfaceComparable<BwAttachment>- Overrides:
compareToin classBwUnversionedDbentity<BwAttachment>
-
toString
-
clone
Description copied from class:BwUnversionedDbentityMake visible- Overrides:
clonein classBwUnversionedDbentity<BwAttachment>- Returns:
- Object of class T
-