KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > SOFA > SOFAnode > Made > CDL > CompAttribute


1 /* $Id: CompAttribute.java,v 1.1.1.1 2003/02/11 16:19:40 bures Exp $ */
2 package SOFA.SOFAnode.Made.CDL;
3
4 class CompAttribute extends CompContainedIm {
5   public static final int a_normal = 0;
6   public static final int a_readonly = 1;
7   
8   public int mode;
9   public CompType type;
10
11   public CompAttribute(ID id, CompContainer parent, CompRepository rep, CompType t, int md) {
12     super(ObjectsKind.o_Attribute, id, parent, rep);
13     id.version = ((CompContained)parent).getIdent().version;
14     mode = md;
15     type = t;
16   }
17
18   public void checkConsist(EnumList props, CompRepository rep) throws CDLExceptCheck, CDLExceptLock, CDLExceptRemote {
19     type.checkConsist(props, rep);
20   }
21 }
22
Popular Tags