public class Contributor extends Type implements ICompositeType
| Modifier and Type | Class and Description |
|---|---|
static class |
Contributor.ContributorType |
static class |
Contributor.ContributorTypeEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected List<ContactDetail> |
contact
Contact details to assist a user in finding and communicating with the contributor.
|
protected StringType |
name
The name of the individual or organization responsible for the contribution.
|
protected Enumeration<Contributor.ContributorType> |
type
The type of contributor.
|
| Constructor and Description |
|---|
Contributor()
Constructor
|
Contributor(Enumeration<Contributor.ContributorType> type,
StringType name)
Constructor
|
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected Enumeration<Contributor.ContributorType> type
protected StringType name
protected List<ContactDetail> contact
public Contributor()
public Contributor(Enumeration<Contributor.ContributorType> type, StringType name)
public Enumeration<Contributor.ContributorType> getTypeElement()
type (The type of contributor.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic boolean hasTypeElement()
public boolean hasType()
public Contributor setTypeElement(Enumeration<Contributor.ContributorType> value)
value - type (The type of contributor.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic Contributor.ContributorType getType()
public Contributor setType(Contributor.ContributorType value)
value - The type of contributor.public StringType getNameElement()
name (The name of the individual or organization responsible for the contribution.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic boolean hasNameElement()
public boolean hasName()
public Contributor setNameElement(StringType value)
value - name (The name of the individual or organization responsible for the contribution.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic String getName()
public Contributor setName(String value)
value - The name of the individual or organization responsible for the contribution.public List<ContactDetail> getContact()
contact (Contact details to assist a user in finding and communicating with the contributor.)public Contributor setContact(List<ContactDetail> theContact)
this for easy method chainingpublic boolean hasContact()
public ContactDetail addContact()
public Contributor addContact(ContactDetail t)
public ContactDetail getContactFirstRep()
contact, creating it if it does not already existprotected void listChildren(List<Property> childrenList)
listChildren in class Elementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class ElementFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class ElementFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class ElementFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class ElementFHIRExceptionpublic Contributor copy()
protected Contributor typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2017 University Health Network. All rights reserved.