Package com.ibm.fhir.model.type.code
Class SlicingRules
- 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.SlicingRules
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class SlicingRules extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSlicingRules.Builderstatic classSlicingRules.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static SlicingRulesCLOSEDClosedstatic SlicingRulesOPENOpenstatic SlicingRulesOPEN_AT_ENDOpen at End
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SlicingRules.Builderbuilder()static Codecode(String value)Inherited factory method for creating SlicingRules objects from a passed string value.booleanequals(Object obj)SlicingRules.ValueSetgetValueAsEnumConstant()inthashCode()static SlicingRulesof(SlicingRules.ValueSet value)Factory method for creating SlicingRules objects from a passed enum value.static SlicingRulesof(String value)Factory method for creating SlicingRules objects from a passed string value.static Stringstring(String value)Inherited factory method for creating SlicingRules objects from a passed string value.SlicingRules.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
-
CLOSED
public static final SlicingRules CLOSED
ClosedNo additional content is allowed other than that described by the slices in this profile.
-
OPEN
public static final SlicingRules OPEN
OpenAdditional content is allowed anywhere in the list.
-
OPEN_AT_END
public static final SlicingRules OPEN_AT_END
Open at EndAdditional content is allowed, but only at the end of the list. Note that using this requires that the slices be ordered, which makes it hard to share uses. This should only be done where absolutely required.
-
-
Method Detail
-
getValueAsEnumConstant
public SlicingRules.ValueSet getValueAsEnumConstant()
-
of
public static SlicingRules of(SlicingRules.ValueSet value)
Factory method for creating SlicingRules objects from a passed enum value.
-
of
public static SlicingRules of(String value)
Factory method for creating SlicingRules 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 SlicingRules 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 SlicingRules 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 SlicingRules.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static SlicingRules.Builder builder()
-
-