isPersistent(Type attrType) { ILCustomElement.Iterator cstmIter = getCustomIterator(); // Durchlaufe alle Custom Elements der Klasse for (ILCustomElement cstmElem = cstmIter.getNext(); null != cstmElem; cstmElem = cstmIter.getNext()) { if (cstmElem.isAttribute(attrType)) { return(true); } } return(false); }
isPersistent(Type transientAttribute) { resolve(); // Hole das nächste Element im IL-Quelltext ILCustomElement cusElem = this.getSuccessor() as ILCustomElement; while (null != cusElem) { if (cusElem.isAttribute(transientAttribute)) { return(false); } cusElem = cusElem.getSuccessor() as ILCustomElement; } return(true); }