Java Runtime 3.0.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
alfa.rt.TypeDescriptor Interface Reference

Inherited by alfa.rt.utils.DefaultTypeDescriptor.

Public Member Functions

< T extends AlfaObject > Optional< BiConsumer< T, DataConsumer > > getFieldSupplier (String fieldName)
 
Optional< Map< String, Expression > > getAnnotations ()
 
Optional< BiConsumer< Builder, DataSupplier > > getFieldConsumer (String fieldName)
 
< T extends AlfaObject > java.util.Map< String, FieldMeta< T > > getAllFieldsMeta ()
 
List< String > getAllFieldNames ()
 
alfa.rt.model.UdtDataType getUdtDataType ()
 
Optional< TypeDescriptorgetEntityKeyModel ()
 
boolean hasAbstractTypeFieldsInClosure ()
 
boolean convertableToBuilder ()
 
boolean hasBuilder ()
 
Optional< String > getFieldContainingNestedUnionField (String name)
 
Builder newBuilder ()
 
Builder newBuilder (IBuilderConfig cc)
 
default String fieldIdName (int id)
 
java.util.Set< String > getImmediateDescendants ()
 
java.util.Set< String > getAllDescendants ()
 
List< String > getFieldAssignableToTypeName (String toFullyQualifiedName)
 
java.util.Map< java.lang.String, alfa.rt.model.Assert > getAsserts ()
 
default Set< ModifierType > getModifiers ()
 
default String getChecksum ()
 

Detailed Description

This class contains metadata and utilities that aide generic algorithms to be applied to process data for the class this descriptor is representing. For internal use by the encoder/decoder and other utilities.

Member Function Documentation

◆ convertableToBuilder()

boolean alfa.rt.TypeDescriptor.convertableToBuilder ( )

Does the object support toBuilder() to create a mutable $Builder object instance from an immutable concrete instance

Returns

◆ getAllFieldsMeta()

< T extends AlfaObject > java.util.Map< String, FieldMeta< T > > alfa.rt.TypeDescriptor.getAllFieldsMeta ( )

For internal use by the encoder/decoder classes

◆ getEntityKeyModel()

Optional< TypeDescriptor > alfa.rt.TypeDescriptor.getEntityKeyModel ( )

For internal use by the encoder/decoder classes

◆ getFieldConsumer()

Optional< BiConsumer< Builder, DataSupplier > > alfa.rt.TypeDescriptor.getFieldConsumer ( String fieldName)

For internal use by the encoder/decoder classes

◆ getFieldContainingNestedUnionField()

Optional< String > alfa.rt.TypeDescriptor.getFieldContainingNestedUnionField ( String name)

Which field whos type is a union, contains a field by the given name

Parameters
nametarget union field
Returns

◆ getFieldSupplier()

< T extends AlfaObject > Optional< BiConsumer< T, DataConsumer > > alfa.rt.TypeDescriptor.getFieldSupplier ( String fieldName)

For internal use by the encoder/decoder classes

◆ getUdtDataType()

alfa.rt.model.UdtDataType alfa.rt.TypeDescriptor.getUdtDataType ( )

For internal use by the encoder/decoder classes

◆ hasAbstractTypeFieldsInClosure()

boolean alfa.rt.TypeDescriptor.hasAbstractTypeFieldsInClosure ( )

For internal use by the encoder/decoder classes

◆ hasBuilder()

boolean alfa.rt.TypeDescriptor.hasBuilder ( )

For internal use by the encoder/decoder classes

◆ newBuilder() [1/2]

Builder alfa.rt.TypeDescriptor.newBuilder ( )

For internal use by the encoder/decoder classes

◆ newBuilder() [2/2]

Builder alfa.rt.TypeDescriptor.newBuilder ( IBuilderConfig cc)

For internal use by the encoder/decoder classes


The documentation for this interface was generated from the following file: