Class ModelSupport.ElementInfo
- java.lang.Object
-
- org.linuxforhealth.fhir.model.util.ModelSupport.ElementInfo
-
- Enclosing class:
- ModelSupport
public static final class ModelSupport.ElementInfo extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ElementInfo(java.lang.String name, java.lang.Class<?> type, java.lang.Class<?> declaringType, boolean required, boolean repeating, boolean choice, java.util.Set<java.lang.Class<?>> choiceTypes, boolean reference, java.util.Set<java.lang.String> referenceTypes, Binding binding, boolean isSummary)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Binding
getBinding()
java.util.Set<java.lang.String>
getChoiceElementNames()
java.util.Set<java.lang.Class<?>>
getChoiceTypes()
java.lang.Class<?>
getDeclaringType()
java.lang.String
getName()
java.util.Set<java.lang.String>
getReferenceTypes()
java.lang.Class<?>
getType()
boolean
hasBinding()
boolean
isChoice()
boolean
isDeclaredBy(java.lang.Class<?> type)
boolean
isReference()
boolean
isRepeating()
boolean
isRequired()
boolean
isSummary()
-
-
-
Constructor Detail
-
ElementInfo
ElementInfo(java.lang.String name, java.lang.Class<?> type, java.lang.Class<?> declaringType, boolean required, boolean repeating, boolean choice, java.util.Set<java.lang.Class<?>> choiceTypes, boolean reference, java.util.Set<java.lang.String> referenceTypes, Binding binding, boolean isSummary)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getType
public java.lang.Class<?> getType()
-
getDeclaringType
public java.lang.Class<?> getDeclaringType()
-
isDeclaredBy
public boolean isDeclaredBy(java.lang.Class<?> type)
-
isRequired
public boolean isRequired()
-
isSummary
public boolean isSummary()
-
isRepeating
public boolean isRepeating()
-
isChoice
public boolean isChoice()
-
getChoiceTypes
public java.util.Set<java.lang.Class<?>> getChoiceTypes()
-
isReference
public boolean isReference()
-
getReferenceTypes
public java.util.Set<java.lang.String> getReferenceTypes()
-
getBinding
public Binding getBinding()
-
hasBinding
public boolean hasBinding()
-
getChoiceElementNames
public java.util.Set<java.lang.String> getChoiceElementNames()
-
-