Examples of SecurityLink


Examples of com.opengamma.core.security.SecurityLink

  }

  @Override
  public Security getSecurity() {
    final Security security = getUnderlying().getSecurity();
    final SecurityLink link = getSecurityLink();
    if ((link.getExternalId() != null) && !link.getExternalId().isEmpty()) {
      log(new ComputationTargetRequirement(ComputationTargetType.SECURITY, link.getExternalId()), security.getUniqueId());
    }
    if (link.getObjectId() != null) {
      log(ComputationTargetType.SECURITY, security);
    }
    return security;
  }
View Full Code Here

Examples of com.opengamma.core.security.SecurityLink

  @Override
  public Security getSecurity() {
    final Security security = getUnderlying().getSecurity();
    if (security != null) {
      final SecurityLink link = getSecurityLink();
      if ((link.getExternalId() != null) && !link.getExternalId().isEmpty()) {
        log(new ComputationTargetRequirement(ComputationTargetType.SECURITY, link.getExternalId()), security.getUniqueId());
      }
      if (link.getObjectId() != null) {
        log(ComputationTargetType.SECURITY, security);
      }
    }
    return security;
  }
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.