@Override
  public Object getFactor(final String name)
  {
	if ("currencyPair".equals(name))
	{
	  return currencyPair;
	}
	else if ("tenor".equals(name))
	{
	  return tenor;
	}
	else if ("role".equals(name))
	{
	  return role;
	}
	else
	{
	  return null;
	}
  }