String nsn = null; if (asset == null) { return null; } else { TypeIdentificationPG tip = asset.getTypeIdentificationPG(); if (tip!= null) { return tip.getTypeIdentification(); }else { GLMDebug.ERROR("AssetUtils",null,"asset: "+asset+" has null getTypeIdentificationPG()"); return null; } }
if (asset == null) { return null; } else { TypeIdentificationPG tip = asset.getTypeIdentificationPG(); if (tip != null) { return tip.getTypeIdentification(); } else { if (logger.isErrorEnabled()) { logger.error("asset: " + asset + " has null getTypeIdentificationPG()"); } return null; }
    public static String getAssetIdentifier(Asset asset) {	String nsn = null;	if (asset == null) {	    return null;	} else {	    TypeIdentificationPG tip = asset.getTypeIdentificationPG();	    if (tip!= null) {		return tip.getTypeIdentification();	    }else {		GLMDebug.ERROR("AssetUtils",null,"asset: "+asset+" has null getTypeIdentificationPG()");		return null;	    }	}    }