public Classification codeOf(String classificationName, String code) {
        assertArgumentNotNull("elementName", classificationName);
        assertArgumentNotNull("code", code);
        return findClassificationMeta(classificationName, () -> {
            return "codeOf('" + classificationName + "', '" + code + "')";
        }).codeOf(code);
    }
public Classification codeOf ( String classificationName , String code ) { assertArgumentNotNull ( "elementName" , classificationName ) ; assertArgumentNotNull ( "code" , code ) ; return findClassificationMeta ( classificationName , ( ) -> { return "codeOf('" + classificationName + "', '" + code + "')" ; } ) . codeOf ( code ) ; }
Get classification by code.
@param classificationName The name of classification. (NotNull)
@param code The code of classification to find. (NotNull)
@return The found instance of classification for the code. (NotNull: if not found, throws exception)