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(); } }
public SiblingStepSibling getSiblingStepSibling_stepSiblingFor(Child match) { for (SiblingStepSibling var : getSiblingStepSibling_stepSibling()) { if (var.getStepSibling().equals(match)) { return var; } } return null; }
@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; }