00001
00002
00003
00004
00005
00006
00007
00008
00010
00012
00018 #ifndef _seDRMResponsibleParty_h
00019 #define _seDRMResponsibleParty_h
00020
00021 #include "seDRMBase.h"
00022
00023 namespace sedris {
00024
00030 class seDRMResponsibleParty : public seDRMBase
00031 {
00032 public:
00033
00035 seDRMResponsibleParty() {}
00036
00038 seDRMResponsibleParty( const seObject &other ) : seDRMBase(other) {}
00039
00041 const SE_String& get_individual_name() { DRMBASE_RET_FIELDS(Responsible_Party, individual_name); }
00042
00044 void set_individual_name( const SE_String &val ) {
00045 DRMBASE_ALLOC_FIELDS;
00046 seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(Responsible_Party, individual_name), val.characters, val.length, val.locale);
00047 }
00048
00050 void set_individual_name( 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(Responsible_Party, individual_name), chars, len, locale);
00053 }
00054
00056 const SE_String& get_organization_name() { DRMBASE_RET_FIELDS(Responsible_Party, organization_name); }
00057
00059 void set_organization_name( const SE_String &val ) {
00060 DRMBASE_ALLOC_FIELDS;
00061 seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(Responsible_Party, organization_name), val.characters, val.length, val.locale);
00062 }
00063
00065 void set_organization_name( 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(Responsible_Party, organization_name), chars, len, locale);
00068 }
00069
00071 const SE_String& get_position_name() { DRMBASE_RET_FIELDS(Responsible_Party, position_name); }
00072
00074 void set_position_name( const SE_String &val ) {
00075 DRMBASE_ALLOC_FIELDS;
00076 seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(Responsible_Party, position_name), val.characters, val.length, val.locale);
00077 }
00078
00080 void set_position_name( const SE_Character *chars, SE_Short_Integer_Unsigned len=0, SE_Locale locale=SE_LOCALE_DEFAULT ) {
00081 DRMBASE_ALLOC_FIELDS;
00082 seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(Responsible_Party, position_name), chars, len, locale);
00083 }
00084
00086 const SE_Contact_Information& get_contact_information() { DRMBASE_RET_FIELDS(Responsible_Party, contact_information); }
00087
00089 void set_contact_information( const SE_Contact_Information &val ) {
00090 DRMBASE_ALLOC_FIELDS;
00091 set_SE_Contact_Information(DRMBASE_ACC_FIELDS(Responsible_Party, contact_information), val);
00092 }
00093
00095 SE_Responsible_Party_Role_Code get_role() { DRMBASE_RET_FIELDS(Responsible_Party, role); }
00096
00098 void set_role( SE_Responsible_Party_Role_Code val ) { DRMBASE_SET_FIELDS(Responsible_Party, role, val); }
00099
00101 virtual SE_DRM_Class getClassType() const { return SE_DRM_CLS_RESPONSIBLE_PARTY; }
00102
00103 };
00104
00105 }
00106
00107 #endif // _seDRMResponsibleParty_h