1 package org.splat.dal.bo.som;
3 * Class whose only purpose is to represent the kernel's Entity class for propagating to this package the visibility of relations
4 * and attributes editing functions.
6 * @author Daniel Brunier-Coulin
7 * @copyright OPEN CASCADE 2012
12 import org.splat.dal.bo.kernel.Persistent;
13 import org.splat.dal.bo.kernel.Relation;
14 import org.splat.kernel.ObjectProperties;
15 import org.splat.kernel.InvalidPropertyException;
16 import org.splat.kernel.MissedPropertyException;
17 import org.splat.kernel.MultiplyDefinedException;
20 public abstract class Entity extends org.splat.dal.bo.kernel.Entity {
22 // ==============================================================================================================================
24 // ==============================================================================================================================
26 // Database fetch constructor
29 // Initialization constructor
30 protected Entity (ObjectProperties prop) throws MissedPropertyException, InvalidPropertyException, MultiplyDefinedException {
31 // ----------------------------------------
35 // ==============================================================================================================================
37 // ==============================================================================================================================
39 public Relation addRelation (Relation link) {
40 // ----------------------------------------------
41 return super.addRelation(link);
44 public Set<Relation> getAllRelations () {
45 // ------------------------------------------
46 return super.getAllRelations();
49 public void removeRelation (Class<? extends Relation> type, Persistent to) {
50 // -----------------------------------------------------------------------------
51 super.removeRelation(type, to);