Package com.ibm.fhir.model.type.code
Class PropertyRepresentation
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.PropertyRepresentation
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class PropertyRepresentation extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPropertyRepresentation.Builderstatic classPropertyRepresentation.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static PropertyRepresentationCDA_TEXTCDA Text Formatstatic PropertyRepresentationTYPE_ATTRType Attributestatic PropertyRepresentationXHTMLXHTMLstatic PropertyRepresentationXML_ATTRXML Attributestatic PropertyRepresentationXML_TEXTXML Text
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PropertyRepresentation.Builderbuilder()static Codecode(String value)Inherited factory method for creating PropertyRepresentation objects from a passed string value.booleanequals(Object obj)PropertyRepresentation.ValueSetgetValueAsEnumConstant()inthashCode()static PropertyRepresentationof(PropertyRepresentation.ValueSet value)Factory method for creating PropertyRepresentation objects from a passed enum value.static PropertyRepresentationof(String value)Factory method for creating PropertyRepresentation objects from a passed string value.static Stringstring(String value)Inherited factory method for creating PropertyRepresentation objects from a passed string value.PropertyRepresentation.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
XML_ATTR
public static final PropertyRepresentation XML_ATTR
XML AttributeIn XML, this property is represented as an attribute not an element.
-
XML_TEXT
public static final PropertyRepresentation XML_TEXT
XML TextThis element is represented using the XML text attribute (primitives only).
-
TYPE_ATTR
public static final PropertyRepresentation TYPE_ATTR
Type AttributeThe type of this element is indicated using xsi:type.
-
CDA_TEXT
public static final PropertyRepresentation CDA_TEXT
CDA Text FormatUse CDA narrative instead of XHTML.
-
XHTML
public static final PropertyRepresentation XHTML
XHTMLThe property is represented using XHTML.
-
-
Method Detail
-
getValueAsEnumConstant
public PropertyRepresentation.ValueSet getValueAsEnumConstant()
-
of
public static PropertyRepresentation of(PropertyRepresentation.ValueSet value)
Factory method for creating PropertyRepresentation objects from a passed enum value.
-
of
public static PropertyRepresentation of(String value)
Factory method for creating PropertyRepresentation objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
string
public static String string(String value)
Inherited factory method for creating PropertyRepresentation objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
code
public static Code code(String value)
Inherited factory method for creating PropertyRepresentation objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
toBuilder
public PropertyRepresentation.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static PropertyRepresentation.Builder builder()
-
-