예제 #1
0
 protected void updateInternalName() {
   if (name != null) {
     if (clazz != null)
       internalName = "\0" + clazz.getLowerName() + "##" + (caseSensitise ? lowerName : name);
     else if (module != null)
       internalName = "\0" + module.getInternalName() + "##" + (caseSensitise ? lowerName : name);
   }
 }
예제 #2
0
 public boolean isOwned(ClassEntity entity) {
   return clazz != null && clazz.getId() == entity.getId();
 }
예제 #3
0
 public void setClazz(ClassEntity clazz) {
   this.clazz = clazz;
   this.module = clazz == null ? null : clazz.getModule();
   updateInternalName();
 }