Salome HOME
7902b426111834f166f45f372421efb82b59b10d
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / dal / bo / kernel / Attribute.java
1 package org.splat.dal.bo.kernel;
2 /**
3  * 
4  * @see Any
5  * @author    Daniel Brunier-Coulin
6  * @copyright OPEN CASCADE 2012-2014
7  */
8
9
10 public abstract class Attribute extends Persistent {
11
12     protected  Any owner;
13
14 //  ==============================================================================================================================
15 //  Constructors
16 //  ==============================================================================================================================
17
18 //  Database fetch constructor.
19     public Attribute () {
20     }
21 //  Initialization constructor
22     protected Attribute (Any from) {
23 //  ------------------------------
24       this.owner = from;
25     }
26
27 //  ==============================================================================================================================
28 //  Public member functions
29 //  ==============================================================================================================================
30
31     public Persistent getFrom () {
32 //  ----------------------------
33       return owner;
34     }
35 }