ExhibitionVisitorPreverenceModel

ExhibitionVisitorPreverenceModel

This model represents exactly one visitor preference. It contains a name consisting of the exhibit id and the artwork id so that an assignment is possible at any time, the corresponding tags, the activation time and the time when the user has left the activation zone again.

Constructor

new ExhibitionVisitorPreverenceModel(name, tags)

Source:
Parameters:
Name Type Description
name string

Is created by exhibit id plus artwork id: itemId::elementName

tags Map.<string, number>

Members

(private) completeTime_ :number|undefined

Description:
  • End time will be set when the user has left the activation zone again.

Source:

End time will be set when the user has left the activation zone again.

Type:
  • number | undefined

name :string

Description:
  • Is created by exhibit id plus artwork id: itemId::elementName

Source:

Is created by exhibit id plus artwork id: itemId::elementName

Type:
  • string

(private) startTime_ :number

Description:
  • With creation of the model, when the user enters an activity zone, the start time is also set.

Source:

With creation of the model, when the user enters an activity zone, the start time is also set.

Type:
  • number

tags :Map.<string, number>

Description:
  • List of tags and their value/importance to the user based preferences.

Source:

List of tags and their value/importance to the user based preferences.

Type:
  • Map.<string, number>

time

Description:
  • Getter

Source:

Getter

Methods

complete()

Description:
  • Method is called to set the end/complete time

Source: