Package org.sonatype.nexus.component.model

Examples of org.sonatype.nexus.component.model.Component


      Set<EntityId> assetIds) {
    try {
      C entity = componentEntityAdapter.getEntityClass().newInstance();
      // set type-specific, then base/system-controlled properties
      componentEntityAdapter.populateEntity(componentDocument, entity);
      Component component = (Component) entity;
      component.setId(new EntityId((String) componentDocument.field(P_ID)));
      component.setAssetIds(assetIds);
      return entity;
    }
    catch (Throwable t) {
      throw Throwables.propagate(t);
    }
View Full Code Here

TOP

Related Classes of org.sonatype.nexus.component.model.Component

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.