
Package org.hl7.fhir.dstu2.model
Class Meta
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.Element
org.hl7.fhir.dstu2.model.Type
org.hl7.fhir.dstu2.model.Meta
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseDatatype,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseMetaType,org.hl7.fhir.instance.model.api.ICompositeType
The metadata about a resource. This is content in the resource that is
maintained by the infrastructure. Changes to the content may not always be
associated with version changes to the resource.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected InstantTypeWhen the resource last changed - e.g. when the version changed.A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to.Security labels applied to this resource.Tags applied to this resource.protected IdTypeThe version specific identifier, as it appears in the version portion of the URL. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddProfile(String value) addTag()copy()booleanequalsDeep(Base other) booleanequalsShallow(Base other) fhirType()getSecurity(String theSystem, String theCode) Returns the first security label (if any) that has the given system and code, or returnsnullif nonegetTag()Returns the first tag (if any) that has the given system and code, or returnsnullif nonebooleanbooleanbooleanbooleanhasProfile(String value) booleanbooleanhasTag()booleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> childrenList) setLastUpdated(Date value) setLastUpdatedElement(InstantType value) voidsetProperty(String name, Base value) setVersionId(String value) setVersionIdElement(IdType value) protected MetaMethods inherited from class org.hl7.fhir.dstu2.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementMethods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINNMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
Field Details
-
versionId
The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted. -
lastUpdated
When the resource last changed - e.g. when the version changed. -
profile
A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]]. -
security
Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure. -
tag
Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.
-
-
Constructor Details
-
Meta
public Meta()
-
-
Method Details
-
getVersionIdElement
- Returns:
versionId(The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted.). This is the underlying object with id, value and extensions. The accessor "getVersionId" gives direct access to the value
-
hasVersionIdElement
-
hasVersionId
-
setVersionIdElement
- Parameters:
value-versionId(The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted.). This is the underlying object with id, value and extensions. The accessor "getVersionId" gives direct access to the value
-
getVersionId
- Specified by:
getVersionIdin interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType- Returns:
- The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted.
-
setVersionId
- Specified by:
setVersionIdin interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType- Parameters:
value- The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted.
-
getLastUpdatedElement
- Returns:
lastUpdated(When the resource last changed - e.g. when the version changed.). This is the underlying object with id, value and extensions. The accessor "getLastUpdated" gives direct access to the value
-
hasLastUpdatedElement
-
hasLastUpdated
-
setLastUpdatedElement
- Parameters:
value-lastUpdated(When the resource last changed - e.g. when the version changed.). This is the underlying object with id, value and extensions. The accessor "getLastUpdated" gives direct access to the value
-
getLastUpdated
- Specified by:
getLastUpdatedin interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType- Returns:
- When the resource last changed - e.g. when the version changed.
-
setLastUpdated
- Specified by:
setLastUpdatedin interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType- Parameters:
value- When the resource last changed - e.g. when the version changed.
-
getProfile
- Specified by:
getProfilein interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType- Returns:
profile(A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]].)
-
hasProfile
-
addProfileElement
- Returns:
profile(A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]].)
-
addProfile
- Specified by:
addProfilein interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType- Parameters:
value-profile(A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]].)
-
hasProfile
- Parameters:
value-profile(A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]].)
-
getSecurity
- Specified by:
getSecurityin interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType- Returns:
security(Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.)
-
getSecurity
Returns the first security label (if any) that has the given system and code, or returnsnullif none- Specified by:
getSecurityin interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
-
hasSecurity
-
addSecurity
- Specified by:
addSecurityin interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType- Returns:
security(Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.)
-
addSecurity
-
getTag
- Specified by:
getTagin interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType- Returns:
tag(Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.)
-
getTag
Returns the first tag (if any) that has the given system and code, or returnsnullif none- Specified by:
getTagin interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType
-
hasTag
-
addTag
- Specified by:
addTagin interfaceorg.hl7.fhir.instance.model.api.IBaseMetaType- Returns:
tag(Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.)
-
addTag
-
listChildren
- Overrides:
listChildrenin classElement
-
setProperty
- Overrides:
setPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
fhirType
-
copy
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classElement
-
equalsShallow
- Overrides:
equalsShallowin classElement
-
isEmpty
-