| 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 |
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 |
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>. |