public class CarddavResource extends Object implements Comparable<CarddavResource>, Serializable
| Constructor and Description |
|---|
CarddavResource()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(CarddavResource that) |
CarddavResourceContent |
getContent()
Get the content
|
long |
getContentLength()
Get the length
|
String |
getContentType()
Get the valueType
|
String |
getCreated() |
String |
getEncoding()
Get the encoding
|
String |
getLastmod() |
String |
getName()
Get the name
|
org.bedework.access.AccessPrincipal |
getOwner() |
CarddavCollection |
getParent() |
String |
getPrevLastmod()
Get the resource's previous lastmod - used to allow if none match
|
int |
getPrevSeq()
Get the event's previous seq - used to allow if none match
|
int |
getSequence()
Get the sequence
|
int |
hashCode() |
void |
setContent(CarddavResourceContent val)
Set the content
|
void |
setContentLength(long val)
Set the length
|
void |
setContentType(String val)
Set the contentType - may be null for unknown
|
void |
setCreated(String val) |
void |
setEncoding(String val)
Set the encoding
|
void |
setLastmod(String val) |
void |
setName(String val)
Set the name
|
void |
setOwner(org.bedework.access.AccessPrincipal val) |
void |
setParent(CarddavCollection val) |
void |
setPrevLastmod(String val)
Set the resource's previous lastmod - used to allow if none match
|
void |
setPrevSeq(int val)
Set the event's previous seq - used to allow if none match
|
void |
setSequence(int val)
Set the sequence
|
String |
toString() |
void |
updateLastmod()
Update last mod fields
|
public void setOwner(org.bedework.access.AccessPrincipal val)
val - public org.bedework.access.AccessPrincipal getOwner()
public void setParent(CarddavCollection val)
val - public CarddavCollection getParent()
public void setName(String val)
val - String namepublic String getName()
public void setCreated(String val)
val - public String getCreated()
public void setLastmod(String val)
val - public String getLastmod()
public void setSequence(int val)
val - sequence numberpublic int getSequence()
public void setContentType(String val)
val - String contentTypepublic String getContentType()
public void setEncoding(String val)
val - String encodingpublic String getEncoding()
public void setContentLength(long val)
val - longpublic long getContentLength()
public void updateLastmod()
public void setPrevLastmod(String val)
val - lastmodpublic String getPrevLastmod()
public void setPrevSeq(int val)
val - sequence numberpublic int getPrevSeq()
public void setContent(CarddavResourceContent val)
val - BwResourceContentpublic CarddavResourceContent getContent()
public int compareTo(CarddavResource that)
compareTo in interface Comparable<CarddavResource>Copyright © 2018 Bedework. All rights reserved.