public String description(){
  StringBuilder sb=new StringBuilder();
  if (isCombo()) {
    int i=0;
    for (    NewComboLeg leg : m_comboLegs) {
      if (i++ > 0) {
        sb.append("/");
      }
      sb.append(leg.toString());
    }
  }
 else {
    sb.append(m_symbol);
    app(sb,m_secType);
    app(sb,m_exchange);
    if (m_exchange != null && m_exchange.equals("SMART") && m_primaryExch != null) {
      app(sb,m_primaryExch);
    }
    app(sb,m_expiry);
    if (m_strike != 0) {
      app(sb,m_strike);
    }
    if (m_right != Right.None) {
      app(sb,m_right);
    }
  }
  return sb.toString();
}

public String description ( ) { StringBuilder sb = new StringBuilder ( ) ; if ( isCombo ( ) ) { int i = 0 ; for ( NewComboLeg leg : m_comboLegs ) { if ( i ++ > 0 ) { sb . append ( "/" ) ; } sb . append ( leg . toString ( ) ) ; } } else { sb . append ( m_symbol ) ; app ( sb , m_secType ) ; app ( sb , m_exchange ) ; if ( m_exchange != null && m_exchange . equals ( "SMART" ) && m_primaryExch != null ) { app ( sb , m_primaryExch ) ; } app ( sb , m_expiry ) ; if ( m_strike != 0 ) { app ( sb , m_strike ) ; } if ( m_right != Right . None ) { app ( sb , m_right ) ; } } return sb . toString ( ) ; }
returns a text description that can be used for display .
