class SimplePosition extends DirectBean implements Position, MutableUniqueIdentifiable, Serializable {

  @Override
  public void setUniqueId(UniqueId uniqueId) {
    JodaBeanUtils.notNull(uniqueId, "uniqueId");
    this._uniqueId = uniqueId;
  }

  public  SimplePosition();
  public  SimplePosition(BigDecimal quantity, ExternalId securityKey);
  public  SimplePosition(BigDecimal quantity, ExternalIdBundle securityKey);
  public  SimplePosition(UniqueId uniqueId, BigDecimal quantity, ExternalId securityKey);
  public  SimplePosition(UniqueId uniqueId, BigDecimal quantity, ExternalIdBundle securityKey);
  public  SimplePosition(UniqueId uniqueId, BigDecimal quantity, Security security);
  public  SimplePosition(final Position copyFrom);

}