private static String getDocumentName(final DocumentStatusContainer document) {
		if ("prop".equalsIgnoreCase(document.getDocument().getDocumentType())) {
			return "Proposition";
		} else if (document.getDocument().getSubType() != null && document.getDocument().getSubType().length() > "motion".length()) {
			return document.getDocument().getSubType();
		} else {
			return "Motion";
		}
		
	}
private static String getDocumentName(final DocumentStatusContainer document) {
		if ("prop".equalsIgnoreCase(document.getDocument().getDocumentType())) {
			return "Proposition";
		} else if (document.getDocument().getSubType() != null && document.getDocument().getSubType().length() > "motion".length()) {
			return document.getDocument().getSubType();
		} else {
			return "Motion";
		}
		
	}
private static String getDocumentName ( final DocumentStatusContainer document ) { if ( "prop" . equalsIgnoreCase ( document . getDocument ( ) . getDocumentType ( ) ) ) { return "Proposition" ; } else if ( document . getDocument ( ) . getSubType ( ) != null && document . getDocument ( ) . getSubType ( ) . length ( ) > "motion" . length ( ) ) { return document . getDocument ( ) . getSubType ( ) ; } else { return "Motion" ; } }
Gets the document name.

@param document
the document
@return the document name
Gets the document name .