67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
return [OFString stringWithFormat: @"<XMPPRosterItem, JID=%@, name=%@, "
@"subscription=%@, groups=%@>",
_JID, _name, _subscription, _groups];
}
- (void)setJID: (XMPPJID*)JID
{
OF_SETTER(_JID, JID, YES, YES)
}
- (XMPPJID*)JID
{
OF_GETTER(_JID, YES)
}
- (void)setName: (OFString*)name
{
OF_SETTER(_name, name, YES, YES)
}
- (OFString*)name
{
OF_GETTER(_name, YES)
}
- (void)setSubscription: (OFString*)subscription
{
OF_SETTER(_subscription, subscription, YES, YES)
}
- (OFString*)subscription
{
OF_GETTER(_subscription, YES)
}
- (void)setGroups: (OFArray*)groups
{
OF_SETTER(_groups, groups, YES, YES)
}
- (OFArray*)groups
{
OF_GETTER(_groups, YES)
}
@end
|
|
|
|
|
|
|
|
|
|
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
return [OFString stringWithFormat: @"<XMPPRosterItem, JID=%@, name=%@, "
@"subscription=%@, groups=%@>",
_JID, _name, _subscription, _groups];
}
- (void)setJID: (XMPPJID*)JID
{
OF_SETTER(_JID, JID, true, 1)
}
- (XMPPJID*)JID
{
OF_GETTER(_JID, true)
}
- (void)setName: (OFString*)name
{
OF_SETTER(_name, name, true, 1)
}
- (OFString*)name
{
OF_GETTER(_name, true)
}
- (void)setSubscription: (OFString*)subscription
{
OF_SETTER(_subscription, subscription, true, 1)
}
- (OFString*)subscription
{
OF_GETTER(_subscription, true)
}
- (void)setGroups: (OFArray*)groups
{
OF_SETTER(_groups, groups, true, 1)
}
- (OFArray*)groups
{
OF_GETTER(_groups, true)
}
@end
|