Exemplo n.º 1
0
 public void markDeleted() {
   if (getFamily() != null) {
     FamilyStepChild link = getFamilyStepChild_family();
     link.getFamily().z_internalRemoveFromFamilyStepChild_stepChild(this.getName(), link);
     link.markDeleted();
   }
   for (SiblingStepSibling link :
       new HashSet<SiblingStepSibling>(getSiblingStepSibling_stepSibling())) {
     link.getStepSibling().z_internalRemoveFromSiblingStepSibling_stepSibling(link);
   }
   if (getStepMother() != null) {
     MotherStepChildren link = getMotherStepChildren_stepMother();
     link.getStepMother().z_internalRemoveFromMotherStepChildren_stepChild(link);
     link.markDeleted();
   }
   if (getFamilyStepChild_family() != null) {
     getFamilyStepChild_family().markDeleted();
   }
   for (SiblingStepSibling child :
       new ArrayList<SiblingStepSibling>(getSiblingStepSibling_stepSibling())) {
     child.markDeleted();
   }
   if (getMotherStepChildren_stepMother() != null) {
     getMotherStepChildren_stepMother().markDeleted();
   }
 }
Exemplo n.º 2
0
 public SiblingStepSibling getSiblingStepSibling_stepSiblingFor(Child match) {
   for (SiblingStepSibling var : getSiblingStepSibling_stepSibling()) {
     if (var.getStepSibling().equals(match)) {
       return var;
     }
   }
   return null;
 }
Exemplo n.º 3
0
 @PropertyMetaInfo(
     constraints = {},
     isComposite = false,
     opaeumId = 4467716398320891669l,
     opposite = "stepSibling",
     uuid = "Structures.uml@_1X1ycY1OEeKgGLBcRSZFfw")
 public Set<Child> getStepSibling() {
   Set result = new HashSet<Child>();
   for (SiblingStepSibling cur : this.getSiblingStepSibling_stepSibling()) {
     result.add(cur.getStepSibling());
   }
   return result;
 }