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

Representation of the POIType class of the UML Diagram found in: http://www.w3.org/2010/POI/documents/Core/core-20111216.html#poi-data-model. More...

Inheritance diagram for POIType:
POIBaseType POI Category Event PointOfInterest POIS Route Tag ListEvent ListPointOfInterest ListRoute ListTag

Instance Methods

(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 * 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 the POIType class of the UML Diagram found in: http://www.w3.org/2010/POI/documents/Core/core-20111216.html#poi-data-model.

The POIType entity is an abstract entity derived from POIBaseType and adds entities for describing, labeling, categorizing and indicating the time span of a POI or group of POIs. The entity also incudes child entities for linking to other POIs, external web resources or metadata.

Author
Pedro Cruz

Method Documentation

- (void) addCategory: (POITermType *)  category

Adds a category to the POIType.

Parameters
categorythe category to be added.
- (void) addDescription: (POITermType *)  description

Adds a description to the POIType.

Parameters
descriptionthe description to be added.
- (void) addLabel: (POITermType *)  label

Adds a label to the POIType.

Parameters
labelthe label to be added.
- (void) addLink: (POITermType *)  link

Adds a link to the POIType.

Parameters
linkthe link to be added.
- (void) addTime: (POITermType *)  time

Adds a time to the POIType.

Parameters
timethe time to be added.
- (BOOL) hasCategories

Checks if there are categories in the POIType.

Returns
true if there are categories in the POIType, false otherwise
- (BOOL) hasDescriptions

Checks if there are descriptions in the POIType.

Returns
true if there are descriptions in the POIType, false otherwise.
- (BOOL) hasLabels

Checks if there are labels in the POIType.

Returns
true if there are labels in the POIType, false otherwise
- (BOOL) hasLinks

Checks if there are links in the POIType.

Returns
true if there are links in the POIType, false otherwise.
- (BOOL) hasTimes

Checks if there are times in the POIType.

Returns
true if there are times in the POIType, false otherwise.

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