Menu

JavaAnnotation

Tom Swain

Describing EMF Models with Java Annotation

This page is initially dedicated to defining attributes used with the @model tag.

References

changeable[true]: whether a value can be externally set
containment[false]: the reference has a containment relationship with its owner
derived[false]: the value is computed from other related data
lower(lowerBound)[int >= 0]: lower bound on multiplicity
many[false]: upper bound is unlimited (upperBound = -1)
opposite[]: the opposite reference of the EReference; must belong to the EClass specified by type
ordered[true]: indicates whether order of values in a list is significant
required[false]: if true, lowerBound = 1; otherwise, lowerBound = 0
resolveProxies[false if containment=true; true otherwise]: enables automatic resolution of references across resources
transient[false]: determines whether a reference is omitted from serialization
type[]: used to specify the type of objects in a List
unique[true]: indicates whether all the items in a list must be unique
unsettable[false]: indicates whether a reference can have the state unset
upper(upperBound)[int >0 or =-1]: upper bound on multiplicity
volatile[false]: indicates no storage is associated with the feature


Related

Wiki: Home

MongoDB Logo MongoDB