Header

@Entity
class Header(var dataID: Long? = null, elements: MutableList<HeaderElement> = LinkedList(), var instance: Instance? = null)

The Header contains the information which IObjects of an Instance are accessible from the outside, i.e., which objects can be targeted by AssociationRelations. A Header only exists in Fragments carrying an Instance. The individual objects are defined as HeaderElements. The Composition defines if an object is publicly visible or not (non-composition objects are always public). As soon as a IObject is created that is public according to its type, it is added as a HeaderElement

See also

Constructors

Link copied to clipboard
constructor()
constructor(dataID: Long? = null, elements: MutableList<HeaderElement> = LinkedList(), instance: Instance? = null)

Properties

Link copied to clipboard
var dataID: Long?

Technical database (JPA) identifier used for relation joins. The dataID is system specific and not exported to XML. It must not be used to identify elements in distributed use-cases. It should not be used to identify elements from outside the service. All model elements provide other suitable identifiers to be used.

Link copied to clipboard

Backlink for faster traversal

Functions

Link copied to clipboard
Link copied to clipboard
fun addElement(headerElement: HeaderElement)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun removeElement(headerElement: HeaderElement)