public long getParent_idLongBased() {
   if (CanBeNestedInComponent != null) {
     return CanBeNestedInComponent.getIdLongBased();
   }
   return 0;
 }
 public long getIdLongBased() {
   if (HeldByComponent != null) {
     return HeldByComponent.getIdLongBased();
   }
   return 0;
 }