| Class Definition |
The class definition represents the definition of a class. For
example:class Person {
name: String
age: Integer
}With this element type, the operator streams all class definitions in
your Data Model, using the Item<schema.ClassDefinition>. |
| Attribute Definition |
The attribute definition represents the definition of a reusable attribute. For
example:attribute Age : Integer {
@Positive
}With this element type, the operator streams all attribute definitions
in your Data Model, using the
Item<schema.AttributeDefinition>. |
| Attribute |
An attribute represents a class attribute. For
example:class Person {
name: String // <-- a class attribute
age: Integer // <-- another class attribute
}With this element type, the operator streams all annotation definitions
in your Data Model, using the
Item<schema.AnnotationDefintion>. |
| Class definition Annotation and Attribute Annotation |
An annotation represents an annotation instance linked to a class or an
attribute. For example:class Person {
@AnAnnotation // <-- annotation instance linked to a class definition
name: String
age: Integer {
@DefaultValue(value: 12) // <-- annotation instance linked to an attribute
}
}If you choose class definition annotation or
attribute annotation, the operator streams all annotations,
either linked to a class definition or to an attribute in your Data Model, using the
Item<schema.Annotation>. |