Package org.linuxforhealth.fhir.path
Class ClassInfo
- java.lang.Object
-
- org.linuxforhealth.fhir.path.ClassInfo
-
- All Implemented Interfaces:
TypeInfo
public class ClassInfo extends java.lang.Object implements TypeInfo
This class is part of the implementation for the Types and Reflection section of the FHIRPath specification:- See Also:
- FHIRPath Types and Reflection
-
-
Constructor Summary
Constructors Constructor Description ClassInfo(java.lang.String namespace, java.lang.String name, java.lang.String baseType, java.util.List<ClassInfoElement> element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getBaseType()
The base type of this ClassInfojava.util.List<ClassInfoElement>
getElement()
The list of elements that are part of this ClassInfojava.lang.String
getName()
The name of this TypeInfojava.lang.String
getNamespace()
The namespace of this TypeInfoint
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ClassInfo
public ClassInfo(java.lang.String namespace, java.lang.String name, java.lang.String baseType, java.util.List<ClassInfoElement> element)
-
-
Method Detail
-
getNamespace
public java.lang.String getNamespace()
Description copied from interface:TypeInfo
The namespace of this TypeInfo- Specified by:
getNamespace
in interfaceTypeInfo
- Returns:
- the namespace of this TypeInfo
-
getName
public java.lang.String getName()
Description copied from interface:TypeInfo
The name of this TypeInfo
-
getBaseType
public final java.lang.String getBaseType()
The base type of this ClassInfo- Returns:
- the base type of this ClassInfo
-
getElement
public java.util.List<ClassInfoElement> getElement()
The list of elements that are part of this ClassInfo- Returns:
- the list of elements that are part of this ClassInfo
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-