Interface IRecordValueDescriptor
-
- All Superinterfaces:
IValueDescriptor<Map<String,?>,IRecordValueBuilder>
,Serializable
public interface IRecordValueDescriptor extends IValueDescriptor<Map<String,?>,IRecordValueBuilder>
AIValueDescriptor
for a record value. Compared with aIMapValueDescriptor
, a record value (a) always only contains a finite set of known properties and cannot have arbitrary properties; and (b) may have a different type for each property.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EValueType
getBaseType()
default Class<?>
getJavaClass()
Map<String,IRecordMember<?,?>>
getRecordValueDescriptors()
-
Methods inherited from interface de.xima.fc.interfaces.workflow.value.IValueDescriptor
acceptsValue, asBoolean, asConst, asFloat, asInteger, asList, asMap, asNull, asRecord, asString, asTuple, asUnion, asVoid, builder, getDefaultValue, getDescription, getFullType, getKnownProperties, is, unwrap
-
-
-
-
Method Detail
-
getBaseType
default EValueType getBaseType()
- Specified by:
getBaseType
in interfaceIValueDescriptor<Map<String,?>,IRecordValueBuilder>
- Returns:
- The basic type of value described by this value descriptor.
-
getJavaClass
default Class<?> getJavaClass()
- Specified by:
getJavaClass
in interfaceIValueDescriptor<Map<String,?>,IRecordValueBuilder>
- Returns:
- The Java class of the values described by this descriptor.
-
getRecordValueDescriptors
Map<String,IRecordMember<?,?>> getRecordValueDescriptors()
- Returns:
- A map of all properties the record may have, mapped to the value descriptor for each property.
-
-