CitySDK iOS Library
 All Classes Functions Variables Enumerations Enumerator Properties
Instance Methods | Properties | List of all members
Tag Class Reference

Representation of a Tag object. More...

Inheritance diagram for Tag:
POI POIType <Deserializable> POIBaseType

Instance Methods

(void) - addTag:
 Adds a Tag value. More...
 
(Tag *) - getTag:
 Gets the Tag in index i. More...
 
(int) - getNumTags
 Gets the number of Tag values. More...
 
- Instance Methods inherited from POI
(BOOL) - hasAdddress
 Checks whether the POI has an address associated. More...
 
- Instance Methods inherited from POIType
(void) - addLabel:
 Adds a label to the POIType. More...
 
(void) - addDescription:
 Adds a description to the POIType. More...
 
(void) - addCategory:
 Adds a category to the POIType. More...
 
(void) - addTime:
 Adds a time to the POIType. More...
 
(void) - addLink:
 Adds a link to the POIType. More...
 
(BOOL) - hasLabels
 Checks if there are labels in the POIType. More...
 
(BOOL) - hasDescriptions
 Checks if there are descriptions in the POIType. More...
 
(BOOL) - hasCategories
 Checks if there are categories in the POIType. More...
 
(BOOL) - hasTimes
 Checks if there are times in the POIType. More...
 
(BOOL) - hasLinks
 Checks if there are links in the POIType. More...
 

Properties

NSMutableArray * tags
 Gets all the tags. More...
 
- Properties inherited from POI
Locationlocation
 
- Properties inherited from POIType
NSMutableArray * label
 a human-readable name. Multiple names are used for synonyms and multiple languages
 
NSMutableArray * poiDescription
 a human-readable description that can be discriminated with the language attribute
 
NSMutableArray * category
 a categorical classification
 
NSMutableArray * time
 a fixed time or sequence of times using iCalendar
 
NSMutableArray * link
 a link to another POI or web resource
 
- Properties inherited from POIBaseType
NSString * baseID
 a unique identifier for this POI. Can be a URI fragment
 
NSString * value
 the information content
 
NSString * href
 an absolute reference to the content type
 
NSString * type
 MIME type.
 
NSString * lang
 language type
 
NSString * base
 base URI
 
NSDate * created
 time at which this POIBaseType was created
 
NSDate * updated
 time at which this POIBaseType was updated
 
NSDate * deleted
 time at which this POIBaseType was deleted
 
POITermTypeauthor
 the author of this POIBaseType
 
POITermTypelicense
 the license restrictions of this information
 

Detailed Description

Representation of a Tag object.

A Tag is used to characterize PointOfInterest, Event or Route.

Author
Pedro Cruz

Method Documentation

- (void) addTag: (Tag *)  tag

Adds a Tag value.

Parameters
tagTag value to be added
- (int) getNumTags

Gets the number of Tag values.

Returns
the total number of Tag values
- (Tag *) getTag: (int)  i

Gets the Tag in index i.

Parameters
ithe Tag index
Returns
the Tag at index i or null

Property Documentation

- (NSMutableArray *) tags
readatomicretain

Gets all the tags.

Returns
a list of Tag values

The documentation for this class was generated from the following files: