FieldDetails

sealed class FieldDetails

Known direct subclasses
AttributeDetails

Metadata pertaining to a trait attribute.

CommandFieldDetails

A parameter belonging to a Command.

EventFieldDetails

A field that belongs to an Event.


Describes a Field with additional details, in addition to information from interface Field.

Summary

Protected constructors

FieldDetails(
    name: String,
    isOptional: Boolean,
    constraint: Constraint?,
    field: Field
)

Public properties

Constraint?
Field
Boolean
String

This property is deprecated. Use field.toString() instead

Protected constructors

FieldDetails

protected FieldDetails(
    name: String,
    isOptional: Boolean,
    constraint: Constraint?,
    field: Field
)

Public properties

constraint

val constraintConstraint?

field

val fieldField

isOptional

val isOptionalBoolean

name

val nameString