22 #ifndef ctkXnatResource_h
23 #define ctkXnatResource_h
25 #include "ctkXNATCoreExport.h"
30 class ctkXnatResourcePrivate;
47 virtual QString
id()
const;
48 virtual void setId(
const QString &
id);
50 virtual QString
name()
const;
51 virtual void setName(
const QString &name);
72 static const QString
ID;
79 friend class qRestResult;
81 virtual void fetchImpl();
83 virtual void downloadImpl(
const QString&);
virtual QString id() const
Gets the global ID of the object.
void setTags(const QString &tags)
QString label() const
Gets the label of the object.
static const QString CONTENT
static const QString FORMAT
void setLabel(const QString &label)
Sets the label of the object.
void saveImpl(bool overwrite)
void setFormat(const QString &format)
virtual QString name() const
Gets the name of the object.
void setContent(const QString &content)
static const QString TAGS
virtual ~ctkXnatResource()
virtual void setName(const QString &name)
Sets the name of the object.
virtual void setId(const QString &id)
virtual QString resourceUri() const
ctkXnatResource(ctkXnatObject *parent=0, const QString &schemaType=ctkXnatDefaultSchemaTypes::XSI_RESOURCE)
static QString XSI_RESOURCE