Class: Projects::Model::Participant

Inherits:
Object
  • Object
show all
Defined in:
lib/projects/model/Participant.rb

Overview

  • This class is used to make an object for Participant.

Instance Method Summary collapse

Instance Method Details

#getParticipantId ⇒ Object

  • Get the participant id.

Returns

  • Participant id.


29
30
31
# File 'lib/projects/model/Participant.rb', line 29

def getParticipantId
	return @participantId
end

#getParticipantPerson ⇒ Object

  • Get the participant name.

Returns

  • Participant name.


49
50
51
# File 'lib/projects/model/Participant.rb', line 49

def getParticipantPerson
	return @participantPerson
end

#setParticipantId(participantId) ⇒ Object

  • Set the participant id.

Parameters

* participantId
  • ID of the participant.


19
20
21
# File 'lib/projects/model/Participant.rb', line 19

def setParticipantId(participantId)
	@participantId = participantId
end

#setParticipantPerson(participantPerson) ⇒ Object

  • Set the participant name.

Parameters

* participantPerson
  • Name of the participant.


39
40
41
# File 'lib/projects/model/Participant.rb', line 39

def setParticipantPerson(participantPerson)
	@participantPerson = participantPerson
end