Record Class ElementMetadata

java.lang.Object
java.lang.Record
dev.getelements.elements.sdk.model.system.ElementMetadata
Record Components:
type - the type of Element
definition - the definition of the Element
services - the services provided by the Element
producedEvents - the events produced by the Element
consumedEvents - the events consumed by the Element
dependencies - the dependencies of the Element
attributes - the attributes of the Element
defaultAttributes - the default attributes of the Element

public record ElementMetadata(ElementType type, ElementDefinitionMetadata definition, List<ElementServiceMetadata> services, List<ElementEventProducerMetadata> producedEvents, List<ElementEventConsumerMetadata> consumedEvents, List<ElementDependencyRecord> dependencies, Map<String,Object> attributes, List<ElementDefaultAttributeRecord> defaultAttributes) extends Record
Record type for the ElementMetadata. This contains a summary of all the metadata in an ElementRecord but only types which can be serialized (no ClassLoaders, etc).