/* * Copyright (C) 2006 Registro.br. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * 1. Redistribution of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY REGISTRO.BR ``AS IS AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIE OF FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO * EVENT SHALL REGISTRO.BR BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH * DAMAGE. */ /* $Id: Greeting.cpp 105 2006-01-31 16:38:05Z eduardo $ */ #include "config.h" #include "Greeting.H" LIBEPP_NICBR_NS_BEGIN void Greeting::set_svID(const string &svID) { _svID = svID; } void Greeting::set_svDate(const string &svDate) { _svDate = svDate; } void Greeting::set_version(const string &version) { _version.insert(version); } void Greeting::set_lang(const string &lang) { _lang.insert(lang); } void Greeting::set_objURI(const string &objURI) { _objURI.insert(objURI); } void Greeting::set_extURI(const string &extURI) { _extURI.insert(extURI); } void Greeting::set_access(const Greeting::Access &access) { _access = access; } void Greeting::set_purpose(const Greeting::Purpose &purpose) { _purpose.insert(purpose); } void Greeting::set_recipient(const Greeting::Recipient &recipient) { _recipient.insert(recipient); } void Greeting::set_recDesc(const string &recDesc) { _recDesc = recDesc; } void Greeting::set_retention(const Greeting::Retention &retention) { _retention = retention; } void Greeting::set_expiry(const int &type, const string &expiry) { _type_expiry = type; _expiry = expiry; } string Greeting::get_svID() { return _svID; } string Greeting::get_svDate() { return _svDate; } set Greeting::get_version() { return _version; } set Greeting::get_lang() { return _lang; } set Greeting::get_objURI() { return _objURI; } set Greeting::get_extURI() { return _extURI; } Greeting::Access Greeting::get_access() { return _access; } set Greeting::get_purpose() { return _purpose; } set Greeting::get_recipient() { return _recipient; } string Greeting::get_recDesc() { return _recDesc; } Greeting::Retention Greeting::get_retention() { return _retention; } int Greeting::get_type_expiry() { return _type_expiry; } string Greeting::get_expiry() { return _expiry; } LIBEPP_NICBR_NS_END