1
/* $Id: wsa_relates_to.i,v 1.0 2005/10/14 15:17:55 fpeters Exp $
3
* Lasso - A free implementation of the Liberty Alliance specifications.
5
* Copyright (C) 2004-2007 Entr'ouvert
6
* http://lasso.entrouvert.org
8
* Authors: See AUTHORS file in top-level directory.
10
* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version.
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU General Public License for more details.
20
* You should have received a copy of the GNU General Public License
21
* along with this program; if not, write to the Free Software
22
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
%rename(WsAddrRelatesTo) LassoWsAddrRelatesTo;
31
%rename(relationshipType) RelationshipType;
33
char *RelationshipType;
34
} LassoWsAddrRelatesTo;
35
%extend LassoWsAddrRelatesTo {
38
%immutable attributes;
39
%newobject attributes_get;
40
LassoStringDict *attributes;
42
/* Constructor, Destructor & Static Methods */
43
LassoWsAddrRelatesTo();
44
~LassoWsAddrRelatesTo();
46
/* Method inherited from LassoNode */
54
LassoStringDict* LassoWsAddrRelatesTo_attributes_get(LassoWsAddrRelatesTo *self);
55
#define LassoWsAddrRelatesTo_get_attributes LassoWsAddrRelatesTo_attributes_get
56
LassoStringDict* LassoWsAddrRelatesTo_attributes_get(LassoWsAddrRelatesTo *self) {
57
return self->attributes;
59
/* TODO: implement attributes_set */
62
/* Constructors, destructors & static methods implementations */
64
#define new_LassoWsAddrRelatesTo lasso_wsa_relates_to_new
65
#define delete_LassoWsAddrRelatesTo(self) lasso_node_destroy(LASSO_NODE(self))
67
/* Implementations of methods inherited from LassoNode */
69
#define LassoWsAddrRelatesTo_dump(self) lasso_node_dump(LASSO_NODE(self))