public String toShortString(){
  StringBuilder sb=new StringBuilder();
  if (xRoadInstance != null) {
    sb.append(xRoadInstance);
  }
  for (  String part : getFieldsForStringFormat()) {
    if (part != null) {
      if (sb.length() > 0) {
        sb.append('/');
      }
      sb.append(part);
    }
  }
  return sb.toString();
}

public String toShortString ( ) { StringBuilder sb = new StringBuilder ( ) ; if ( xRoadInstance != null ) { sb . append ( xRoadInstance ) ; } for ( String part : getFieldsForStringFormat ( ) ) { if ( part != null ) { if ( sb . length ( ) > 0 ) { sb . append ( '/' ) ; } sb . append ( part ) ; } } return sb . toString ( ) ; }
returns short string representation of the identifier that is more suitable for user interface usage than output of the tostring ( ) method .
