1 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 |