Class DbCardParam
- java.lang.Object
-
- org.bedework.carddav.server.dirHandlers.db.DumpEntity<T>
-
- org.bedework.carddav.server.dirHandlers.db.UnversionedDbentity<DbCardParam>
-
- org.bedework.carddav.server.dirHandlers.db.DbCardParam
-
- All Implemented Interfaces:
Serializable,Comparable<DbCardParam>,org.bedework.util.logging.Logged
public class DbCardParam extends UnversionedDbentity<DbCardParam>
A representation of a vcard property parameter for database persistance in cardDAV. Allows us to index the values for searching- Author:
- douglm
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bedework.carddav.server.dirHandlers.db.DumpEntity
DumpEntity.DumpType
-
-
Constructor Summary
Constructors Constructor Description DbCardParam()Null constructorDbCardParam(String name, String value, DbCardProperty property)Create DbCardProperty
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(DbCardParam that)booleanequals(Object o)StringgetName()Get the nameDbCardPropertygetProperty()StringgetValue()Get the valueinthashCode()voidsetName(String val)Set the namevoidsetProperty(DbCardProperty val)voidsetValue(String val)Set the valueStringtoString()-
Methods inherited from class org.bedework.carddav.server.dirHandlers.db.UnversionedDbentity
clone, getId, setId, toStringSegment, unsaved
-
Methods inherited from class org.bedework.carddav.server.dirHandlers.db.DumpEntity
dump, dump, getLogger, hasDumpValue
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.bedework.util.logging.Logged
audit, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, setLogLevel, trace, trace, warn
-
-
-
-
Constructor Detail
-
DbCardParam
public DbCardParam()
Null constructor
-
DbCardParam
public DbCardParam(String name, String value, DbCardProperty property)
Create DbCardProperty- Parameters:
name-value-property-
-
-
Method Detail
-
setName
public void setName(String val)
Set the name- Parameters:
val- String name
-
getName
public String getName()
Get the name- Returns:
- String name
-
setValue
public void setValue(String val)
Set the value- Parameters:
val- String value
-
getValue
public String getValue()
Get the value- Returns:
- String value
-
setProperty
public void setProperty(DbCardProperty val)
- Parameters:
val-
-
getProperty
public DbCardProperty getProperty()
- Returns:
- card.
-
compareTo
public int compareTo(DbCardParam that)
- Specified by:
compareToin interfaceComparable<DbCardParam>- Overrides:
compareToin classUnversionedDbentity<DbCardParam>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classUnversionedDbentity<DbCardParam>
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classUnversionedDbentity<DbCardParam>
-
-