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 .