Example #1
0
        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);
        }
Example #2
0
        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);
        }