private static String prettyPrintObject(LzPersistentBaseImpl<? extends GenericPK> object,PrettyPrintOptions options){
  if (options != null && options.getStyle() == ReferenceStyle.NAME) {
    if (options.isExplicitType()) {
      return PrettyPrintConstant.IDENTIFIER_TAG + AnalysisScope.AXIS + ":"+ PrettyPrintConstant.OPEN_IDENT+ object.getName()+ PrettyPrintConstant.CLOSE_IDENT;
    }
 else {
      return PrettyPrintConstant.OPEN_IDENT + object.getName() + PrettyPrintConstant.CLOSE_IDENT;
    }
  }
 else {
    return PrettyPrintConstant.IDENTIFIER_TAG + PrettyPrintConstant.OPEN_IDENT + object.getOid()+ PrettyPrintConstant.CLOSE_IDENT;
  }
}

private static String prettyPrintObject ( LzPersistentBaseImpl < ? extends GenericPK > object , PrettyPrintOptions options ) { if ( options != null && options . getStyle ( ) == ReferenceStyle . NAME ) { if ( options . isExplicitType ( ) ) { return PrettyPrintConstant . IDENTIFIER_TAG + AnalysisScope . AXIS + ":" + PrettyPrintConstant . OPEN_IDENT + object . getName ( ) + PrettyPrintConstant . CLOSE_IDENT ; } else { return PrettyPrintConstant . OPEN_IDENT + object . getName ( ) + PrettyPrintConstant . CLOSE_IDENT ; } } else { return PrettyPrintConstant . IDENTIFIER_TAG + PrettyPrintConstant . OPEN_IDENT + object . getOid ( ) + PrettyPrintConstant . CLOSE_IDENT ; } }
utility method to pretty - print a object id
