Package com.ibm.fhir.model.type.code
Class DocumentRelationshipType
- 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.DocumentRelationshipType
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class DocumentRelationshipType extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentRelationshipType.Builderstatic classDocumentRelationshipType.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static DocumentRelationshipTypeAPPENDSAppendsstatic DocumentRelationshipTypeREPLACESReplacesstatic DocumentRelationshipTypeSIGNSSignsstatic DocumentRelationshipTypeTRANSFORMSTransforms
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentRelationshipType.Builderbuilder()static Codecode(String value)Inherited factory method for creating DocumentRelationshipType objects from a passed string value.booleanequals(Object obj)DocumentRelationshipType.ValueSetgetValueAsEnumConstant()inthashCode()static DocumentRelationshipTypeof(DocumentRelationshipType.ValueSet value)Factory method for creating DocumentRelationshipType objects from a passed enum value.static DocumentRelationshipTypeof(String value)Factory method for creating DocumentRelationshipType objects from a passed string value.static Stringstring(String value)Inherited factory method for creating DocumentRelationshipType objects from a passed string value.DocumentRelationshipType.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
-
REPLACES
public static final DocumentRelationshipType REPLACES
ReplacesThis document logically replaces or supersedes the target document.
-
TRANSFORMS
public static final DocumentRelationshipType TRANSFORMS
TransformsThis document was generated by transforming the target document (e.g. format or language conversion).
-
SIGNS
public static final DocumentRelationshipType SIGNS
SignsThis document is a signature of the target document.
-
APPENDS
public static final DocumentRelationshipType APPENDS
AppendsThis document adds additional information to the target document.
-
-
Method Detail
-
getValueAsEnumConstant
public DocumentRelationshipType.ValueSet getValueAsEnumConstant()
-
of
public static DocumentRelationshipType of(DocumentRelationshipType.ValueSet value)
Factory method for creating DocumentRelationshipType objects from a passed enum value.
-
of
public static DocumentRelationshipType of(String value)
Factory method for creating DocumentRelationshipType 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 DocumentRelationshipType 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 DocumentRelationshipType 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 DocumentRelationshipType.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static DocumentRelationshipType.Builder builder()
-
-