
Package org.hl7.fhir.r4.model
Class Property
java.lang.Object
org.hl7.fhir.r4.model.Property
A child element or property defined by the FHIR specification This class is
 defined as a helper class when iterating the children of an element in a
 generic fashion
 
 At present, iteration is only based on the specification, but this may be
 changed to allow profile based expression at a later date
 
 note: there's no point in creating one of these classes outside this package
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsConstructorDescriptionProperty(String name, String typeCode, String definition, int minCardinality, int maxCardinality, List<? extends Base> values) Internal constructorProperty(String name, String typeCode, String definition, int minCardinality, int maxCardinality, Base value) Internal constructor
- 
Method SummaryModifier and TypeMethodDescriptionintintgetName()booleanbooleanisList()voidsetStructure(StructureDefinition structure) toString()
- 
Constructor Details- 
Propertypublic Property(String name, String typeCode, String definition, int minCardinality, int maxCardinality, Base value) Internal constructor
- 
Propertypublic Property(String name, String typeCode, String definition, int minCardinality, int maxCardinality, List<? extends Base> values) Internal constructor
 
- 
- 
Method Details- 
getName- Returns:
- The name of this property in the FHIR Specification
 
- 
getTypeCode- Returns:
- The stated type in the FHIR specification
 
- 
getDefinition- Returns:
- The definition of this element in the FHIR spec
 
- 
getMinCardinality- Returns:
- the minimum cardinality for this element
 
- 
getMaxCardinality- Returns:
- the maximum cardinality for this element
 
- 
getValues- Returns:
- the actual values - will only be 1 unless maximum cardinality == MAX_INT
 
- 
hasValues
- 
getStructure
- 
setStructure
- 
isList
- 
toString
 
-