const char DTXMLRPCNameKey;
const char DTXMLRPCParentKey;

@implementation NSArray (DTXMLRPC)

- (void)setDTXMLRPCName:(NSString *)DTXMLRPCName
{
    objc_setAssociatedObject(self, &DTXMLRPCNameKey, DTXMLRPCName, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}

- (NSString *)DTXMLRPCName
{
    return objc_getAssociatedObject(self, &DTXMLRPCNameKey);
}

- (void)setDTXMLRPCParent:(NSArray *)DTXMLRPCParent
{
    objc_setAssociatedObject(self, &DTXMLRPCParentKey, DTXMLRPCParent, OBJC_ASSOCIATION_ASSIGN);
}

- (NSArray *)DTXMLRPCParent
{
    return objc_getAssociatedObject(self, &DTXMLRPCParentKey);
}

@end
