Extended data modelling conceptsIt's easy to model with OOMEGA. For example you can use our textual modelling language SDL.
@entity (cid = 1002) class Person
{
@attribute @notnull String firstname;
@attribute @notnull String lastname;
@attribute Address birthPlace;
@association (foreign="children", mult="0..2")
Set<Person> parents;
@association (foreign="parents") Set<Person> children;
@association (foreign="spouse") Person spouse;
public String toString() {
return getName()!=null ? getName() : "<no name>";
}
}
Our modelling concepts are powerful. You can create
Please note that methods are implemented in Java. Anyhow, the implementation can rely on automatically generated getter and setter methods (cp. getName). >> Show next feature>> Back to the feature list |