citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/dataseriesfactory/impl/DecisionDataFactoryImpl.java
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