public class HDF5CompoundMappingHints
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
HDF5CompoundMappingHints.EnumReturnType |
Constructor and Description |
---|
HDF5CompoundMappingHints() |
Modifier and Type | Method and Description |
---|---|
HDF5CompoundMappingHints |
enumReturnType(HDF5CompoundMappingHints.EnumReturnType enumReturnType)
Sets the return type for enums .
|
HDF5CompoundMappingHints |
enumTypeMapping(java.util.Map<java.lang.String,HDF5EnumerationType> enumTypeMapping)
Replaces the enum type mapping of this hints object.
|
HDF5CompoundMappingHints |
enumTypeMapping(java.lang.String memberName,
HDF5EnumerationType enumType)
Adds an enum type mapping to this hints object.
|
HDF5CompoundMappingHints.EnumReturnType |
getEnumReturnType()
Returns the desired return type for enums.
|
static HDF5CompoundMappingHints.EnumReturnType |
getEnumReturnType(HDF5CompoundMemberMapping mapping)
Returns the desired enumeration return type.
|
boolean |
isUseVariableLengthStrings()
Returns whether variable-length-string types should be used if the length is not set
explicitly.
|
static boolean |
isUseVariableLengthStrings(HDF5CompoundMappingHints hintsOrNull)
Returns whether variable-length-string types should be used if the length is not set
explicitly.
|
void |
setEnumReturnType(HDF5CompoundMappingHints.EnumReturnType enumReturnType)
Sets the desired return type for enums.
|
void |
setUseVariableLengthStrings(boolean useVariableLengthStrings)
Sets whether variable-length-string types should be used if the length is not set explicitly.
|
HDF5EnumerationType |
tryGetEnumType(java.lang.String memberName)
Returns the
HDF5EnumerationType for the given memberName, or
null , if no mapping is available for this member. |
HDF5CompoundMappingHints |
useVariableLengthStrings()
Sets that variable-length-string types should be used if the length is not set explicitly.
|
HDF5CompoundMappingHints |
useVariableLengthStrings(boolean useVariableLengthStrings)
Sets whether variable-length-string types should be used if the length is not set explicitly.
|
public HDF5CompoundMappingHints.EnumReturnType getEnumReturnType()
public void setEnumReturnType(HDF5CompoundMappingHints.EnumReturnType enumReturnType)
public HDF5CompoundMappingHints enumReturnType(HDF5CompoundMappingHints.EnumReturnType enumReturnType)
public HDF5CompoundMappingHints enumTypeMapping(java.lang.String memberName, HDF5EnumerationType enumType)
public HDF5CompoundMappingHints enumTypeMapping(java.util.Map<java.lang.String,HDF5EnumerationType> enumTypeMapping)
public HDF5EnumerationType tryGetEnumType(java.lang.String memberName)
HDF5EnumerationType
for the given memberName, or
null
, if no mapping is available for this member.public static HDF5CompoundMappingHints.EnumReturnType getEnumReturnType(HDF5CompoundMemberMapping mapping)
public static boolean isUseVariableLengthStrings(HDF5CompoundMappingHints hintsOrNull)
public boolean isUseVariableLengthStrings()
public void setUseVariableLengthStrings(boolean useVariableLengthStrings)
public HDF5CompoundMappingHints useVariableLengthStrings()
public HDF5CompoundMappingHints useVariableLengthStrings(boolean useVariableLengthStrings)