Package org.projecthusky.common.model
Class Participant
java.lang.Object
org.projecthusky.common.model.Participant
- Direct Known Subclasses:
ParticipantAt
The Class Participant. E.g. employer and school informational contacts MAY be recorded as participants.
-
Constructor Summary
ConstructorsConstructorDescriptionStandard constructor.Standard constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetMdht()
Returns the underlying element.Gets the ParticipantRole.getTime()
Gets the time as Java Date Object.@Nullable Hl7Dtm
Returns the time as anHl7Dtm
ornull
.@Nullable Instant
Returns the time as anHl7Dtm
ornull
.Gets the ParticipationTypeCode.void
Sets the ParticipantRole.void
Sets the time as Data object.void
setTypeCode
(String typeCode) Sets the type code for this participation.
-
Constructor Details
-
Participant
public Participant()Standard constructor. -
Participant
Standard constructor.- Parameters:
mdht
- the mdht object
-
-
Method Details
-
getMdht
Returns the underlying element.- Returns:
- the mdht element
-
getParticipantRole
Gets the ParticipantRole.- Returns:
- the partcipantRole
-
setParticipantRole
Sets the ParticipantRole.- Parameters:
p
- the participantRole
-
getTimeAsHl7Dtm
Returns the time as anHl7Dtm
ornull
. -
getTimeAsInstant
Returns the time as anHl7Dtm
ornull
. -
getTime
Gets the time as Java Date Object.- Returns:
- the time
-
setTime
Sets the time as Data object.- Parameters:
date
- the date
-
getTypeCode
Gets the ParticipationTypeCode.- Returns:
- the participationTypeCode
-
setTypeCode
Sets the type code for this participation.- Parameters:
typeCode
- the typeCode
-