Package org.projecthusky.common.model
Class ParticipantRole
java.lang.Object
org.projecthusky.common.model.ParticipantRole
The Class ParticipantRole. This element does not necessarily contain information about a person, but also about an
organization.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new participant role.Instantiates a new participant role. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAddress
(Address address) Adds the address.void
addId
(Identificator id) Adds the id.Gets the addresses.Gets the class code.Gets the id list.getMdht()
Gets the mdht.Gets the playing entity.Gets the telecoms.void
setClassCode
(String classCode) Sets the class code.void
setPlayingEntity
(PlayingEntity playingEntity) Sets the playing entity.void
setTelecoms
(List<Telecom> telecoms) Sets the telecoms.
-
Constructor Details
-
ParticipantRole
public ParticipantRole()Instantiates a new participant role. -
ParticipantRole
Instantiates a new participant role.- Parameters:
mdht
- the mdht
-
-
Method Details
-
addAddress
Adds the address.- Parameters:
address
- the address
-
addId
Adds the id.- Parameters:
id
- the id
-
getAddresses
Gets the addresses.- Returns:
- the addresses
-
getClassCode
Gets the class code.- Returns:
- the class code
-
setClassCode
Sets the class code.- Parameters:
classCode
- the new class code
-
getIdList
Gets the id list.- Returns:
- the id list
-
getMdht
Gets the mdht.- Returns:
- the mdht
-
getPlayingEntity
Gets the playing entity.- Returns:
- the playing entity
-
setPlayingEntity
Sets the playing entity.- Parameters:
playingEntity
- the new playing entity
-
getTelecoms
Gets the telecoms.- Returns:
- Telecoms the telecoms
-
setTelecoms
Sets the telecoms.- Parameters:
telecoms
- the new telecoms
-