Package org.olat.ims.cp.objects

Examples of org.olat.ims.cp.objects.CPDependency


    // search for <dependency identifierref="resourceIdentifier" >
    for (Iterator<CPResource> itRes = rootNode.getResources().getResourceIterator(); itRes.hasNext();) {
      CPResource res = itRes.next();
      for (Iterator<CPDependency> itDep = res.getDependencyIterator(); itDep.hasNext();) {
        CPDependency dep = itDep.next();
        if (dep.getIdentifierRef().equals(resourceIdentifier)) return dep;
      }
    }

    return null;
  }
View Full Code Here

TOP

Related Classes of org.olat.ims.cp.objects.CPDependency

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.