GBProtocolData Class Reference

Inherits from GBModelBase : NSObject
Conforms to GBObjectDataProviding
Declared in GBProtocolData.h<br />GBProtocolData.m

Overview

Describes a protocol.

Tasks

Initialization & disposal

Protocol data

Other Methods

Class Methods

protocolDataWithName:

Returns autoreleased instance of the protocol data with the given name.

+ (id)protocolDataWithName:(NSString *)name

Parameters

name
The name of the protocol.

Return Value

Returns initialized object.

Discussion

Returns autoreleased instance of the protocol data with the given name.

Exceptions

NSException
Thrown if the given name is nil or empty.

Declared In

GBProtocolData.h
GBProtocolData.m

Instance Methods

description

initWithName:

Initializes the protocol with he given name.

- (id)initWithName:(NSString *)name

Parameters

name
The name of the protocol.

Return Value

Returns initialized object.

Discussion

Initializes the protocol with he given name.

This is the designated initializer.

Exceptions

NSException
Thrown if the given name is nil or empty.

Declared In

GBProtocolData.h
GBProtocolData.m

mergeDataFromObject:

Properties

adoptedProtocols

Protocol's adopted protocols, available via GBAdoptedProtocolsProvider .

@property (readonly) GBAdoptedProtocolsProvider *adoptedProtocols

Discussion

Protocol's adopted protocols, available via GBAdoptedProtocolsProvider .

Declared In

GBProtocolData.h

methods

Protocol's methods, available via GBMethodsProvider .

@property (readonly) GBMethodsProvider *methods

Discussion

Protocol's methods, available via GBMethodsProvider .

Declared In

GBProtocolData.h

nameOfProtocol

The name of the protocol.

@property (readonly) NSString *nameOfProtocol

Discussion

The name of the protocol.

Declared In

GBProtocolData.h