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 Hl7DtmReturns the time as anHl7Dtmornull.@Nullable InstantReturns the time as anHl7Dtmornull.Gets the ParticipationTypeCode.voidSets the ParticipantRole.voidSets the time as Data object.voidsetTypeCode(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 anHl7Dtmornull. -
getTimeAsInstant
Returns the time as anHl7Dtmornull. -
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
-