00001
00002
00003
00004
00005
00006
00007
00008
00010
00012
00018 #ifndef _seDRMDescription_h
00019 #define _seDRMDescription_h
00020
00021 #include "seDRMBase.h"
00022
00023 namespace sedris {
00024
00030 class seDRMDescription : public seDRMBase
00031 {
00032 public:
00033
00035 seDRMDescription() {}
00036
00038 seDRMDescription( const seObject &other ) : seDRMBase(other) {}
00039
00041 const SE_String& get_abstract() { DRMBASE_RET_FIELDS(Description, abstract); }
00042
00044 void set_abstract( const SE_String &val ) {
00045 DRMBASE_ALLOC_FIELDS;
00046 seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(Description, abstract), val.characters, val.length, val.locale);
00047 }
00048
00050 void set_abstract( const SE_Character *chars, SE_Short_Integer_Unsigned len=0, SE_Locale locale=SE_LOCALE_DEFAULT ) {
00051 DRMBASE_ALLOC_FIELDS;
00052 seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(Description, abstract), chars, len, locale);
00053 }
00054
00056 const SE_String& get_purpose() { DRMBASE_RET_FIELDS(Description, purpose); }
00057
00059 void set_purpose( const SE_String &val ) {
00060 DRMBASE_ALLOC_FIELDS;
00061 seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(Description, purpose), val.characters, val.length, val.locale);
00062 }
00063
00065 void set_purpose( const SE_Character *chars, SE_Short_Integer_Unsigned len=0, SE_Locale locale=SE_LOCALE_DEFAULT ) {
00066 DRMBASE_ALLOC_FIELDS;
00067 seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(Description, purpose), chars, len, locale);
00068 }
00069
00071 SE_Short_Integer_Unsigned get_credit_count() { DRMBASE_RET_FIELDS(Description, credit_count); }
00072
00074 void set_credit_count( SE_Short_Integer_Unsigned val ) { DRMBASE_SET_FIELDS(Description, credit_count, val); }
00075
00077 const SE_String* get_credit() { DRMBASE_RET_FIELDS(Description, credit); }
00078
00080 void set_credit( const SE_String *credit, SE_Short_Integer_Unsigned credit_count ) {
00081 DRMBASE_ALLOC_FIELDS;
00082 set_SE_String(DRMBASE_ACC_FIELDS(Description, credit), DRMBASE_ACC_FIELDS(Description, credit_count), credit, credit_count);
00083 }
00084
00086 const SE_String& get_supplemental_information() { DRMBASE_RET_FIELDS(Description, supplemental_information); }
00087
00089 void set_supplemental_information( const SE_String &val ) {
00090 DRMBASE_ALLOC_FIELDS;
00091 seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(Description, supplemental_information), val.characters, val.length, val.locale);
00092 }
00093
00095 void set_supplemental_information( const SE_Character *chars, SE_Short_Integer_Unsigned len=0, SE_Locale locale=SE_LOCALE_DEFAULT ) {
00096 DRMBASE_ALLOC_FIELDS;
00097 seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(Description, supplemental_information), chars, len, locale);
00098 }
00099
00101 virtual SE_DRM_Class getClassType() const { return SE_DRM_CLS_DESCRIPTION; }
00102
00103 };
00104
00105 }
00106
00107 #endif // _seDRMDescription_h