Examples of CPDependency


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
Copyright © 2018 www.massapi.com. 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.